You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2.2 KiB
2.2 KiB
id | title | sidebar_label |
---|---|---|
debian-cockpit-installieren | Install Cockpit (Debian & Ubuntu) | Install Cockpit |
Installation of Cockpit on a Linux Debian or Ubuntu Server
Information
This tutorial will show you how to install Cockpit on a VPS or Dedicated Server.
You need a recent version of Debian or Ubuntu and root privileges.
First, log in as root using your preferred SSH client, such as PuTTY, Terminus, or Tabby.
Before proceeding with the installation, ensure that you have Sudo installed.
Supported Versions
Cockpit is available by default in the repositories of:
- Debian 10, 11, 12 (Buster, Bullseye, Bookworm)
- Ubuntu 20.04, 22.04, 24.04 (Focal, Jammy, Noble)
Installation
1️⃣ Update the package lists:
sudo apt update && sudo apt upgrade -y
2️⃣ Install Cockpit:
sudo apt install cockpit -y
3️⃣ (Optional) Install additional Cockpit modules:
- Cockpit Dashboard for multiple servers
sudo apt install cockpit-dashboard -y
- Storage management module
sudo apt install cockpit-storaged -y
- Networking tools (Firewall, Network Manager, etc.)
sudo apt install cockpit-networkmanager -y
- Podman (Docker alternative) integration
sudo apt install cockpit-podman -y
- Virtual Machines (KVM/QEMU) management
sudo apt install cockpit-machines -y
Starting & Enabling Cockpit
- Start the Cockpit service:
sudo systemctl start cockpit
- Enable Cockpit to start on boot:
sudo systemctl enable cockpit
- Check the service status:
sudo systemctl status cockpit
Accessing Cockpit Web Interface
Once installed, open your browser and navigate to:
https://<server-ip>:9090
Log in using your system’s root or sudo-enabled user credentials.
Note: If you are using a firewall (e.g., UFW), allow Cockpit's port:
sudo ufw allow 9090/tcp
Uninstalling Cockpit
If you want to remove Cockpit completely:
sudo apt remove --purge cockpit -y
sudo apt autoremove -y
Cockpit is now successfully installed and ready to use. ✔