"Memcached Installation"
Linux system installation memcached can be installed automatically, you can also manually compile the installation, the use of manual compilation installation
1, the Linux system installs the memcached, first must first install the Libevent library.
Download Libevent Compressed package, example Libevent-2.1.8-stable.tar
#tar ZXVF libevent-2.1.8-stable.tar-c/usr/local
#cd/usr/local/libevent-2.1.8
#./configure--prefix=/usr/local/libevent
#make && make Install
Installing the SASL Environment
Yum-y Install cyrus-sasl-lib.x86_64
Yum-y Install cyrus-sasl-devel.x86_64
2. Download memcached latest version from its official website (http://memcached.org)
Go to http://memcached.org/download the latest version
#tar-ZXVF memcached-1.x.x.tar.gz # #解压源码
#cd memcached-1.x.x # #进入目录
#./configure--prefix=/usr/local/memcached--wiht-libevent=/usr/local/libevent # #配置
#make # #编译
# Make Install # #安装
Start:
#/usr/local/memcached/bin/memcached-d-M 10m-p 11211-u Root
Linux system memcached Installation