How to 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.

http://localhost:9090

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

Manage your server from the dashboard.

That should do it.

Conclusion:

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.


Discover more from Geek Rewind

Subscribe to get the latest posts to your email.

Like this:



Leave a Reply

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

Blog at WordPress.com.

Discover more from Geek Rewind

Subscribe now to keep reading and get access to the full archive.

Continue reading