卸载阿里云盾提示Operation not permitted的解决方法

发布时间:2022-4-07 10:10

最近新购了阿里云的VPS,发现之前的卸载阿里云监控的方法已经失效,应该是加了守护,没法直接删除相关文件,提示 Operation not permitted。

其实安装及卸载方法都在 /usr/local/aegis/aegis_update/install.sh

基于CentOS 7.6

先停止服务

systemctl stop aegis
systemctl disable aegis
rm -rf /etc/systemd/system/aegis.service

删除启动项

#以下路径不一定都存在
rm -f /etc/rc2.d/S80aegis
rm -f /etc/rc3.d/S80aegis
rm -f /etc/rc4.d/S80aegis
rm -f /etc/rc5.d/S80aegis
rm -f /etc/rc.d/rc2.d/S80aegis
rm -f /etc/rc.d/rc3.d/S80aegis
rm -f /etc/rc.d/rc4.d/S80aegis
rm -f /etc/rc.d/rc5.d/S80aegis
rm -f /etc/init.d/aegis

最后再删除整个aegis目录

最后再删除整个aegis目录
网站建设

Vue3学习笔记之依赖注入Provide/Inject

Provide / Inject 通常,当我们需要从父组件向子组件传递数据时,我们使用 props。想象一下这样的结构:有一些深度嵌套的组件,而深层的子组件只需要父组件的部分内容。在这种情况下,如果...
网站建设

Vue3全局实例上挂载属性方法案例讲解

在大多数开发需求中,我们有时需要将某个数据,或者某个函数方法,挂载到,全局实例身上,以便于,在项目全局的任何位置都能够调用其方法,或读取其数据。 在Vue2 中,我们是在 main.js 中 直...