CentOS6.x安装memcaches1.4.x

注意我用的CentOS版本是6

yum remove memcached

yum install libevent-devel


yum -y install gcc automake autoconf libtool make


./configure && make && make test && sudo make install
会看到错误日志
make: prove: Command not found
make: *** [test] Error 127
可以无视,再直接运行一下make install即可

直接运行memcached -u root -p 11211即可启动memcached

你可能感兴趣的:(Java,centos,memcached)