Centos启用cockpit 远程可视化WEB管理界面

本片文章主要介绍Centos7/8如何开启cockpit远程可视化web管理界面。

开启方法

CentOS 8

systemctl enable cockpit.sockets
systemctl start cockpit.socket

运行以上命令后即可开启!

CentOS7

yum install cockpit
systemctl start cockpit
systemctl enable cockpit.socket

执行后会有类似提示:

Created symlink from /etc/systemd/system/sockets.target.wants/cockpit.socket to /usr/lib/systemd/system/cockpit.socket.

配置防火墙(如已开启)

firewall

firewall-cmd --add-service=cockpit --permanent

系统提示:

success

继续运行

firewall-cmd --reload

系统提示:

success

iptables

iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
service iptables save

至此结束配置。

管理界面

https://ip-address:9090

https://server.domain.com:9090

界面展示

R0gd.png

已发布

分类

作者:

评论

发表回复

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