General Information
Memcached is a “distributed memory object caching system”. Useful for speeding up web applications by caching database lookups.
Official Site: http://www.memcached.org/
Checklist
yum install memcached
service memcached start chkconfig memcached on
systemctl start memcached
systemctl enable memcached
vim /etc/sysconfig/memcached # Daemon USER="memcached" # Reserved Cache in MBs CACHESIZE="2048" # Memcached Options - Listen on localhost only OPTIONS="-l 127.0.0.1" # Memcached Options - Clear out to listen on any interface #OPTIONS="" # Networking PORT="11211" MAXCONN="1024"
Memcached does not have any application authentication, so you should configure the memcached server with firewall rules to only allow certain sources to utilize it on tcp and udp port 11211 (the default port).