How to install Memcached Server on Windows as Service

Filed Under: Scripts

In my earlier post, I explained how to install Memcached server on Linux and Mac OS systems. Today I will explain how to install Memcached server on Windows operating system.

Install Memcached on Windows

To install the Memcached Server on Windows, we need to have its “exe” or “batch” process file to execute. However, Memcached server was written for Unix/Linux based operating system and you can’t get a Windows version from Memcached server official website.

The problem is solved by Jellycan Code and they provide the Win32 version in a binary format that can be used to install memcached server on Windows.

Steps to install Memcached on Windows

  1. Download memcached installer zip from http://code.jellycan.com/memcached/ in win32 binary format.
  2. Unzip it in some hard drive folder. For example C:\memcached
  3. There will be memcached.exe file in the unzipped folder.
  4. Open Command Prompt and execute below commands to install it as service and start it.

install memcached on windows

Now memcached is installed and running as a daemon process on port 11211. You can view it in the Control Panel Services also and stop and start it from there.
memcached as windows service

You can run memcached.exe -help command to check all the available options like changing ports.

Once you have started memcached server, you can use memcached telnet commands or memcached java client program to test it.

Comments

  1. JapJap says:

    Hello, my windows is running at 64bit, is there any other way for me to use this?

  2. Arif Hussain says:

    Hi Pankaj

    Could you please let me know the hardware requiremensts for installing the memcache on windows server and linux server?

    Thanks
    Arif Hussain.

  3. ipeter says:

    hey,
    This post is the best. Thank you for it.
    I have some quastions.
    I want to use three things with memcached. For example, name, age and nationality with different port numbers. how can I set up for this system?
    Thanks,

  4. Sanjay Goyal says:

    Hello Pankaj,

    This blog about memcached is very helpful to give a start. But there is no win32 binary for memcached at “http://code.jellycan.com/memcached/”.

    1. Pankaj says:

      Yes now it’s not there. When I wrote the article, it was there but I never use Windows OS for my development purpose so I am not sure where it’s moved.

      Try to do some google and you might find it.

  5. Car Detail says:

    Hi there, I would like to subscribe for this webpage to get most recent updates, thus where can i do it please help.

  6. Queens Real Estate says:

    I simply couldn’t depart your web site prior to suggesting that I actually loved the
    standard info an individual supply on your guests? Is gonna be again incessantly to inspect new posts

  7. alien.ath.cx says:

    Please let me know if you’re looking for a writer for your blog. You have some really good posts and I believe I would be a good asset. If you ever want to take some of the load off, I’d really like to write some material for your blog in exchange for a
    link back to mine. Please shoot me an e-mail if interested.
    Cheers!

Leave a Reply

Your email address will not be published. Required fields are marked *

close
Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages