How to install Memcached on Windows machine

After some research I found that there is a Win32 binary version of memcached available here.

So go there and download win32 binary version to your computer. When downloaded, extract the file to folder memcahced on your C partition.

You should get only one file named memcached.exe. Now we need to install this as a service, as memCached is daemon and should be run only as service.

To install Memcached as a service, follow these steps (please change all forward slashes to backslashes):

  1. If you’re running Vista, you should set memcached.exe to Run as administrator
  2. Install the service using the command:
    1 c:/memcached/memcached.exe  -d install

    from the command prompt

  3. Start the server from the Services or by running one of the following commands:
    1 c:/memcached/memcached.exe -d  start

    or

    1 net start "memcached Server"

That is it, now your memcached server is installed and is listening to port 11211. There is one more thing left to do. By default, server is set to 64Mb memory limit, which is too small. To correct, go to Registry Editor and find key

1 HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/memcached  Server .

Change the ImagePath entry to:

1 “C:/memcached/memcached.exe” -d runservice -m 512

This way you will use 512 Mb memory limit for your server.

Facebook comments:

343 thoughts on “How to install Memcached on Windows machine

  1. Pingback: an ace

  2. Pingback: Goldankauf Dresden

  3. Pingback: payday loans

  4. Pingback: fat burning exercises

  5. Pingback: Kitchen Remodeling New York

  6. Pingback: it consulting

  7. Pingback: diet and exercise log

  8. Pingback: seo nashville

  9. Pingback: purchase here

  10. Pingback: instant payday loan

  11. Pingback: team

  12. Pingback: research bad credit payday loans

  13. Pingback: Appraisal Management Company

  14. Pingback: pilots law

  15. Pingback: fox pepper spray

  16. Pingback: rayban sunglasses

  17. Pingback: iphone online jailbreak

  18. Pingback: unlock iphone 4 free software download

  19. Pingback: heavy equipment mechanic job overview

  20. Pingback: easiest way to jailbreak iphone

  21. Pingback: reliance broadband plans

  22. Pingback: form to phone

  23. Pingback: Awesome post! Hey, make sure you check out how I lost over 70 pounds:

  24. Pingback: video verified

  25. Pingback: illinois auto loans

  26. Pingback: shade sails perth

  27. Pingback: CH Sexdate

  28. Pingback: AIS Calibrate Series

  29. Pingback: kontaktanzeigen

  30. Pingback: wisdom teeth extraction

  31. Pingback: can you buy alcohol online

  32. Pingback: rate us

  33. Pingback: site preview

  34. Pingback: remove frames

  35. Pingback: how to jailbreak iphone 4

  36. Pingback: Utah Stamped Concrete

  37. Pingback: Bankruptcy Alternative

  38. Pingback: apartments in singapore

  39. Pingback: car loan for bad credit

  40. Pingback: legal protection insurance

  41. Pingback: Positive Affirmation #24298 – bmindful – the positive affirmation and … | Beach Honeymoon Ideas

  42. Pingback: india jobs

  43. Pingback: preconstruction real estate investing

Leave a Reply