dapurhosting.com Blog for Tech

June 15, 2012

Install Memcache

Filed under: Apache,Server — Tags: , — dh @ 8:12 am

cd /usr/local/src/
wget https://github.com/downloads/libevent/libevent/libevent-2.0.19-stable.tar.gz
tar xfz libevent*
cd libevent*
./configure
make
sudo make install

sudo ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib

cd /usr/local/src/
wget http://memcached.googlecode.com/files/memcached-1.4.13.tar.gz
tar xfz memcached*
cd memcached*
./configure
make
sudo make install

test memcached

memcached -d -u nobody -m 1024 127.0.0.1 -p 11211

Kalau error
ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5

Install libmemcached
cd /usr/local/src/
wget http://launchpad.net/libmemcached/1.0/1.0.4/+download/libmemcached-1.0.4.tar.gz
tar -zxvf libmemcached-1.0.4.tar.gz
cd libmemcached-1.0.4
./configure
make && make install

Install memcached
pecl install memcached

pecl install memcached

http://forums.cpanel.net/f5/memcached-instalation-memcached-so-missing-257942.html

Powered by WordPress