How to Install Cockpit Web Console on Ubuntu Linux

Install Cockpit web console on Ubuntu Linux

The article provides a guide on installing and utilizing the Cockpit web interface on Ubuntu Linux. Cockpit is a user-friendly, web-based server interface that enables easy management of Ubuntu Linux servers. The article outlines the reasons for using Cockpit, provides step-by-step installation instructions, and describes its operation via network port 9090.

This article explains how to install and use the Cockpit web interface on Ubuntu Linux.

Cockpit is a web-based server interface intended for everyone, especially new users and those who want an easy, graphical way to administer Ubuntu Linux servers.

There are several reasons why you might want to install and use the Cockpit web console on Ubuntu Linux. For starters, it provides an easy and intuitive way to manage your Ubuntu Linux servers using a web-based interface, making it accessible to even those unfamiliar with the command line.

From the interface, you can easily start containers, configure networks, manage storage, inspect logs, and manage most system settings across servers. Additionally, Cockpit is specifically designed to be user-friendly and easy to navigate, so you won’t need any special technical skills to use it effectively.

Install and use the Cockpit web interface

As mentioned above, users can install the Cockpit web interface to help them manage Ubuntu Linux servers from their favorite web browsers.

Here’s how to do it.

The Cockpit packages are included in Ubuntu default repositories, so there is no need to install additional repositories.

To install Cockpit, run the commands below.

sudo apt update
sudo apt-get install cockpit
sudo apt-get install cockpit-podman

After installing, you can enable Cockpit services to start when the system boots.

sudo systemctl start cockpit
sudo systemctl enable cockpit

To verify that Cockpit is installed and running, run the command below.

systemctl status cockpit

Cockpit, by default, will listen on network port 9090. If you enable the Ubuntu firewall, you may want to allow traffic to that port.

Run the command below to do that.

sudo ufw allow 9090
sudo ufw allow 80
sudo ufw reload

Once all the steps above are completed, open your browser and browse to the server hostname or IP address followed by port # 9090.


You should see the Cockpit login page. Enter the server admin credentials and sign into the portal.

Cockpit web console login page

Manage your server from the dashboard.

Cockpit dashboard console

That should do it.


This post showed you how to install and use the Cockpit web console on Ubuntu Linux. If you find errors or have something to add, please use the comments form below.

Posted by

I love computers; maybe way too much. What I learned I try to share at

Leave a Reply

Your email address will not be published. Required fields are marked *

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