How to install and activate Cockpit web console on RHEL 8

Cockpit is a web-based interface for managing servers running Red Hat Enterprise Linux (RHEL) 8. Here is an overview of the steps to install and activate Cockpit on RHEL 8:

  1. Install the Cockpit package using the dnf package manager:
sudo dnf install cockpit
  1. Start the Cockpit service:
sudo systemctl start cockpit.socket
  1. Enable the Cockpit service to start automatically at boot:
sudo systemctl enable cockpit.socket
  1. Open a web browser and navigate to https://your-server-ip:9090. You should see the Cockpit login page.
  2. Log in to the Cockpit web console using your root or a user with sudo privileges.
  3. Once you are logged in, you should be able to access the Cockpit interface, where you can manage various aspects of your server, such as system services, users, and storage.

Note: If your server is running behind a firewall, you need to open the port 9090.

Note: These are just general steps, for more detailed and accurate information please refer to the official documentation of Cockpit and Red Hat Enterprise Linux 8

Cockpit is a very useful tool, which provides a user-friendly web interface for managing servers running Red Hat Enterprise Linux 8, it provides various features like log in to the Cockpit web console using your root or a user with sudo privileges, manage various aspects of your server, such as system services, users, and storage.

Leave a Comment