To install and activate the Cockpit web console on Red Hat Enterprise Linux (RHEL) 8, follow these steps:
subscription-manager repos --enable rhel-8-for-x86_64-optional-rpms
sudo yum install cockpit
sudo systemctl enable --now cockpit.socket
sudo firewall-cmd --add-service=cockpit --permanent sudo firewall-cmd --reload
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.