How to install and activate Cockpit web console on RHEL 8

https://‮ww‬w.lautturi.com
How to install and activate Cockpit web console on RHEL 8

To install and activate the Cockpit web console on Red Hat Enterprise Linux (RHEL) 8, follow these steps:

  1. Enable the optional module repository by running the following command:
subscription-manager repos --enable rhel-8-for-x86_64-optional-rpms
  1. Install the Cockpit package using the following command:
sudo yum install cockpit
  1. Enable and start the Cockpit service using the following commands:
sudo systemctl enable --now cockpit.socket
  1. By default, Cockpit listens on port 9090. To access Cockpit from a remote machine, you will need to open this port in the firewall. To do this, run the following command:
sudo firewall-cmd --add-service=cockpit --permanent
sudo firewall-cmd --reload
  1. To access the Cockpit web console, open a web browser and go to the following URL:
http://server-ip-address:9090

Replace server-ip-address with the IP address of your RHEL 8 server. You will be prompted to enter the login credentials for a user with administrative privileges.

Created Time:2017-10-28 21:39:04  Author:lautturi