How do I Install GLPI on CentOS 8 / RHEL 8?. GLPI is a free and open source IT service management (ITSM) tool for planning and managing Assets in IT operations. With GLPI you can split entities based on their respective administrative policies and allowed expenditure.

For Ubuntu installation, use Install GLPI on Ubuntu guide, and for CentOS 7 / Fedora, check installation of GLPI on CentOS 7 / Fedora.

Features of GLPI

These are the core features of GLPI.

  • Inventory Management – For computers, computers, peripherals, network printers e.t.c.
  • Item lifecycle management
  • Incidents, requests, problems and changes management
  • Data Center Infrastructure Management (DCIM)
  • Licenses management (ITIL compliant)
  • Management of warranty and financial information (purchase order, warranty and extension, damping)
  • Management of contracts, contacts, documents related to inventory items
  • Knowledge base and Frequently-Asked Questions (FAQ)
  • Asset reservation

Visit the features page to learn more.

Install GLPI on CentOS 8 / RHEL 8

Let’s now dive into the installation of GLPI on CentOS 8 / RHEL 8 Linux distribution.The process involves installation of dependent packages such as database server.

Step 1: Install MariaDB Database server

GLPI requires a relational database to store its data. Let’s install MariaDB on our CentOS /RHEL 8 system using our guide below.

Install MariaDB on RHEL / CentOS 8

After installation of Database, Create GLPI database and account.

# mysql -u root -p

CREATE USER 'glpi'@'%' IDENTIFIED BY 'glpiDBSecret';
GRANT USAGE ON *.* TO 'glpi'@'%' IDENTIFIED BY 'glpiDBSecret';
GRANT ALL PRIVILEGES ON `glpi`.* TO 'glpi'@'%';

Check the database connection.

$ mysql -uglpi -pglpiDBSecret glpi

Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 18
Server version: 10.3.11-MariaDB MariaDB Server

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [glpi]> EXIT

Step 2: Add Remi RPM repository

The latest RPM packages for GLPI are available on remi yum repositories. Let’s add them to our system.

sudo dnf -y install
sudo dnf -y install
sudo dnf module enable glpi:9.4

Enable GLPI module.

$ sudo dnf module enable glpi:9.4
Last metadata expiration check: 0:01:29 ago on Sun 29 Sep 2019 11:57:16 PM EAT.
Dependencies resolved.
 Package         Arch           Version            Repository       Size
Enabling module streams:
 glpi                           9.4                                     
 httpd                          2.4                                     
 nginx                          1.14                                    
 php                            7.2                                     

Transaction Summary

Is this ok [y/N]: y

Step 3: Install GLPI on CentOS 8 / RHEL 8 Linux

Now install the dependencies required and GLPI.

sudo dnf module reset -y  php
sudo dnf module install -y  php:remi-7.3
sudo dnf module install -y glpi:9.4

Start and enable httpd service.

sudo systemctl enable --now httpd

If you have firewalld service, allow http port.

sudo firewall-cmd --zone=public --add-service=http --permanent
sudo firewall-cmd --reload

Turn on some SELinux booleans required.

sudo setsebool -P httpd_can_network_connect on
sudo setsebool -P httpd_can_network_connect_db on
sudo setsebool -P httpd_can_sendmail on

Step 4: Configure GLPI on CentOS 8 / RHEL 8

Initial installation from the web browser is only allowed via local access (from the GLPI server). Add your IP address to allow remote installation.

Add your IP on line 29, it should look like this:

$ sudo vi /etc/httpd/conf.d/glpi.conf

<Directory /usr/share/glpi/install>

    # Install is only allowed via local access (from the GLPI server).
    # Add your IP address if you need it for remote installation,
    # but remember to remove it after installation for security.

    <IfModule mod_authz_core.c>
        # Apache 2.4
        Require local
        Require  ip
        # Require ip ##.##.##.##
    <IfModule !mod_authz_core.c>
        # Apache 2.2
        Order Deny,Allow
        Deny from All
        Allow from
        Allow from ::1

Then access GLPI web console to complete GLPI installation on CentOS 8 / RHEL 8.


You can also access the installer on http://localhost/glpi/install/install.php. Follow next installation steps to complete setup.

Select Language and Accept License.

install glpi ubuntu 18.04 01

Choose install.

install glpi centos 8 01

All compatibility checks of your environment with the execution of GLPI should pass.

Provide database access credentials for Data population.

install glpi ubuntu 18.04 05

Select glpi existing database in your next screen.

install glpi centos 8 02

Initialization should finish in few seconds.

install glpi centos 8 03

Follow other prompts to get to the last page with access credentials.

install glpi centos 8 04

Default initial logins / passwords are:

  • glpi/glpi for the administrator account
  • tech/tech for the technician account
  • normal/normal for the normal account
  • post-only/postonly for the postonly account

Login and change the default login credentials.

install glpi centos 8 05
install glpi centos 8 06

To this stage, GLPI is installed on CentOS/RHEL 8. The remaining bit is on customization and building up a database with all your company inventory – computer, servers, software, printers, cameras, alarms e.t.c.

Check official documentation on GLPI configuration to manage your Infrastructure assets.

Similar guides:

How to Install OCS Inventory Server on Ubuntu 18.04

How to Install osTicket on Ubuntu 18.04 Bionic Beaver

Install Ralph CMDB / Asset Management system on Ubuntu 18.04

Install i-doit Asset Management Tool on Ubuntu 18.04

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!

As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.


Please enter your comment!
Please enter your name here