您当前的位置: 首页 >  centos

江湖有缘

暂无认证

  • 0浏览

    0关注

    446博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

centos7安装cockpit图形管理界面

江湖有缘 发布时间:2022-05-26 14:43:15 ,浏览量:0

centos7安装cockpit图形管理界面
  • 一、Cockpit介绍
    • 1.cockpit介绍
    • 2.cockpit特点
    • 3.cockpit在rhel8系列中
  • 二、安装软件包
    • 1.安装cockpit相关软件包
    • 2.启动服务
    • 3.防火墙放行和关闭selinux
      • ①关闭selinux
      • ②放行防火墙
    • 4.查看扩展包
  • 三、访问cockpit的web界面
  • 四、监控容器

一、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界面

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

四、监控容器

在这里插入图片描述

关注
打赏
1665849170
查看更多评论
立即登录/注册

微信扫码登录

0.0374s