How to install the CentOS 8 Cockpit Web Console

Cockpit is a Web console with a Web-based interface is easy to use, allowing you to perform administrative tasks on the server. It is also a Web console, which means that you can also access it via mobile devices.

How to install the CentOS 8 Cockpit Web Console

Cockpit Web console

Cockpit Web console enables you to perform a variety of administrative tasks, including:

  • Management Services
  • Managing User Accounts
  • Management and monitoring system services
  • Configure network interfaces and firewall
  • Check the system log
  • Managing Virtual Machines
  • Create a diagnostic report
  • Set the kernel dump configuration
  • Configuring SELinux
  • Software update
  • Subscription management system

Cockpit Web console uses the same terminal system API, and the task will be carried out in the terminal quickly reflected in the Web console. In addition, you can in the Web console or configuration settings directly through the terminal.

Installed in CentOS 8 Cockpit Web Console

1. Use CentOS 8 minimal installation, the Cockpit not installed by default, you can use the following command which is installed on the system, this command will be required to install dependencies Cockpit.

# yum install cockpit

How to install the CentOS 8 Cockpit Web Console

2. Next, enable and start cockpit.socket services to connect to the system through the Web console and use the following command to verify the service and run the cockpit process.

# systemctl start cockpit.socket
# systemctl enable --now cockpit.socket
# systemctl status cockpit.socket

How to install the CentOS 8 Cockpit Web Console

# ps auxf|grep cockpit

How to install the CentOS 8 Cockpit Web Console

3. If you are running firewalld on your system, you need to open Cockpit port 9090 in the firewall.

# firewall-cmd --add-service=cockpit --permanent
# firewall-cmd --reload

How to install the CentOS 8 Cockpit Web Console

Log on to the CentOS in 8 Cockpit Web Console

The following description shows the use of the Local System account credentials user first logs Cockpit Web console. Due to the use of specific PAM stack Cockpit identity found in /etc/pam.d/cockpit the verification, the user name and password to log in to any local account on the system that you can use.

4. In the Web browser, open the Cockpit network console the following URL:

If you are using a self-signed certificate, you will receive a warning in the browser, just verify the certificate and undergo a security exception, you can continue to log on.

Call certificate from /etc/cockpit/ws-certs.d console directory and use .cert file extension. To avoid security warnings prompted, install the certificate by a certification authority (CA) signed.

How to install the CentOS 8 Cockpit Web Console

5. In the Web console login screen, enter the system user name and password.

If the user account has sudo privileges, you can perform administrative tasks, such as installing software in the Web console, configure the system or configure SELinux.

How to install the CentOS 8 Cockpit Web Console

6. After successful authentication, will open the Cockpit Web console interface.

How to install the CentOS 8 Cockpit Web Console

that's it. Cockpit is an easy-to-use Web console that lets you perform administrative tasks on CentOS 8 server. For more information on the Web console, read How to configure system settings in the Web console .

Guess you like

Origin www.linuxidc.com/Linux/2019-10/161221.htm