独立搭一台建memached
[[email protected] ~]# ls /software/
libevent-2.0.20-stable.tar.gz memcached-1.4.24.tar.gz
[[email protected] ~]# cd /software/
[[email protected] software]# tar zxf libevent-2.0.20-stable.tar.gz
[[email protected] software]# cd libevent-2.0.20-stable
[[email protected] libevent-2.0.20-stable]# ./configure
[[email protected] libevent-2.0.20-stable]# make && make install
[[email protected] libevent-2.0.20-stable]# echo "/usr/local/lib" > /etc/ld.so.conf.d/libevent.conf
[[email protected] libevent-2.0.20-stable]# ldconfig
[[email protected] libevent-2.0.20-stable]# ldconfig -v | grep --color libevent
[[email protected] libevent-2.0.20-stable]# cd /software
[[email protected] software]# tar zxf memcached-1.4.24.tar.gz
[[email protected] software]# cd memcached-1.4.24
[[email protected] memcached-1.4.24]# ./configure
[[email protected] memcached-1.4.24]# make && make install
[[email protected] memcached-1.4.24]# cd /usr/local/bin
[[email protected] bin]# ./memcached -l 192.168.1.1 -u root -c 200 -m 500M -n 10 -f 2 -d
[[email protected] bin]# netstat -tulnp | grep 11211