Cockpit 的装置
# RHEL8零碎曾经默认装置cockpit yum list|grep cockpit # 查看cockpit是否曾经设置开机启动 systemctl list-unit-files|grep cockpit # 设置cockpit开机启动 systemctl enable --now cockpit.socket # 查看cockpit运行状态 systemctl status cockpit.service # 启动服务 systemctl start cockpit.service # 查看cockpit运行状态 systemctl status cockpit.service # 查看cockpit端口9090是否曾经监听 netstat -nltp|grep 9090
# 零碎防火墙增加放行服务 firewall-cmd --add-service=cockpit --permanent # 重启防火墙 firewall-cmd --reload
拜访:https://IP:9090,要求较高版本的浏览器能力失常应用。本地账户的用户名和明码均可登录。
Cockpit 罕用操作
敞开防火墙。
配置网络。
配置网络须要通过localhost拜访,否则不失效。
顺次点击 网络 – ens160 – IPv4:
地址:手动 192.168.1.3 255.255.255.0 192.168.1.2
敞开SELinux。