Saturday, March 17, 2012

Rails - Install and starting memcached on windows

1) Download Memcached for windows and extract it.

2) Open the command prompt as administrator and then run the command (assuming
your memcached is in c:\memcached)

c:\memcached\memcached.exe -d install

(Incase you get the below error:
C:\Windows\System32>c:\memcached\memcached.exe -d install
failed to install service or service already installed
Please make sure your are running the command prompt as administrator
start>command prompt> right click it and run as administrator.)

3) Start the server by:
C:\Windows\system32>net start "memcached Server"
The memcached Server service is starting.
The memcached Server service was started successfully.

No comments:

Post a Comment