Centos7卸载keepalived

阅读更多

 

cd /usr/local/src/keepalived      #源码所在目录(根据实际情况进入对应目录)

 

  

make uninstall    #执行卸载

 

删除相关文件

 

rm -f /usr/local/sbin/keepalived

 

rm -f /usr/local/etc/rc.d/init.d/keepalived

 

rm -f /usr/local/etc/sysconfig/keepalived

 

rm -rf /usr/local/etc/keepalived

 

rm -f /usr/local/bin/genhash

 

rm -rf /usr/local/keepalived

 

rm -rf /etc/keepalived

 

rm -f /etc/rc.d/init.d/keepalived

 

rm -f /usr/sbin/keepalived

 

rm -f /etc/sysconfig/keepalived

 

rm -f /etc/systemd/system/multi-user.target.wants/keepalived.service

 

你可能感兴趣的:(keepalived,卸载)