Discover the WebUI Cockpit project
nl:Ontdek het WebUI Cockpit project
it:Scoprire il progetto WebUI Cockpit
pt:Descubra o projecto WebUI Cockpit
es:Descubre el proyecto WebUI Cockpit
fr:Découvrir la WebUI Cockpit project
This article has been created by an automatic translation software. You can view the article source here.
Presentation
Cockpit project is an administration interface for operating systems based on the Linux kernel.
The list of supported systems is available at the official website of the project.
This tool allows you to fully administer your server via a web interface.
Quote from the Cockpit documentation :
Cockpit is a server manager that makes it easy to administer your Linux servers via a web browser. Jumping between the terminal and the web tool is not a problem. A service started via Cockpit can be stopped via the terminal. Also, if an error occurs in the terminal, it is displayed in the Cockpit log interface.
Cockpit is perfect for new system administrators, allowing them to easily perform simple tasks such as storage administration, log inspection, and starting and stopping services. You can monitor and administer multiple servers at the same time. Just add them with one click and your machines will take care of their peers.
Features
The following features are available in Cockpit, even with a minimal installation:
Overview Overview: Global view of operating system and hardware information. Overview: Usage graphs (CPU, Network, RAM and disk usage), hardware details and configurations are available.
Logs Logs : Display of system logs. Logs: It is possible to filter logs by date, severity and services.
Network Network: Display network information (Send/Receive, zones and firewall rules, interfaces, network logs). Network: Allows you to manage network interfaces and the firewall.
Accounts
User accounts : User account creation
To strengthen the security of the server, it is recommended to create a user account with the rights to log in to this user via the server. sudo
The user can log in to this user via cockpit and lock the account. root
.
Service Provisions Lists the services installed on the system and their status (active/inactive).
Applications Adds extensions to the cockpit.
Diagnostic Reports Collection of system configuration and diagnostic information.
Kernel Dump A memory dump mechanism that allows system memory to be saved after a kernel incident for later analysis.
Software Updates Software Updates: Checks for and displays available updates. Software Updates: Allows the installation of updates but also to schedule automatic updates.
SELinux SELinux error logs : Management and detail of SELinux error logs. SELinux : Propose solutions for each error detected by the SELinux service installed on the server.
Terminal Access to the terminal from the web browser.
Cockpit installation
En fonction de l'installation du serveur, Cockpit peut ne pas être installé et/ou activé par défaut.
Installation
Ci-dessous, on va procéder à une installation minimale de Cockpit sans les applications associées.
Il est décessaire d'être connecté en ssh à un utilisateur ayant les droits d'administration ou des droits sudo.
- Fedora / Red Hat / CentOS
# dnf check-update # dnf install cockpit-ws
- Debian / Ubuntu
# apt update # apt install cockpit
Activation
Pour activer Cockpit sur votre serveur, nous allons utiliser les commandes fournies par systemd, le gestionnaire de démarrage de la plupart des distributions Linux.
# systemctl enable --now cockpit
Une fois activé, nous pouvons vérifier le bon fonctionnement du service :
# systemctl status cockpit
Use
Pour utiliser Cockpit, accédez avec votre navigateur internet à https://[IP_du_serveur]:9090
.
Les identifiants et mots de passe correspondent aux utilisateurs du système d'exploitation.
Cet article vous a été utile ?
Enable comment auto-refresher