1、安装
yum -y install memcached重启动
2、配置
查看帮助信息
memcached -h
默认文件地址
/etc/sysconfig/memcached
默认内容如下:
PORT=”11211″
USER=”memcached”
MAXCONN=”1024″
CACHESIZE=”64″
OPTIONS=””
可调整上面的商品,最大连接数,内存大小
3、一些命令
重启动
systemctl restart memcached
启动
systemctl start memcached
设置自启动
systemctl enable memcached
查看状态
systemctl status memcached
停止
systemctl stop memcached
yum -y install memcached重启动
2、配置
查看帮助信息
memcached -h
默认文件地址
/etc/sysconfig/memcached
默认内容如下:
PORT=”11211″
USER=”memcached”
MAXCONN=”1024″
CACHESIZE=”64″
OPTIONS=””
可调整上面的商品,最大连接数,内存大小
3、一些命令
重启动
systemctl restart memcached
启动
systemctl start memcached
设置自启动
systemctl enable memcached
查看状态
systemctl status memcached
停止
systemctl stop memcached