码迷,mamicode.com
首页 > 系统相关 > 详细

Memached搭建

时间:2016-06-17 17:25:50      阅读:165      评论:0      收藏:0      [点我收藏+]

标签:memached搭建

独立搭一台建memached

[root@nginx2 ~]# ls /software/

libevent-2.0.20-stable.tar.gz               memcached-1.4.24.tar.gz

[root@nginx2 ~]# cd /software/

[root@nginx2 software]# tar zxf libevent-2.0.20-stable.tar.gz 

[root@nginx2 software]# cd libevent-2.0.20-stable

[root@nginx2 libevent-2.0.20-stable]# ./configure

[root@nginx2 libevent-2.0.20-stable]# make && make install

[root@nginx2 libevent-2.0.20-stable]# echo "/usr/local/lib" > /etc/ld.so.conf.d/libevent.conf

[root@nginx2 libevent-2.0.20-stable]# ldconfig

[root@nginx2 libevent-2.0.20-stable]# ldconfig -v | grep  --color libevent

[root@nginx2 libevent-2.0.20-stable]# cd /software

[root@nginx2 software]# tar zxf memcached-1.4.24.tar.gz

[root@nginx2 software]# cd memcached-1.4.24

[root@nginx2 memcached-1.4.24]# ./configure 

[root@nginx2 memcached-1.4.24]# make && make install

[root@nginx2 memcached-1.4.24]# cd /usr/local/bin

[root@nginx2 bin]# ./memcached -l 192.168.1.1 -u root -c 200 -m 500M -n 10 -f 2 -d

[root@nginx2 bin]# netstat -tulnp | grep 11211


本文出自 “wsyht的博客” 博客,请务必保留此出处http://wsyht2015.blog.51cto.com/9014030/1790347

Memached搭建

标签:memached搭建

原文地址:http://wsyht2015.blog.51cto.com/9014030/1790347

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!