> CentOS > CentOS教程 >

centos上安装memcached

参考官网信息http://www.memcached.org/downloads

 

 

Debian/Ubuntu: apt-get install libevent-dev Redhat/Centos: yum install libevent-devel

wget http://memcached.org/latest
tar -zxvf memcached-1.x.x.tar.gz
cd memcached-1.x.x
./configure && make && make test && sudo make install

 

 

-------------------------------------------以上是官方文档-----------------------------------------------------------------

先要安装libevent-devel

centos安装libevent-devel:yum install libevent-devel

 

下载并安装memcached

# wget http://memcached.org/latest
# tar -zxvf memcached-1.x.x.tar.gz
# cd memcached-1.x.x


 

(责任编辑:IT)