Utiliser Fedora, Red Hat et dérivées

Administrer sa machine avec Cockpit (Fedora, Red Hat et dérivées)

Table des matières

cockpit-logo



Introduction



Cockpit est une interface web permettant d'administrer son système.
Il fonctionne sous RHEL, CentOS, Alma Linux et Fedora.
Il existe de nombreux modules, permettant de garnir le panneau d'administration Cockpit.

Nous allons voir comment l'installer sous RHEL, CentOS, Alma Linux et Fedora

Pour CentOS 7, remplacez dnf par yum.

Installer Cockpit



On installe le logiciel cockpit :

Code BASH :
dnf install cockpit


On active au démarrage cockpit et on le démarre :

Code BASH :
systemctl enable --now cockpit.socket


Il est nécessaire aussi d'ouvrir le parefeu, un service est préexistant :

Code BASH :
firewall-cmd --add-service=cockpit --permanent
firewall-cmd --reload


Ensuite, on accède à Cockpit sur l'adresse IP du serveur, port 9090 :

https://serveur:9090

cockpit-dashboard



Enrichir Cockpit avec des modules



Il est possible d'installer (j'ai laissé les descriptions en Anglais, ce qui m'est donné par dnf list sur Fedora) :

cockpit-389-ds : Cockpit UI Plugin for configuring and administering the 389 Directory Server
cockpit-bridge : Cockpit bridge server-side component
cockpit-composer : Composer GUI for use with Cockpit
cockpit-dashboard : Cockpit remote servers and dashboard
cockpit-docker : Cockpit user interface for Docker containers
cockpit-doc : Cockpit deployment and developer guide
cockpit-kdump : Cockpit user interface for kernel crash dumping
cockpit-machines : Cockpit user interface for virtual machines
cockpit-networkmanager : Cockpit user interface for networking, using NetworkManager
cockpit-ostree : Cockpit user interface for rpm-ostree
cockpit-packagekit : Cockpit user interface for packages
cockpit-pcp : Cockpit PCP integration
cockpit-podman : Cockpit component for Podman containers
cockpit-selinux : Cockpit SELinux package
cockpit-session-recording: Cockpit Session Recording
cockpit-sosreport : Cockpit user interface for diagnostic reports
cockpit-storaged : Cockpit user interface for storage, using udisks
cockpit-system : Cockpit admin interface package for configuring and troubleshooting a system

Celles que j'installe toujours sont :

cockpit-networkmanager cockpit-selinux cockpit-dashboard cockpit-system cockpit-storaged

Et accessoirement, sur ma machine qui propulse des VMS, j'ai installé cockpit-machines

Exemples



Cockpit module Réseau



cockpit-network



Cockpit module Stockage



cockpit-storage



Cockpit module Machines



cockpit-vms



Cockpit module Teminal



cockpit-terminal

Cette page a été vue 17832 fois