I. Overview
Cockpit was developed by Red Hat makes server management easy and simple free open source software. It is ideally suited for simple system administration tasks and novice system administrators. It is still in the development stage, there is no stable version release. This article describes how to install and use it to manage Cockpit our running Fedora, CentOS, Arch Linux and RHEL release of the operating system of the server.
Cockpit is a free open source server management software, which allows us to manage our GNU / Linux server via its Web front-end interface pretty easily. Cockpit makes Linux system administrators, system maintainers and developers can easily manage their server and perform simple tasks, such as managing storage, test log, start or stop services as well as a number of other tasks. Its reporting interface adds some nice features makes it possible to easily switch between the terminal and the Web interface. In addition, it not only makes it easy to manage a server, more importantly, is just a click, you can manage multiple servers connected via a network in one place. It is very lightweight, Web interface is very easy to use. In this post, we will learn how to install and use it to manage Cockpit our running Fedora, CentOS, Arch Linux and RHEL release of the operating system of the server. Here is the Cockpit in our GNU / Linux server some great features:
it contains systemd service manager.
Journal log is a log for troubleshooting and analysis of the viewer.
LVM storage configuration including including simpler than ever before.
You can perform basic network configuration with Cockpit.
You can easily add and delete users, and manage multiple servers.
Second, start the installation
1.
# Command auto-completion yum -y install bash-completion
2. Install Docker CE
# Install the needed packages yum install -y yum-utils device-mapper-persistent-data lvm2 # Set stable mirror warehouse. You always need to use the stable repository mirroring, even if you also need to install the edge or testing mirroring warehouse building as well. yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo # Yum update package index yum makecache fast # Install the latest version of Docker CE yum install -y docker-ce # Start and enable Docker systemctl start docker systemctl enable docker
3. Install Cockpit management tools, and all plug-ins
# Installation Cockpit yum -y install cockpit cockpit-docker yum -y install cockpit- * # all plug-ins # Start and enable the Cockpit systemctl start cockpit systemctl enable cockpit.socket # Allowed through the firewall Firewalld firewall-cmd --add-service=cockpit --permanent firewall-cmd --reload # Use browser to open https: // ip-address: 9090
Account password is the root account