怎样编译和安装memcached



怎样编译和安装memcached


编译和安装步骤:


 $ apt-get install git
 $ git clone
https://github.com/memcached/memcached.git
 $ cd memcached
 $ apt-get install autotools-dev
 $ apt-get install automake
 $ ./autogen.sh
 $ ./configure
 $ make
 $ make test
 $ make install


关于Autotool能够參考文档:http://www.luochunhui.com/autotools%E4%BB%8B%E7%BB%8D%EF%BC%88%E4%BB%A5memcached%E6%BA%90%E7%A0%81%E4%B8%BA%E4%BE%8B%EF%BC%89/


參考文档:

1.http://thecancerus.com/step-by-step-guide-to-install-memcache-on-linux/
2.https://docs.oracle.com/cd/E17952_01/refman-5.0-en/ha-memcached-install.html
3.http://memcached.org/downloads


原文地址:https://www.cnblogs.com/mfmdaoyou/p/7148771.html