Cockpit is a web-based server manager that allows you to manage your Linux server through a web browser. In this tutorial, we will guide you through the steps to install Cockpit on MXLinux Latest.
Before you begin, make sure you have the following:
Open the terminal by pressing Ctrl
+Alt
+T
.
Update the system:
sudo apt update && sudo apt upgrade
Install Cockpit on your MXLinux Latest:
sudo apt install cockpit
Enable and start the Cockpit service:
sudo systemctl enable cockpit.service
sudo systemctl start cockpit.service
Check to ensure the Cockpit service is running:
sudo systemctl status cockpit.service
If the service is running, you should see an output similar to the following:
● cockpit.service - Cockpit Web Service
Loaded: loaded (/lib/systemd/system/cockpit.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2021-10-16 11:21:34 EDT; 5s ago
Docs: man:cockpit-ws(8)
Main PID: 13705 (cockpit-ws)
Tasks: 4 (limit: 8964)
Memory: 10.0M
CPU: 29ms
CGroup: /system.slice/cockpit.service
├─13705 /usr/libexec/cockpit-ws
└─13712 /usr/libexec/cockpit-session
Open your web browser and navigate to https://localhost:9090
. If you are accessing Cockpit from a remote machine, replace localhost
with the IP address of your MXLinux Latest server. You will be prompted with a warning page. Click on the "Advanced" button and click "Proceed to localhost (unsafe)".
You will be directed to the Cockpit login page. Use the credentials of the user that has sudo privileges to log in.
After logging in, you will see the Cockpit dashboard, which will display system information on the server.
Congratulations, you have successfully installed Cockpit on your MXLinux Latest server! You can now use Cockpit to manage your server through a web browser.
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!