How to install Cockpit Server manager on Ubuntu 20.04 LTS

Manage your command-line Ubuntu 20.04 or 18.04 LTS server using the web-based graphical user interface of the Cockpit server Manager.

With Cockpit, a Linux system can be conveniently administered and controlled remotely using a browser. Among other things, the admin can take a look at the systemd journal, checks the load, starts and stops services, access terminal with root rights, and more.  Thanks to responsive design, the user interface automatically adapts to different screen sizes, which in turn enables convenient access via smartphones.

As the Administrators can switch to the command line at any time to create new user accounts, passwords, managing a web server, installing packages, and more, this tool becomes a one-stop solution to manage and monitor various servers… Furthermore, from a single web interface of Cockpit, we can manage several Linux systems, however, they all should have Cockpit installed.

Cockpit Server Management install on Ubuntu 20.04 LTS

The steps given here are the same for other Ubuntu-based Linux systems.

1. Run Apt update

If you have physical access to your server then run the system update command otherwise on your local computer use SSH to connect the remote server where you want to install Cockpit and then use the below syntax.

sudo apt update

 

2. Command to install Cockpit on Ubuntu 20.04/18.04

The packages we need to install Cockpit server manager are already in the official repository of Ubuntu 20.04, thus, we only need to use the APT package manager to download and install them on our Server or Desktop system.

sudo apt install cockpit
or 
sudo apt install cockpit-*

Ubuntu 20.04 apt install cockpit

 

3.  Access web interface

Open the browser on your local system and enter the IP address of the remote or local server where you have installed the Cockpit manager along with a port number 9090 .

For example: 192.168.0.111:9090

 

4. Login Cockpit Server manager

Once you open the web interface of this open-source server manager, you will get the login interface. Where enter your Server’s username and password, where you have installed the Cockpit.

Login Cockpit ubuntu

 

5.  Dashboard

Finally, you will have the Dashboard of Cockpit along with other options such as Service Manager, Terminal, Networking, Storage, and more, to manage the Ubuntu CLI or GUI server using the web interface of this tool.

Cockpit Dashboard Interface on Ubuntu Linux

 

6. Cockpit Virtual Machines

By default, the option of the Virtual machine on Cockpit will not be available to use, because we have to install it manually. Simply click on the Terminal option given on the Dashboard of Cockpit and run the below command:

sudo install cockpit-machines

Once the installation is completed you will see the “VirtualMachines” option in the menu. Select that and click on Create VM button to start with a new VM directly from the CockPit interface.

Cockpit Virtual machine install

Other Articles:

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.