一个80后
程序员的笔记

[Centos]安装Memcached

#下载地址:http://memcached.org/download
#工具包 https://gitee.com/bbhsky/PHP-Setup.git
cd memcached-1.5.10/
./configure --prefix=/usr/local/memcached-1.5.10
make
make install
ln -sf /usr/local/memcached-1.5.10/ /usr/local/memcached
ln -sf /usr/local/memcached/bin/memcached /usr/bin/memcached
cp init.d/memcached /etc/init.d/memcached
chmod +x /etc/init.d/memcached
useradd -s /sbin/nologin nobody
#下载地址:https://launchpad.net/libmemcached/+download
#工具包 https://gitee.com/bbhsky/PHP-Setup.git
tar zxvf libmemcached-1.0.18.tar.gz
cd libmemcached-1.0.18/
./configure --prefix=/usr/local/libmemcached-1.0.18 --with-memcached
make && make install
ln -sf /usr/local/libmemcached-1.0.18/ /usr/local/libmemcached
赞(0) 打赏
未经允许不得转载:FoolTiger笔记本 » [Centos]安装Memcached
分享到: 更多 (0)

评论 1

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏