Ubuntu: Install Copilot for Web based management of Server

Ubuntu: Install Copilot for Web based management of Server

April 23, 2025 Linux Server System Administration Useful information 0

πŸ“Œ Step 1: Update your package sources

Open a terminal and run:

sudo apt update && sudo apt upgrade -y

πŸ“Œ Step 2: Install Cockpit

Cockpit is available in the official Ubuntu repositories. Install it with:

sudo apt install -y cockpit

πŸš€ Extra options: Want the Docker, NetworkManager, or Storage modules as well? Install them with:

sudo apt install -y cockpit-docker cockpit-networkmanager cockpit-storaged

πŸ“Œ Step 3: Start and enable the Cockpit service

After installation, make sure the service is running:

sudo systemctl enable --now cockpit.socket

Check if Cockpit is active:

sudo systemctl status cockpit

πŸ“Œ Step 4: Open the firewall (if necessary)

If you’re using UFW (Uncomplicated Firewall), open port 9090:

sudo ufw allow 9090/tcp

πŸ“Œ Step 5: Open Cockpit in your browser

Go to: πŸ‘‰ http://<server-ip>:9090

Log in with your Ubuntu username and password.

πŸ“Œ Step 6: (Optional) Install Webmin as an alternative

If you’d like another web-based management interface, you can also try Webmin:

wget -q -O- http://www.webmin.com/jcameron-key.asc | sudo apt-key add -
sudo add-apt-repository "deb http://download.webmin.com/download/repository sarge contrib"
sudo apt update
sudo apt install -y webmin

You can then access Webmin at: https://<server-ip>:10000


 

Buy Me A Coffee
Thank you for visiting. if you find this website helpful please buy me a coffee! to show your appreciation