http://my.oschina.net/u/230745/blog/158172 主要参考
http://www.2cto.com/os/201209/153833.html 启动参数介绍
http://www.php100.com/html/php/lei/2013/0905/5199.html
启动的过程中出现错误:
/usr/local/bin/memcached: error while loading shared libraries: libevent-1.3.so.1: cannot open shared object file: no such file or directory
LD_DEBUG=libs /usr/local/bin/memcached -v
根据提示直接设置链接
ln -s /usr/lib/libevent-1.2.so.1 /lib64/tls/libevent-1.2.so.1 建立软连接
重新启动:
/usr/local/bin/memcached -d -m 10 -u root -l 127.0.0.1 -P /tmp/memcached.pid
浙公网安备 33010602011771号