How to install memcached on a Centos Linux server
To install the MemCached lib on your linux server with yum, all you do is this..
yum install memcached
Now you can start the memcached service on the default port 11211 with..
service memcached start
If you want to change the config (to run on another port for example) the file to edit is /etc/sysconfig/memcached
To use it with your code you will probably want a client lib such as Cache::Memcached. If Perl is your poison then install with yum like so..
yum install perl-Cache-Memcached
or for a possibly faster version..
yum install perl-Cache-Memcached-Fast
Install from CPAN the usual way if yum doesn't do it for you..
cpan -i Cache::Memcached
If PHP is your thing then one of these will do..
yum install php-pecl-memcache
yum install php-pecl-memcached
For a graphic admin panel for memcached..
yum install phpMemcachedAdmin
Tags: memcached caching centos linux