Web控制台管理系统

RHEL8的Web控制台介绍

rhel8的web控制台是什么?

  • RHEL Web控制台是一个基于Web的红帽企业版Linux 8界面,用于管理和监视本地系统以及位于网络环境中的Linux服务器。

  • RHEL 8 Web控制台是交互式服务器管理界面,通过浏览器与真实的Linux操作系统交互。

Web控制台功能

  • 监控基本系统功能,例如硬件信息,时间配置,性能配置等检查系统日志文件

  • 管理网络接口和配置防火墙管理虚拟机

  • 管理用户帐户

  • 监视和配置系统服务管理软件包

  • 配置SELinux 更新软件

  • 访问终端

安装Web控制台

系统默认已安装

[root@localhost home]# yum list|grep cockpit
cockpit.x86_64                            195.12-1.el7.centos          extras   
cockpit-bridge.x86_64                     195.12-1.el7.centos          extras   
cockpit-composer.noarch                   9-1.el7                      extras
[root@localhost home]# yum install -y cockpit
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
​

设置否开机自启动

查看是否开机自启动:
[root@localhost ~]# systemctl list-unit-files|grep cockpit
cockpit-motd.service                          static  
cockpit.service                               static  
cockpit.socket                                disabled——>说明开机不自动启动
设置开机自启动
[root@localhost ~]# systemctl enable cockpit.socket
[root@localhost ~]# systemctl start cockpit
[root@localhost ~]# systemctl status cockpit
● cockpit.service - Cockpit Web Service
   Loaded: loaded (/usr/lib/systemd/system/cockpit.service; static; vendor preset: disabled)
   Active: active (running) since 日 2022-11-06 05:15:31 CST; 5s ago
     Docs: man:cockpit-ws(8)
  Process: 8755 ExecStartPre=/usr/sbin/remotectl certificate --ensure --user=root --group=cockpit-ws --selinux-type=etc_t (code=exited, status=0/SUCCESS)
 Main PID: 8759 (cockpit-ws)
    Tasks: 2
   Memory: 992.0K
   CGroup: /system.slice/cockpit.service
           └─8759 /usr/libexec/cockpit-ws
​
11月 06 05:15:30 localhost.localdomain systemd[1]: Starting Cockpit Web Service...
11月 06 05:15:30 localhost.localdomain remotectl[8755]: Generating temporary certificate using: sscg --quiet --lifetime 3650 --key-strength 2...
11月 06 05:15:30 localhost.localdomain remotectl[8755]: Error generating temporary dummy cert using sscg, falling back to openssl
11月 06 05:15:30 localhost.localdomain remotectl[8755]: Generating temporary certificate using: openssl req -x509 -days 36500 -newkey rsa:204...
11月 06 05:15:31 localhost.localdomain systemd[1]: Started Cockpit Web Service.
11月 06 05:15:31 localhost.localdomain cockpit-ws[8759]: Using certificate: /etc/cockpit/ws-certs.d/0-self-signed.cert
Hint: Some lines were ellipsized, use -l to show in full.
​

设置防火墙策略(可选)

说明:如果系统防火墙开启,则需要执行以下操作,添加cockpit服务到防火墙以打开9090端口

[root@localhost ~]# firewall-cmd --add-service=cockpit --permanent
success
[root@localhost ~]# firewall-cmd --reload
success

登录Web控制台

说明:默认情况下,cockpit服务是启动的,我们可以使用以下命令检查9090端口是否监听

[root@localho
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值