全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码

[疑问] 腾讯云良心云CVM和轻量服务器上手第一步操作正确姿势

  [复制链接]
发表于 2021-10-27 09:04:43 | 显示全部楼层
技术贴帮顶
发表于 2021-10-27 09:39:52 | 显示全部楼层
直接dd成debian11了
发表于 2021-10-27 09:54:46 | 显示全部楼层
技术贴赞一个
发表于 2021-10-27 09:59:00 来自手机 | 显示全部楼层
好贴学习,实用简洁
发表于 2021-10-27 11:03:23 | 显示全部楼层
[root@VM-0-13-centos ~]# sudo -i
[root@VM-0-13-centos ~]# systemctl stop tat_agent
Failed to stop tat_agent.service: Unit tat_agent.service not loaded.
[root@VM-0-13-centos ~]# systemctl disable tat_agent
Failed to execute operation: No such file or directory
[root@VM-0-13-centos ~]# /usr/local/qcloud/stargate/admin/uninstall.sh
-bash: /usr/local/qcloud/stargate/admin/uninstall.sh: 没有那个文件或目录
[root@VM-0-13-centos ~]# /usr/local/qcloud/YunJing/uninst.sh
-bash: /usr/local/qcloud/YunJing/uninst.sh: 没有那个文件或目录
[root@VM-0-13-centos ~]# /usr/local/qcloud/monitor/barad/admin/uninstall.sh
-bash: /usr/local/qcloud/monitor/barad/admin/uninstall.sh: 没有那个文件或目录
[root@VM-0-13-centos ~]# rm -f /etc/systemd/system/tat_agent.service
[root@VM-0-13-centos ~]# rm -rf /usr/local/qcloud
[root@VM-0-13-centos ~]# rm -rf /usr/local/sa
[root@VM-0-13-centos ~]# rm -rf /usr/local/agenttools
[root@VM-0-13-centos ~]# rm -rf /usr/local/qcloud
[root@VM-0-13-centos ~]# process=(sap100 secu-tcs-agent sgagent64 barad_agent agent agentPlugInD pvdriver )
[root@VM-0-13-centos ~]# for i in ${process[@]}
> do
>   for A in $(ps aux | grep $i | grep -v grep | awk '{print $2}')
>   do
>     kill -9 $A
>   done
> done

点评

莫怕,复制梭哈完事,不用考虑太多好几个腾讯云迭代在里面,老的监控是前面几行的。后面监控加入看门狗系列然后全部暴力删除完事  发表于 2021-10-27 14:45
 楼主| 发表于 2021-10-27 14:39:58 | 显示全部楼层
dearchen 发表于 2021-10-27 11:03
[root@VM-0-13-centos ~]# sudo -i
[root@VM-0-13-centos ~]# systemctl stop tat_agent
Failed to stop ta ...

正常,因为后面腾讯云改目录了,没关系这个是老脚本,你直接干就对了。
发表于 2021-10-27 14:51:58 | 显示全部楼层
不错,mark一下
 楼主| 发表于 2021-11-1 16:53:49 | 显示全部楼层
FeiLai 发表于 2021-10-27 07:18
习惯centos咋办?

依葫芦画阿,不过centos记得弄下防火墙
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-29 03:41 , Processed in 0.062605 second(s), 7 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表