您的位置:首页 > 其它

Memached搭建

2016-06-17 15:56 162 查看
独立搭一台建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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  搭建 Memached