Analyzing Servers and Getting Support
Enabling the Web Console
Red Hat Enterprise Linux 8 installs Web Console by default in all installation variants except
a minimal installation. Use the following command to install Web Console:
[user@host ~]$ sudo yum install cockpit
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 interface.
[user@host ~]$ sudo systemctl enable --now cockpit.socket
f you are using a custom firewall profile, you need to add the cockpit service to firewalld
to open port 9090 in the firewall:
[user@host ~]$ sudo firewall-cmd --add-service=cockpit --permanent
success
[user@host ~]$ sudo firewall-cmd --reload
success
Logging in to the Web Console
Open https://servername:9090 in your web browser, where servername is the host name or
IP address of your server.
Monitoring System Statistics in Real Time
Click System in the left navigation bar to view information about the system, such as its type
of hardware, operating system, host name, and more.
Changing Passwords
Privileged and non-privileged users can change their own passwords while logged in to Web
Console. Click Accounts in the left navigation bar. Click your account label to open the
account details page.
Monitoring System Statistics in Real Time
Click System in the left navigation bar to view information about the system, such as its type
of hardware, operating system, host name, and more.
Use the systemctl command to confirm that the cockpit service is running. Enter student
as the password when prompted.
[student@servera ~]$ sudo systemctl status cockpit.socket
On workstation, open Firefox and log in to the Web Console interface running on
servera.lab.example.com as the root user with redhat as the password.
1. Open Firefox and go to the https://servera.lab.example.com:9090 address.
2. If prompted, accept the self-signed certificate by adding it as an exception.
3. Log in as the root user with redhat as the password. You are now logged in as a
privileged user, which is necessary to create a diagnostic report.
4. Click Diagnostic Reports in the left navigation bar. Click on Create Report. The
report takes a few minutes to create.
When the report is ready, click on Download report. Save the file.
1. Click the Download report button, followed by the Save File button.
2. Click the Close button.
3. Log out from the Web Console interface.