Installing Cockpit on Centos 7

Cockpit is a web based console for your server. You can create, manage, or delete virtual machine remotely with a nice GUI. Also you can view logs, system load, networking usage, etc. A lot of nice and useful information about your server.

My server runs Centos 7 if your using a different flavor of Linux this might vary a little depending on your distro.

1st Step:

Like always the first thing to do is make sure your system is  up-to-date.

$ sudo yum update

2nd Step:

Install

$ sudo yum install cockpit

$ sudo yum install cockpit-machines

Check to see if you have virt-viewer install

$ sudo yum install virt-viewer

3rd Step:

Start and enable the daemon

$ sudo systemctl enable –now cockpit.socket

$ sudo systemctl start cockpit.socket

Check the status

$ systemctl status cockpit

4th Step:

Allow the service through your firewall

$ sudo firewall-cmd –add-service=cockpit

$ sudo firewall-cmd –add-service=cockpit –permanent

$ firewall-cmd –reload

5th Step:

The web console is now up and running

From your browser go to your enter thee ip address of your server using port 9090

http://<server-ip-address&gt;:9090

More than likely you will be stopped with a warning about the SSL and that it might not be safe. This is because the SSL certificate is self-signed. You can ignore this and proceed. This is done usually by clicking advanced and continue to site.

You use your log in credentials of the user you have on your server.

 

 

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s