Cockpit介绍自己是一个Web端的系统管理工具,只用鼠标点点就能管理系统,事实上也确实如此,我实际使用来说,启动Cockpit服务之后,只需要鼠标点点点就能完成系统很多基础操作,比如查看系统信息,启动/停止服务,新增或者更改账户,系统更新,Web终端及查看网络流量等功能。
登录CentOS操作系统,提示如下:
Activate the web console with: systemctl enable --now cockpit.socket
[root@localhost ~]# systemctl enable --now cockpit.socket
[root@localhost ~]# systemctl start cockpit.socket # 启动Cockpit服务
[root@localhost ~]# systemctl status cockpit.socket
● cockpit.socket - Cockpit Web Service Socket
Loaded: loaded (/usr/lib/systemd/system/cockpit.socket; enabled; vendor pres>
Active: active (listening) since Tue 2024-10-01 03:22:50 EDT; 1min 25s ago
Docs: man:cockpit-ws(8)
Listen: [::]:9090 (Stream)
Tasks: 0 (limit: 10231)
Memory: 968.0K
CGroup: /system.slice/cockpit.socket
10月 01 03:22:50 localhost.localdomain systemd[1]: Starting Cockpit Web Service>
浏览器访问方式:https://IP:9090
https://192.168.52.134:9090/