[Linux]cockpit配置

yum install cockpit
systemctl start cockpit
或者 systemctl enable cockpit.socket
firewall-cmd --add-service=cockpit
firewall-cmd --permanent --zone=public --add-port=9090/tcp  &&  firewall-cmd --reload
https://ip:9090

解决配置cockpit开机启动故障
systemctl enable cockpit 无效
vim /usr/lib/systemd/system/cockpit.service
[Install]                                                                                                                                                            
WantedBy=multi-user.target
posted @ 2020-09-14 15:32  SkyBiuBiu  阅读(475)  评论(0编辑  收藏  举报