Cockpit is a web-based graphical interface for managing Linux servers which allows you to monitor and manage your system resources, services and applications.
In this tutorial, we will show you how to install Cockpit on Linux Mint Latest.
Before we begin, make sure you have the following prerequisites:
Before installing any packages on your system, it is recommended to update your system package repository.
Open your terminal and run the following command:
sudo apt-get update
Cockpit is available in the default Linux Mint Latest repositories. To install it, run the following command:
sudo apt-get install cockpit
After installing the Cockpit package, start and enable the cockpit.socket
service using the following commands:
sudo systemctl start cockpit.socket
sudo systemctl enable cockpit.socket
If you have enabled a firewall on your system, you need to allow port 9090 which is used by Cockpit.
To allow port 9090, run the following command:
sudo ufw allow 9090/tcp
Now, you can access Cockpit by opening the web browser and navigating to the URL https://<your-server-IP>:9090
or https://localhost:9090
if you are using the server locally.
You will see the Cockpit login page. Use your system credentials to log in.
Congratulations! You have successfully installed and configured Cockpit on your Linux Mint Latest system. You can now use Cockpit to manage your Linux server from the web interface.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!