Written by - Yash Agrawal

Installing Memcached


Install Memcached on Ubuntu.

To install memcached on Ubuntu do the following steps:

  1. Open the Terminal
  2. Type sudo apt-get update
  3. Type sudo apt install memcached
  4. To verify the installation type ps aux | grep memcached
  5. 11211 is the default port for memcached. And 127.0.0.1 is the Host IP.

Install Memcached on Windows.

To install memcached on Windows do the following steps:

  1. Download from the following link: 32 BIT or 64 BIT.
  2. Create a folder in any directory. Such as c:\memcahed
  3. Extract the downloaded .zip file and copy the content of this downloaded file into the newly created directory.
  4. Open a command prompt as an administrator.
  5. Run memcached.exe file