> Of course, you first need to installmemcachedas a service via the
> command line.

Or, as a. said, install it as a service with the correct parameters
the first time, with the built-in Windows mechanism for installing
services.

We do not install this as a service using the "-d install" switch. "-d
install" gives no flexibility to install other instances or to change
paramaters like port or memory.

Instead we use the built in "sc" tool in Windows to manage services.
This is the command line command required to install one instance:

sc create memcached11211 binPath= "C:\Admin\memcached runtime
\memcached.exe -d runservice -p 11211 -m 2048" start= auto
DisplayName= "MemCached 11211"

Just repeat for multiple instances on the same machine by changing the
port number in the servicename (the "memcached11211" part at the
start), binPath and DisplayName parameters.


- Tormod

Reply via email to