关于linux:Linux-管理工具-Cockpit-安装及使用

6次阅读

共计 570 个字符,预计需要花费 2 分钟才能阅读完成。

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。

正文完
 0