Memcached summary and detailed explanation of starting multiple Memcached service configuration files

one,

1. Unzip the downloaded installation package to the specified directory.

2. To install the service, run the following command with administrator privileges:

c:\memcached\memcached.exe -d install

2. Start multiple Memcached services on the same Windows machine

Memcached Server1 Memcached is in the following directory D:\pangzhw\opensouce\Memcached\windows-64\memcached.exe

Execute the following command in CMD to install another Memcached service (remember to change the port number!):

sc create "Memcached Server2" start= auto binPath= "D:\pangzhw\opensouce\Memcached\windows-64\memcached.exe -d runservice -m 32 -p 11212 -l 127.0.0.1" DisplayName= "Memcached Server1"

Repeat the above command to change the name, port, display name

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324574097&siteId=291194637