#Centos7&8 yum -y install cockpit firewall-cmd --permanent --zone=public --add-service=cockpit 或: firewall-cmd --permanent --zone=public --add-port=9090/tcp firewall-cmd --reload systemctl enable --now cockpit.socket systemctl start cockpit.socket
使用地址 https://ip:9090 访问cockpit管理服务器