Skip to content

PapyPoc/glpi_install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installing and updating GLPI on Debian and Red Hat

Image

About this script

Latest version of GLPI : 10.0.19

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.

Distribution and Web server

Important

OS VERSION COMPATIBILITY WEB SERVER
Debian 11 Apache
Debian 12 Apache
Ubuntu 23.10 Apache
Ubuntu 24.04 Apache
Ubuntu 24.10 ⚠️ A tester 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.

Default accounts

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

Read the documentation

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

How to use

GLPI is installed by running the following command in your terminal.

Important

⚠️ It is strongly recommended to run this script on a new installation or on an installation made with this script.

⚠️ Make sure the script is no longer present in the /root directory.

⚠️ You must be logged in as root. To do this, type su - into the console.

⚠️ Git must be installed on your machine, to install it do :

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

About

Installing and updating GLPI on Debian and Red Hat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •  

Languages