LNMP卸载memcache/memcached

  • A+
所属分类:LNMP

之前卸载遇到过坑,把正确的姿势记录下来

系统为centos 6.8 64bit 环境为lnmp1.5

首先关闭服务

service memcached stop

关闭开机启动

chkconfig memcached off
chkconfig --del memcached

删除相关文件

rm -f /etc/rc.d/init.d/memcached
rm -rf /usr/local/memcached
rm -rf /usr/bin/memcached

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: