Files
bikinibottom/On host/Cockpit.md
2025-06-07 01:33:08 +02:00

3.0 KiB

created, tags, source, author
created tags source author
2025-06-06T10:03:38 (UTC +02:00)
https://cockpit-project.org/running.html

Running Cockpit — Cockpit Project

Excerpt

Cockpit makes it easy to administer your Linux servers via a web browser.


Debian

These commands require a POSIX compatible shell like bash. For other shells like fish, temporarily run bash -i.

Cockpit is available in Debian since version 10 (Buster).

  1. To get the latest version, we recommend to enable the backports repository (as root):

    . /etc/os-release
    echo "deb http://deb.debian.org/debian ${VERSION_CODENAME}-backports main" > \
        /etc/apt/sources.list.d/backports.list
    apt update
    
  2. Install or update the package:

    apt install -t ${VERSION_CODENAME}-backports cockpit
    

When updating Cockpit-related packages and any dependencies, make sure to use -t ...-backports as above, so backports are included.

Ubuntu

These commands require a POSIX compatible shell like bash. For other shells like fish, temporarily run bash -i.

Cockpit is available in Ubuntu, with updated versions in official backports for LTS releases.

We recommend installing or updating the latest version from backports. This repository is enabled by default, but if you customized apt sources you might need to enable them manually.

. /etc/os-release
sudo apt install -t ${VERSION_CODENAME}-backports cockpit

When updating Cockpit-related packages and any dependencies, make sure to use -t ...-backports as above, so backports are included.

Cockpit file sharing

https://github.com/45Drives/cockpit-file-sharing

Cockpit Sensors

https://github.com/ocristopfer/cockpit-sensors

Cockpit Identities

https://github.com/45drives/cockpit-identities

Not installed (yet)

Cockpit Navigator

https://github.com/45Drives/cockpit-navigator

Cockpit Files

https://github.com/cockpit-project/cockpit-files

Cockpit Docker

https://github.com/chabad360/cockpit-docker

Fix networking - Cockpit Software Updates - Loading available updates failed - Cannot refresh cache whilst offline

Excerpt

On a Ubuntu Server LTS 20.x, with renderer : networkd, LAN / WAN Connectivity are all properly fucntional. However in Cockpit > Software Updates, it gives the error message: Loading available up...

  1. Create a placeholder file and network interface. Create /etc/NetworkManager/conf.d/10-globally-managed-devices.conf with the contents:
[keyfile]
unmanaged-devices=none
  1. If you run on Ubuntu with arm64 (e.g.: on a Raspberry Pi), install extra Linux kernel modules for networking:
sudo apt install linux-modules-extra-raspi
  1. Set up a “dummy” network interface:
nmcli con add type dummy con-name fake ifname fake0 ip4 1.2.3.4/24 gw4 1.2.3.1
  1. Reboot (reload service ?)