DEV Community

Cover image for How to Install Cockpit on CentOS 7
Mohammad Zakery
Mohammad Zakery

Posted on • Edited on

1

How to Install Cockpit on CentOS 7

Cockpit is available in CentOS 7 and later :

1.Install cockpit :

sudo yum install cockpit
Enter fullscreen mode Exit fullscreen mode

2.Enable cockpit :

sudo systemctl enable --now cockpit
Enter fullscreen mode Exit fullscreen mode

3.Open up your web browser and login with root :

https://IP_ADDRESS_OF_MACHINE:9090
Enter fullscreen mode Exit fullscreen mode

4.it did not work? you can open up the firewall with the following commands :
‍‍‍

sudo firewall-cmd --permanent --zone=public --add-service=cockpit
sudo firewall-cmd --reload
Enter fullscreen mode Exit fullscreen mode

5.Use the following code to connect to virtual machines :

sudo apt install cockpit-machines
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Image of Docusign

Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more