Skip to content
Follow
Ubuntu Linux

How to Install Cockpit Web Console on Ubuntu Linux

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

The Cockpit web console lets you manage an Ubuntu Linux server directly from your web browser using a visual dashboard instead of the command line.

Cockpit is a free tool that turns complicated server tasks into simple point-and-click menus, making it easy to check CPU usage, manage storage drives, and update software.

You can install Cockpit on Ubuntu 22.04 LTS and newer releases with a single command in your terminal.

⚡ 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`.

Install Cockpit web interface

Terminal commands handle the entire installation process. Because the necessary packages reside in Ubuntu’s standard software sources, setup requires minimal configuration.

Let’s get it installed.

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

Install Cockpit with the commands below.

🐧Bash / Shell
sudo apt update
sudo apt-get install cockpit
sudo apt-get install cockpit-podman

Systemd services require activation to ensure background daemons launch automatically on system boot.

🐧Bash / Shell
sudo systemctl start cockpit
sudo systemctl enable cockpit

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

💻Code
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.

🐧Bash / Shell
sudo ufw allow 9090
sudo ufw allow 80
sudo ufw reload

Browser navigation points to the server hostname or IP address appended with port 9090.

💻Code
http://localhost:9090

The login portal materializes 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.

📚 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 *