Board index INSTALLATION Caching Techniques

How to install memcached

Postby gautham » Wed Aug 22, 2012 10:59 am

Download memcached from main site
cd /usr/local/src/

Code: Select all

tar -xzvf memcached-1.*
cd memcached*

If the above gives an error on libevent, check if its installed and if not install that using
yum install libevent libevent-devel

make install

To run that you can execute
memcached -d -u nobody -m 1024 -p 11211
Gautham G
Posts: 14
Joined: Sun Jul 01, 2012 10:32 am

Re: How to install memcached

Postby a24uall » Thu Sep 18, 2014 11:30 am

Easy option to install memcached in cPanel servers and centos 6 and higher.

Open port 11211 in firewall.

Code: Select all
yum install memcached

Code: Select all
pecl install memcache

Code: Select all
service memcached start

Code: Select all
chkconfig memcached on
Site Admin
Posts: 166
Joined: Sun Jul 01, 2012 9:07 am

Return to Caching Techniques

Who is online

Users browsing this forum: No registered users and 1 guest