| How to install memcached on CentOS |
|
This is a step by step guide to installing memcached from source on CentOS. The version of CentOS that I am using is CentOS release 5.2 (Final); to find what version you are using:
cat /etc/redhat-release First, install the dependency libevent:
cd /usr/local/src Next, install memcached:
cd /usr/local/src Verify that memcached starts:
memcached -u root -d If there were no errors, make sure it is running: ps aux | grep memcached And finally, to stop memcached: pkill memcached These instructions prevent the following errors: memcached: error while loading shared libraries: libevent-1.4.so.2: |