卸载腾讯云服务器自带监控插件
侧边栏壁纸
  • 累计撰写 174 篇文章
  • 累计收到 1,068 条评论

卸载腾讯云服务器自带监控插件

萧瑟
2021-06-01 / 5 评论 / 521 阅读 / 正在检测是否收录...
温馨提示:
本文最后更新于2021年06月01日,已超过1057天没有更新,若内容或图片失效,请留言反馈。

购买过云服务器的同学都知道,阿里云和腾讯云的机器都附带了安(监)全(控)软件,虽然说是安全软件,其实应该是监控软件,一种钩子agent程序。

卸载命令

$ sh /usr/local/qcloud/stargate/admin/uninstall.sh
$ sh /usr/local/qcloud/YunJing/uninst.sh
$ sh /usr/local/qcloud/monitor/barad/admin/uninstall.sh

停用服务

$ systemctl stop tat_agent
$ systemctl disable tat_agent
$ rm -f /etc/systemd/system/tat_agent.service

删除定时任务

# 删除Cron中残留的定时任务
$ crontab -e

服务器会定时执行 /usr/local/qcloud/ 目录下程序,我们可以一劳永逸,直接把 crontab 清空,/usr/local/qcloud/ 目录删掉即可。

$ crontab -r
$ rm -rf /usr/local/qcloud/

评论 (5)

取消
  1. 头像
    医疗美容
    上海市 Windows 7 · FireFox

    导入式软件真的是防不胜防

    回复
  2. 头像
    珂泽
    广东省深圳市 Windows 10 · Google Chrome

    阿里貌似也有监控软件

    回复
    1. 头像
      萧瑟 作者
      北京市 Windows 10 · Google Chrome
      @ 珂泽

      阿里也有清除工具,我之前用到过,有时间也总结一下。

      回复
  3. 头像
    zeruns
    广东省深圳市 Windows 10 · Google Chrome

    学到了,大佬牛逼

    回复
    1. 头像
      萧瑟 作者
      北京市 Linux · Google Chrome
      @ zeruns

      不是大佬,只是善于总结问题。

      回复