CentOS 8 彻底清理 Cockpit 组件

systemctl stop cockpit
systemctl disable cockpit
firewall-cmd --permanent --remove-service=cockpit
firewall-cmd --reload
firewall-cmd --zone=public --list-services
yum remove cockpit*
rpm -e cockpit-system
rpm -e cockpit-bridge
rpm -e cockpit-ws
rm -R -f /run/cockpit
rm -R -f /etc/cockpit
rm -R -f /usr/share/cockpit
rm -R -f /var/lib/selinux/targeted/active/modules/100/cockpit
rm -R -f /usr/share/selinux/targeted/default/active/modules/100/cockpit

评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注