Memcached 005基本安装过程
centos memcached安装手册:
一、安装libevent函数库
libevent各版本地址:http://libevent.org/old-releases.html
在此我安装当前最稳定版本:libevent-2.0.21
- 下载:
1
#wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
- 解压:
1
#tar -zxvf libevent-2.0.21-stable.tar.gz
3 配置及编译安装:
|
|
- 检查是否安装成功:
1
#ls -al /usr/local/services/libevent-2.0.21-stable/lib | grep libevent
二、安装memcached
memcached各版本下载址:https://github.com/memcached/memcached/wiki/ReleaseNotes
或者:wget http://memcached.org/latest
在此我安装当前最稳定版本: memcache-1.5.9
- 下载:#wget http://memcached.org/files/memcached-1.5.9.tar.gz
- 解压:#tar -zxvf memcached-1.5.9.tar.gz
- 配置及编译安装:
|
|
- 启动脚本start.sh:
|
|
- 开机启动脚本处理: