Cockpit安装启动
CentOS 8默认已安装Cockpit,直接启动服务即可;
每次启动系统会有提示,我们按提示安装
Activate the web console with: systemctl enable --now cockpit.socket
# 配置cockpit服务开机自启
systemctl enable --now cockpit.socket
# 启动cockpit服务
systemctl start cockpit
复制代码
查看启动的端口
[root@localhost ~]# netstat -ntpl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1121/sshd
tcp6 0 0 :::22 :::* LISTEN 1121/sshd
tcp6 0 0 :::9090 :::* LISTEN 1/systemd
安装完成后即可通过浏览器访问Cockpit,访问地址:http://ip:9090/
Cockpit使用
概览
服务
日志
存储
网络
诊断报告
![{WJW{0KY2P0]HKWP]91V%XF.png](p3-juejin.byteimg.com/tos-cn-i-k3…?)
终端
SELinux
总结
CentOS 8官方内置的可视化管理功能,Cockpit很多常用的服务器管理功能非常实用,各位有空尝试下这个功能!
参考资料
官网文档:cockpit-project.org