INFOTHEMA

Auteur Sujet: CentOS - Fedora : Administrer sa machine avec Cockpit  (Lu 1944 fois)

Animateur

  • Administrator
  • Hero Member
  • *****
  • Messages: 5945
    • Voir le profil
CentOS - Fedora : Administrer sa machine avec Cockpit
« le: avril 27, 2020, 05:11:30 pm »
Introduction

Cockpit est une interface web permettant d'administrer son système.

Il fonctionne sous CentOS et Fedora.

Il existe de nombreux modules, permettant de garnir le panneau d'administration Cockpit.

Nous allons voir comment l'installer sous CentOS et Fedora

Pour CentOS 7, remplacez dnf par yum.

Installer Cockpit

On installe le logiciel cockpit :

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

systemctl enable cockpit.socket
systemctl start cockpit.socket

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

firewall-cmd --add-service=cockpit --permanent
firewall-cmd --reload

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

https://serveurcentos:9090


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 module Stockage


Cockpit module Machines


Cockpit module Teminal


Source linuxtricks.fr
Membre de l'APRIL (www.april.org) / Membre du bureau Association "Debian Facile"  (https://debian-facile.org)