RHEL 8 安装Cockpit Web控制台

一、先设置好系统YUM源(可查考网上的方法)

二、安装cockpit web console

root@rhel8:~# yum install -y cockpit-machines.noarch

三、启动cockpit.socket服务

root@rhel8:~# systemctl start cockpit.socket

root@rhel8:~# systemctl enable --now cockpit.socket

四、设置防火墙

root@rhel8:~# firewall-cmd --add-service=cockpit --permanent

root@rhel8:~# firewall-cmd --reload

五、使用浏览器访问(IP:9090),如下图

浏览器打开: https://192.168.93.130:9090/

最后,使用服务器的账号和密码登录。