Cockpit Server Install on Debian 13

This will show how I set up Cockpit Server Tools on Debian 13. This can be on bare metal,VM or container. If using a Proxmox container, make sure it is a privaliged container. This will enable it to mount NFS shares from an external nfs server. If you are using a Proxmox CT or VM, you will need to ssh into the machine via a local terminal.



Install Cockpit.

sudo apt update && sudo apt upgrade -y

sudo apt install cockpit -y

When installed, you will be able to access Cockpit with Debian IP address and port :9090.

http://<ip-address>:9090

If you don’t want the use port :9090, you can change it.

Start by creating the directory:

sudo mkdir -p /etc/systemd/system/cockpit.socket.d/

Then create the configuration file:

sudo nano /etc/systemd/system/cockpit.socket.d/listen.conf

Then paste into the configuration file:

[Socket]
ListenStream=
ListenStream=443

then save & close the file with: Ctrl+O enter Ctrl+X.

https://<ip-address>

Now you can access cockpit with HTTPS (no need to state port :443)