Installer GLPI, ajouter des équipements, gérer les tickets d'incident et utiliser FusionInventory pour l'inventaire automatique.
Debian 13 avec Apache2, PHP 8.2+ et MariaDB. Accès root. Espace disque suffisant (5 Go minimum).
sudo apt update sudo apt install apache2 php php-mysql php-curl php-gd php-intl \ php-xml php-zip php-mbstring php-ldap php-bz2 php-imap \ mariadb-server -y
# Créer la base de données GLPI
sudo mysql -u root << EOF
CREATE DATABASE glpi CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'glpi'@'localhost' IDENTIFIED BY 'GlpiPass!';
GRANT ALL PRIVILEGES ON glpi.* TO 'glpi'@'localhost';
FLUSH PRIVILEGES;
EOF
# Télécharger la dernière version de GLPI cd /tmp GLPI_VERSION=$(curl -s https://api.github.com/repos/glpi-project/glpi/releases/latest \ | grep '"tag_name"' | cut -d'"' -f4) wget https://github.com/glpi-project/glpi/releases/download/$GLPI_VERSION/glpi-$GLPI_VERSION.tgz # Extraire dans le répertoire web sudo tar xzf glpi-$GLPI_VERSION.tgz -C /var/www/html/ sudo chown -R www-data:www-data /var/www/html/glpi/ sudo chmod -R 755 /var/www/html/glpi/
# Créer un VirtualHost Apache pour GLPI
sudo nano /etc/apache2/sites-available/glpi.conf
<VirtualHost *:80>
ServerName glpi.lycee.local
DocumentRoot /var/www/html/glpi/public
<Directory /var/www/html/glpi/public>
Options -Indexes
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/glpi-error.log
CustomLog ${APACHE_LOG_DIR}/glpi-access.log combined
</VirtualHost>
sudo a2enmod rewrite sudo a2ensite glpi.conf sudo systemctl reload apache2
Accéder à : http://glpi.lycee.local (ou http://IP_SERVEUR/glpi) Assistant d'installation : 1. Langue : Français 2. Licence : Accepter 3. Prérequis : Vérifier que tout est en vert 4. Base de données : Hôte : localhost Base : glpi User : glpi Pass : GlpiPass! 5. Initialisation → Continuer 6. Fin d'installation → Utiliser GLPI Comptes par défaut : - glpi / glpi (super-admin — À CHANGER) - tech / tech (technicien) - normal / normal (utilisateur) - post-only / postonly (helpdesk utilisateur)
Parc > Ordinateurs > Ajouter Nom : PC-Etudiant-01 Type : Ordinateur portable Fabricant : Dell Modèle : Latitude 5520 Numéro de série : ABC123 Emplacement : Salle Réseau 201 Groupe : Etudiants Statut : En production → Ajouter Catégories d'équipements disponibles : - Ordinateurs - Imprimantes - Équipements réseau (switches, routeurs) - Téléphones - Écrans - Logiciels - Consommables
Assistance > Tickets > Créer un ticket Type : Incident (problème) ou Demande (service) Titre : Imprimante salle 201 ne fonctionne plus Description : L'imprimante HP LaserJet en salle 201 affiche une erreur papier... Priorité : Moyenne Catégorie : Matériel > Imprimante Technicien : Assigner à un technicien → Ouvrir
| Statut ticket | Signification |
|---|---|
| Nouveau | Ticket créé, pas encore pris en charge |
| En cours (attribué) | Assigné à un technicien |
| En cours (planifié) | Intervention planifiée |
| En attente | Attente d'informations ou matériel |
| Résolu | Problème résolu, attente confirmation |
| Clôturé | Ticket fermé définitivement |
# Installer le plugin FusionInventory dans GLPI # Configuration > Plugins > Marketplace > FusionInventory > Installer # Installer l'agent sur les machines à inventorier (Debian) sudo apt install glpi-agent -y sudo nano /etc/glpi-agent/agent.cfg # Modifier : server = http://glpi.lycee.local/ sudo systemctl enable --now glpi-agent # L'agent remontera automatiquement les infos matérielles/logicielles
✅ Réponse : Gestionnaire Libre de Parc Informatique
✅ Réponse : glpi / glpi
✅ Réponse : Changer les mots de passe par défaut et supprimer install.php
✅ Réponse : FusionInventory / GLPI-Agent
✅ Réponse : Un incident = dysfonctionnement à résoudre. Une demande = demande de service ou d'information