Memcached’s Windows platform installation package is not available on the official website. We can download it using the following link. You need to click on the corresponding link to download according to your system platform and the version number you need:
32-bit system version 1.2.5: http://static.runoob.com/download/memcached-1.2.5-win32-bin.zip
32-bit system version 1.2.6: http://static.runoob.com/download/memcached-1.2.6-win32-bin.zip
32-bit system version 1.4.4: http://static.runoob.com/download/memcached-win32-1.4.4-14.zip
64-bit system version 1.4.4: http://static.runoob.com/download/memcached-win64-1.4.4-14.zip
32-bit system version 1.4.5: http://static.runoob.com/download/memcached-1.4.5-x86.zip
64-bit system version 1.4.5: http://static.runoob.com/download/memcached-1.4.5-amd64.zip
Prior to version 1.4.5 1.Unpack the downloaded installation package to the specified directory. 2.Before version 1.4.5 Note: you need to use a real path instead 3.Then we can use the following command to start and shut down 4.If you want to modify the configuration key of ‘memcached’, you can execute the ‘regedit. exe’ command from the command line to open the registry and find it “HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesmemcached” to make modifications. If you want to provide -m 512 means to set up We can also view more parameter configurations by using the “c:memcachedmemcached.exe-h” command. 5.If we need to uninstall 1.Unpack the downloaded installation package to the specified directory. 2.After the memcached1.4.5 version We use the administrator to execute the following command to Note: you need to use a real path instead Note:-m 512 means to set up Note: we can see more parameter configurations by using the “c:memcachedmemcached.exe-h” command. 3、如果需要删除
memcached
can be installed as a service, which was removed in version 1.4.5 and later. Therefore, we will introduce the different installation methods of two different versions 1.4.4 and 1.4.5: 1.3.1. Memcached < 1.4.5 version installation ¶
memcached
can be installed as a service and run the following command with administrator privileges:c:\memcached\memcached.exe -d install
c:\memcached\memcached.exe
.
memcached
services:c:\memcached\memcached.exe -d start
c:\memcached\memcached.exe -d stop
memcached
the cache configuration used can be modified
ImagePath
are:"c:\memcached\memcached.exe" -d runservice -m 512
memcached
the maximum cache configuration is 512m.
memcached
can use the following commandc:\memcached\memcached.exe -d uninstall
1.3.2. Memcached > = 1.4.5 version installation ¶
memcached
cannot be run as a service, you need to use task scheduling to start a normal process, which isset when window starts
memcached
automatic execution.
memcached
add to the task schedule:schtasks /create /sc onstart /tn memcached /tr "'c:\memcached\memcached.exe' -m 512"
c:\memcached\memcached.exe
.
memcached
the maximum cache configuration is 512m.
memcached
的任务计划可以执行以下命令:schtasks /delete /tn memcached