#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
#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