Ubuntu: Install Copilot for Web based management of Server
📌 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