centos7安装cockpit图形管理界面

一、Cockpit介绍

1.cockpit介绍

Cockpit 是红帽开发的网页版图像化服务管理工具,优点是无需中间层,且可以管理多种服务。

2.cockpit特点

从易用性考虑设计,方便管理人员使用,而不是仅仅的终端命令按钮化。
不会打乱已有终端或脚本服务配置,通过 Cockpit 启用的服务可以在终端停止,脚本运行的错误亦会被 Cockpit 捕获。
支持一次性管理多个服务,实现自动化和批处理。
系统存储信息查看。
docker容器监控。
系统网络监控。
web命令行终端。

3.cockpit在rhel8系列中

cockpit在rhel8系列中已经自动安装软件包,启动服务即可

二、安装软件包

1.安装cockpit相关软件包

yum install -y cockpit cockpit-docker cockpit-machines cockpit-dashboard cockpit-storaged cockpit-packagekit

2.启动服务

[root@192 network-scripts]# systemctl enable --now cockpit

3.防火墙放行和关闭selinux

①关闭selinux

sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
setenforce 0
getenforce 

②放行防火墙

[root@192 network-scripts]# firewall-cmd --permanent --zone=public --add-service=cockpit
success
[root@192 network-scripts]# firewall-cmd --reload 
success

4.查看扩展包

[root@192 network-scripts]# yum list cockpit*
Loaded plugins: fastestmirror, langpacks, product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
Installed Packages
cockpit.x86_64                                                                                195.12-1.el7.centos                                                                  @extras
cockpit-bridge.x86_64                                                                         195.12-1.el7.centos                                                                  @extras
cockpit-dashboard.x86_64                                                                      195.12-1.el7.centos                                                                  @extras
cockpit-docker.x86_64                                                                         195.12-1.el7.centos                                                                  @extras
cockpit-machines.x86_64                                                                       195.12-1.el7.centos                                                                  @extras
cockpit-packagekit.x86_64                                                                     195.12-1.el7.centos                                                                  @extras
cockpit-storaged.noarch                                                                       195.12-1.el7.centos                                                                  @extras
cockpit-system.noarch                                                                         195.12-1.el7.centos                                                                  @extras
cockpit-ws.x86_64                                                                             195.12-1.el7.centos                                                                  @extras
Available Packages
cockpit-composer.noarch                                                                       9-1.el7                                                                              extras 
cockpit-doc.x86_64                                                                            195.12-1.el7.centos                                                                  extras 
cockpit-kubernetes.x86_64                                                                     195.12-1.el7.centos                                                                  extras 
cockpit-machines.noarch                                                                       195.6-1.el7.centos                                                                   extras 
cockpit-machines-ovirt.noarch                                                                 195.12-1.el7.centos                                                                  extras 
cockpit-packagekit.noarch                                                                     195.6-1.el7.centos                                                                   extras 
cockpit-pcp.x86_64                                                                            195.12-1.el7.centos                                                                  extras 
cockpit-subscriptions.noarch                                                                  160-1.el7.centos                                                                     extras 
cockpit-tests.x86_64                                                                          195.12-1.el7.centos                                                                  extras 
cockpit-ws.i686                 

三、访问cockpit的web界面

在这里插入图片描述
在这里插入图片描述

四、监控容器

在这里插入图片描述

  • 2
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

江湖有缘

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值