本文copy自:www.512873.com
一、阿里云
按照下面顺序执行一遍就可以了,遇到权限问题,请以root权限运行。
wget http://update.aegis.aliyun.com/download/uninstall.sh
chmod +x uninstall.sh
./uninstall.sh
rm -f /usr/sbin/aliyun-service
rm -rf /usr/local/aegis
killall -9 aliyun-service > /dev/null 2>&1
来源:https://www.alibabacloud.com/help/zh/doc-detail/31777.htm?spm=a3c0i.o31778zh.b99.9.f727425tcmrSN
二、腾讯云
./usr/local/qcloud/stargate/admin/uninstall.sh
./usr/local/qcloud/monitor/barad/admin/uninstall.sh
./usr/local/sa/agent/uninstall.sh
rm -rf /usr/local/qcloud/
rm -rf /usr/local/sa/