GLPI (Gestionnaire Libre de Parc Informatique) is a powerful open-source IT asset management, issue tracking, and service desk system. This guide covers the installation of GLPI on a RHEL/CentOS-based server.
1. System Requirements
- Operating System: RHEL/CentOS 7, 8, or Stream
- Web Server: Apache (preferred), Nginx, or lighttpd
- PHP: 7.4 to 8.3 (for GLPI 10.x)
- Database: MariaDB >= 10.2 or MySQL >= 5.7
PHP Required Extensions
Install the following:
php
,php-mysqli
,php-curl
,php-gd
,php-intl
,php-xml
,php-json
,-
php-session
,php-zip
,php-bz2
,php-fileinfo
2. Install Dependencies
sudo yum install -y epel-release sudo yum install -y httpd mariadb-server php php-mysqli php-curl php-gd php-intl php-xml php-json php-zip php-bz2 php-fileinfo unzip wget
Start and enable services:
sudo systemctl enable --now httpd mariadb
3. Configure MariaDB
Secure your database:
sudo mysql_secure_installation
Create GLPI database:
CREATE DATABASE glpidb CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; CREATE USER 'glpiuser'@'localhost' IDENTIFIED BY 'your_secure_password'; GRANT ALL PRIVILEGES ON glpidb.* TO 'glpiuser'@'localhost'; FLUSH PRIVILEGES;
4. Download and Extract GLPI
Download latest version:
cd /var/www/html sudo wget https://github.com/glpi-project/glpi/releases/download/10.0.18/glpi-10.0.18.tgz sudo tar -xvzf glpi-10.0.18.tgz sudo chown -R apache:apache glpi sudo chmod -R 755 glpi
5. Configure Apache
Create a new configuration file:
sudo vi /etc/httpd/conf.d/glpi.conf
Add:
<VirtualHost *:80> DocumentRoot "/var/www/html/glpi" ServerName glpi.local <Directory "/var/www/html/glpi"> AllowOverride All Require all granted </Directory> </VirtualHost>
Then restart Apache:
sudo systemctl restart httpd
6. Configure Firewall (if active)
sudo firewall-cmd --permanent --add-service=http sudo firewall-cmd --reload
7. Web Installation Wizard
- Open your browser and navigate to
http://your-server-ip/glpi
- Select language and accept the license
- Choose Install and follow prompts:
- Database server:
localhost
- Database name:
glpidb
- User:
glpiuser
- Password:
your_secure_password
- Create admin and user accounts
- Complete installation

Don’t forget to delete the /var/www/html/glpi/install directory after installation for security.
8. Post-Installation
8.1 Change Default Credentials
- Log in as
glpi
/glpi
- Change password immediately from the admin interface
8.2 Configure Email Notifications
- Go to Setup > Notifications > Notification settings
- Add SMTP configuration for your mail server
8.3 Enable Scheduled Tasks
- Set up cron jobs for GLPI maintenance:
echo "*/5 * * * * apache /usr/bin/php /var/www/html/glpi/front/cron.php" | sudo tee /etc/cron.d/glpi
8.4 Setup LDAP Authentication (optional)
- Go to Setup > Authentication > LDAP directories
- Add your directory configuration
8.5 Configure Automatic Inventory (optional)
- Install and configure GLPI Agent on client machines
8.6 Install Plugins
- Navigate to Setup > Plugins
- Upload and install plugins to enhance functionality
GLPI is now installed and ready to use. Explore its modules for asset management, ticketing, knowledge base, and more. Contact us for any assistance.
Leave a Comment
Your email address will not be published. Required fields are marked with *