How to Install GLPI Software

GLPI is a web-based open-source service management software. You will need a web server with PHP support and a database server before proceeding with the GLPI installation.

Ardian Fazri
Ardian Fazri
Feb 21, 2026

Installing GLPI on an Ubuntu Server

To run GLPI smoothly, your server must meet the standard LAMP stack (Linux, Apache, MySQL/MariaDB, PHP) requirements. Below is the step-by-step guide:

1. Install Tasksel

Tasksel is a Debian/Ubuntu tool that allows you to install multiple related packages as a coordinated "task."

sudo apt update && sudo apt install tasksel -y

2. Install LAMP Server

Use tasksel to quickly set up Apache, MySQL, and PHP.

sudo tasksel install lamp-server

3. Download GLPI

Navigate to the web directory and download the latest stable release from GitHub.

cd /tmp
wget [https://github.com/glpi-project/glpi/releases/download/10.0.1/glpi-10.0.1.tgz](https://github.com/glpi-project/glpi/releases/download/10.0.1/glpi-10.0.1.tgz)
tar -xvzf glpi-10.0.1.tgz
sudo mv glpi /var/www/html/

4. Install Required PHP Extensions

GLPI requires several PHP extensions to function correctly (such as mbstring, curl, and gd).

sudo apt install php-library php-mbstring php-curl php-gd php-xml php-intl php-bz2 php-zip php-ldap -y

5. Configure Permissions

GLPI needs to write to certain folders (like config and files). Assign ownership to the web server user (www-data).

sudo chown -R www-data:www-data /var/www/html/glpi
sudo chmod -R 755 /var/www/html/glpi

6. Create the Database

Login to MySQL and create a dedicated database and user for GLPI.

CREATE DATABASE glpi_db;
CREATE USER 'glpi_user'@'localhost' IDENTIFIED BY 'your_strong_password';
GRANT ALL PRIVILEGES ON glpi_db.* TO 'glpi_user'@'localhost';
FLUSH PRIVILEGES;
EXIT;

7. Complete Web-Based Installation

Open your browser and navigate to http://your-server-ip/glpi.

  1. Select Language: Choose your preferred language.
  2. License: Accept the GNU License.
  3. Installation Type: Select "Install" for a fresh setup.
  4. Environment Check: Ensure all requirements are "Green."
  5. Database Connection: Enter the database name, user, and password you created in step 6.
  6. Initialization: The system will initialize the tables.

Important: Default Credentials

After installation, GLPI creates four default accounts. Change these immediately for security:

  • glpi/glpi: Administrator account.
  • post-only/postonly: Helpdesk user (ticket creation only).
  • tech/tech: Technician account.
  • normal/normal: Standard user.

Conclusion

Setting up GLPI on Ubuntu is straightforward if you follow the LAMP stack requirements. Once installed, you can start populating your CMDB and configuring your helpdesk workflows.

Explore Topics