Skip to content
Follow
Ubuntu Linux

How to Install Cockpit Web Console on Ubuntu Linux

Richard
Written by
Richard
Nov 5, 2023 Updated Sep 15, 2026 2 min read
How to Install Cockpit Web Console on Ubuntu Linux
How to Install Cockpit Web Console on Ubuntu Linux

Cockpit is a free web-based management tool for Ubuntu Linux that lets you control your server through a visual browser dashboard instead of the command line. You can check CPU usage, manage storage drives, and update software using simple point-and-click menus.

Advertisement

Ubuntu 22.04 LTS and newer releases support Cockpit out of the box with a quick terminal installation. Setting up the web console takes just a few moments and gives you direct access to your system diagnostics and logs from any web browser on your network.

⚡ Quick Answer

Install Cockpit by running `sudo apt update` and `sudo apt install cockpit cockpit-podman` in the terminal. Then, enable and start the service with `sudo systemctl enable –now cockpit`. Finally, access it in your browser at `http://localhost:9090`.

Advertisement

Install Cockpit web interface

You can install the Cockpit web console on Ubuntu using the built-in package manager by running a few short commands in your terminal. Because the official Ubuntu repositories already contain all the required files, you do not need to add any outside software sources or change complicated system settings to get the web interface up and running.

Run the installation commands in your terminal.

Default repositories include all required Cockpit packages, eliminating the need for external software sources.

Install Cockpit with the commands below.

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

Enable the Cockpit service so it starts automatically every time your server boots.

sudo systemctl start cockpit
sudo systemctl enable cockpit

Confirm that Cockpit runs properly by executing the following status check.

systemctl status cockpit

Port 9090 serves as the default network listener for Cockpit. Active Ubuntu firewalls require an explicit rule to permit inbound traffic on this port before the dashboard loads.

Use this command to open the port.

Advertisement
sudo ufw allow 9090
sudo ufw allow 80
sudo ufw reload

Navigate to your server hostname or IP address appended with port 9090 in your web browser.

http://localhost:9090

The login portal appears immediately. Authenticate using administrative server credentials to access the interface.

Cockpit web console login page
Cockpit web console login page

Manage server operations directly from the dashboard.

Cockpit dashboard console
Cockpit dashboard console

This completes the setup.

Conclusion:

  • Cockpit provides an easy and intuitive way to manage Ubuntu Linux servers using a web-based interface, making it accessible to novice and experienced users.
  • With Cockpit, users can start containers, configure networks, manage storage, inspect logs, and handle most system settings across servers from a user-friendly interface.
  • Installing and enabling Cockpit on Ubuntu Linux involves running a few straightforward commands in the terminal. Once set up, users can access it through a web browser to start managing their servers efficiently.

Was this guide helpful?

Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

Advertisement

📚 Related Tutorials

How to Install Ubuntu Linux
Ubuntu Linux How to Install Ubuntu Linux
How to Install GNOME Desktop on Ubuntu 24.04
Ubuntu Linux How to Install GNOME Desktop on Ubuntu 24.04
How to Install KDE Desktop on Ubuntu 24.04
Ubuntu Linux How to Install KDE Desktop on Ubuntu 24.04

No comments yet — be the first to share your thoughts!

Leave a Comment

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