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.
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.
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.
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.
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.
http://localhost:9090
The login portal materializes immediately. Authenticate using administrative server credentials to access the interface.

Manage server operations directly from the dashboard.

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?
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.
No comments yet — be the first to share your thoughts!