最新动态 > 详情

cenos7/8 安装web管理后台,及docker容器管理

发布时间:2020-11-24 10:40:57


一、安装cenos7web管理后台

默认centos8 是有web后台的

centos7 安装
1.  yum install cockpit

配置开机自启动
2.systemctl enable cockpit --now


查看cockpit是否启动
3.ps -aux|grep cockpit

访问https://192.168.3.216:9090

如果是本地虚拟机,可能9090端口没法正常访问,所以要关闭防火墙
4.systemctl disable firewalld --now



二、安装容器

 1.yum searech cockpit

cockpit-bridge.x86_64 : Cockpit bridge server-side component
cockpit-composer.noarch : Composer GUI for use with Cockpit
cockpit-dashboard.x86_64 : Cockpit remote servers and dashboard
cockpit-doc.x86_64 : Cockpit deployment and developer guide
cockpit-docker.x86_64 : Cockpit user interface for Docker containers
cockpit-kubernetes.x86_64 : Cockpit user interface for Kubernetes cluster
cockpit-machines.x86_64 : Cockpit user interface for virtual machines
cockpit-machines.noarch : Cockpit user interface for virtual machines
cockpit-machines-ovirt.noarch : Cockpit user interface for oVirt virtual machines
cockpit-packagekit.x86_64 : Cockpit user interface for package updates
cockpit-packagekit.noarch : Cockpit user interface for packages
cockpit-pcp.x86_64 : Cockpit PCP integration
cockpit-storaged.noarch : Cockpit user interface for storage, using udisks
cockpit-subscriptions.noarch : Cockpit subscription user interface package
cockpit-system.noarch : Cockpit admin interface package for configuring and troubleshooting a system
cockpit-tests.x86_64 : Tests for Cockpit
cockpit-ws.x86_64 : Cockpit Web Service
cockpit-ws.i686 : Cockpit Web Service
subscription-manager-cockpit.noarch : Subscription Manager Cockpit UI
cockpit.x86_64 : Web Console for Linux servers



2.yum install cockpit-docker.x86_64
3.注销后台,再次登录web后台,启动docker容器,即可有中文后台菜单
docker容器

三、安装容器服务
1.访问https://hub.docker.com/ 查看docker支持的容器
2.在cockpit后台搜索相关容器
docker容器

3.点击需要安装的容器版本直接安装
docker容器

4.安装完成后点击镜像后面启动键配置一下,启动即可

上一篇: CentOS7 安装和卸载rabbitmq

下一篇:jenkins构建后执行shell命令权限问题