This script was written to quickly and automatically install the latest version of GLPI on Ubuntu, Debian, Alma Linux, Centos, Rocky Linux and Red Hat servers. The installer analyzes the distribution's locale information to propose the default installation language.
Important
OS | VERSION | COMPATIBILITY | WEB SERVER |
---|---|---|---|
Debian | 11 | ✅ | Apache |
Debian | 12 | ✅ | Apache |
Ubuntu | 23.10 | ✅ | Apache |
Ubuntu | 24.04 | ✅ | Apache |
Ubuntu | 24.10 | Apache | |
Alma Linux | 9.5 | ✅ | Engine X (Nginx) |
Centos | 9 | ✅ | Engine X (Nginx) |
Rocky Linux | 9.5 | ✅ | Engine X (Nginx) |
Red Hat | 9.5 | ✅ | Engine X (Nginx) |
The script will automate the update of the system, the installation of a web server (Apache or Nginx), a MariaDB database, and PHP, as well as their dependencies. It will perform the download and installation of the latest version of GLPI from the official repository and finalize by configuring the database.
Once the script has run, all you need to do is connect to GLPI.
GLPI is installed without SSL. If you need to open access to GLPI from the outside and/or an SSL certificate, I recommend using a reverse proxy.
Login | Password | Role |
---|---|---|
glpi | Defined at installation | admin account |
post-only | Defined at installation | post-only account |
tech | Defined at installation | technician account |
normal | Defined at installation | normal account |
Please note that I have no connection with the team that develops GLPI and/or TecLib. If you encounter a problem with this script on one of the compatible distributions, you can create a request, and I'll be happy to help you. If you encounter a problem with GLPI and/or need more information on how it works, I recommend that you read the following documentation:
Documentation GLPI Administrators, Documentation GLPI Users
GLPI is installed by running the following command in your terminal.
Important
/root
directory.
su -
into the console.
Debian | Red Hat |
---|---|
apt install -y -qq git |
dnf install -y -qq git |
For the distribution Debian and Red Hat
git clone https://github.com/Papy-Poc/glpi_install.git -b main && chmod -R +x glpi_install && ./glpi_install/glpi-install