Reprinted from Meng Shu's blog: https://learndevops.cn/index.php/2016/06/10/how-to-install-the-latest-version-of-memcached/
In modern Internet systems, memcached is almost a necessary component, widely used, very good and powerful.
In the CentOS 6 system, you can install memcached with the Yum install memcached command without any configuration. But this version is the oldest version of 1.4.4, and the latest version of memcached is already 1.4.25, so you can check out Memcached's release notes to find out what's going on.
We can install the latest version of memcached through third-party software source Remi, as follows:
First, install the Remi Software Source:
Yum Install-y http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
Second, install the latest version of the Memcached software:
Yum install–enablerepo=remi-y memcached
Third, start the memcached and set to automatically start with the system:
Service memcached Start
Chkconfig memcached on
Then we can use Telnet to connect the memcached service to confirm the version:
How to install the latest version of memcached