Skip to content

Instantly share code, notes, and snippets.

@khilnani
Created December 24, 2013 20:23
Show Gist options
  • Save khilnani/8117500 to your computer and use it in GitHub Desktop.
Save khilnani/8117500 to your computer and use it in GitHub Desktop.

Download

Installation

  • Download both Memcached and Libevent source files (.tar.gz).
  • Install Libevent first since its a dependency for Memcached to work.
    • ./configure -prefix=/opt/libevent
    • make
    • sudo make install
    • Above commands should install Libevent under /opt/libevent/
  • Install Memcached
    • ./configure --with-libevent=/opt/libevent/ -prefix=/opt/memcached
    • make
    • sudo make install
    • Above commands should install Memcached under /opt/memcached/
  • Start Memcached
    • /opt/memcached/bin/memcached -d
    • This should start memcached on default port 11211
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment