作者:admin,发布日期:2021-03-26
阅读:1381;评论:0
监控和其他组件安装在/usr/local/qcloud中,首先利用自带的卸载进行卸载
cd /usr/local/qcloud YunJing/uninst.sh stargate/admin/uninstall.sh monitor/barad/admin/uninstall.sh
然后挂载配置光驱,卸载tat_agent
mount /dev/sr0 /mnt/ /mnt/qcloud_init/tat_agent_linux_install_0.1.2/uninstall.sh
crontab -e,删除第一行
0 0 * * * /usr/local/qcloud/YunJing/YDCrontab.sh > /dev/null 2>&1 &
删除lighthouse用户
userdel lighthouse rm -rf /home/lighthouse/
删除自带密钥
/root/.ssh/authorized_keys
删除完成
完整命令
cd /usr/local/qcloud YunJing/uninst.sh stargate/admin/uninstall.sh monitor/barad/admin/uninstall.sh mount /dev/sr0 /mnt/ /mnt/qcloud_init/tat_agent_linux_install_0.1.2/uninstall.sh cd