Insight: Managing Systems In RHEL 8 Using Web Console
In this tutorial, we will install the web console in Red Hat Enterprise Linux 8 and open the web console in using browser. You can manage the following task in RHEL 8 using web console:
- Managing services
- Managing user accounts
- Managing and monitoring system services
- Configuring network interfaces and firewall
- Reviewing system logs
- Managing virtual machines
- Creating diagnostic reports
- Setting kernel dump configuration
- Configuring SELinux
- Updating software
- Managing system subscriptions
Installing the web console
Red Hat Enterprise Linux 8 includes the RHEL 8 web console installed by default in many installation variants. If this is not the case on your system, install the
Cockpit package and set up the
cockpit.socket service to enable the RHEL 8 web console.
$ sudo yum install cockpit
Optionally, enable and start the cockpit.socket service, which runs a web server. This step is necessary, if you need to connect to the system through the web console.
$ sudo systemctl enable --now cockpit.socket
To verify the previous installation and configuration, you can open the web console.
If you are using a custom firewall profile, you need to add the
cockpit service to
firewalld to open port 9090 in the firewall:
$ sudo firewall-cmd --add-service=cockpit --permanent $ firewall-cmd --reload
1.4. Logging in to the web console
The following describes the first login to the RHEL web console using a system user name and password.
Use one of the following browsers for opening the web console:
- Mozilla Firefox 52 and later
- Google Chrome 57 and later
- Microsoft Edge 16 and later
System user account credentials
The RHEL web console uses a specific PAM stack located at
/etc/pam.d/cockpit. Authentication with PAM allows you to log in with the user name and password of any local account on the system.
Open the web console in your web browser:
- Remotely with the server’s hostname:
Remotely with the server’s IP address:
If you use a self-signed certificate, the browser issues a warning. Check the certificate and accept the security exception to proceed with the login.
The console loads a certificate from the
/etc/cockpit/ws-certs.ddirectory and uses the last file with a
.certextension in alphabetical order. To avoid having to grant security exceptions, install a certificate signed by a certificate authority (CA).
In the login screen, enter your system user name and password.
After successful authentication, the RHEL web console interface opens. Some of the basic thing that you can do using web console is:
basic system settings in the web console and thus be able to:
- Restart or shutdown the system in the web console.
- Change a system host name.
- Join the system to a domain.
- Configure time and time zones.
- Change a performance profile.
To restart the system:
Log in to the RHEL 8 web console.