This article is a mirror article of machine translation, please click here to jump to the original article.

View: 14472|Reply: 1

[Memcached] Start multiple Memcached services in the same Windows machine

[Copy link]
Posted on 12/28/2015 3:52:33 PM | | |

The previous article introduced the installation of Memcached, but what if you only have one machine at hand and want to do multi-node testing?

This requires starting multiple Memcached services on a single machine.

Suppose Memcached is in the following directory: C:\memcached\memcached.exe

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




Here are the commands to start, stop, and uninstall the service:


If you encounter the following prompt message when executing a command:



Please check the commands you entered.

Check Point:

The argument followed by the sc cretate command, such as the equal sign of [binPath= ], must have a space after it.
Similarly, other parameters such as group= and displayname= require spaces after the equal signs.
Otherwise, the sc create command will not succeed in creating the service and will only return you a help message.




Previous:JSONP - Solving the problem of cross-domain access in Ajax
Next:Redis windows 64-bit download, official download address
Posted on 12/30/2021 2:10:57 PM |
can be played
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com