Wie man

How To Install GLPI on Ubuntu 20.04/18.04 LTS

How To Install GLPI on Ubuntu 20.04/18.04 LTS

How to Install GLPI on Ubuntu 20.04/18.04?. GLPI is a powerful open source IT service management (ITSM) software tool designed to help you plan and easily manage your IT operations. GLPI allows you to solve problems more efficiently.

Its segmentation feature makes it easy to split entities based on their respective administrative policies and allowed expenditure. It has been argued that GLPI support management of large IT infrastructures with millions of assets.

We also have installation guides for CentOS 7 / Fedora, CentOS /RHEL 8.

Features of GLPI

Here are the top features of GLPI

All features of GLPI are available on the project website.

Install GLPI on Ubuntu 20.04/18.04 LTS Linux

We will cover the steps of installing GLPI on Ubuntu 20.04/18.04 LTS in the remaining sections. Before you can follow this guide along, you need to have a fresh installation of Ubuntu and user account with sudo privileges.

Step 1:Update Ubuntu

As usual, ensure your packages list is up to date.

sudo apt update

You can also upgrade installed packages by running the following command.

sudo apt -y upgrade

Step 2: Install MariaDB database server

GLPI requires a relational database to store its data. Let's install MariaDB on Ubuntu by using our guide:

How to Install MariaDB on Ubuntu 18.04

You can also install from APT repository available:

sudo apt update sudo apt install mariadb-server sudo mysql_secure_installation

After the installation, Login to your database as root user.

$ sudo mysql -u root -p UPDATE mysql.user SET plugin = 'mysql_native_password' WHERE User = 'root'; FLUSH PRIVILEGES; QUIT;

Create a database and user for GLPI.

$ mysql -u root -p CREATE DATABASE glpi; CREATE USER 'glpi'@'localhost' IDENTIFIED BY 'StrongDBPassword'; GRANT ALL PRIVILEGES ON glpi.* TO 'glpi'@'localhost'; FLUSH PRIVILEGES; EXIT; 

Step 2: Install PHP and Apache

We need to have Apache web server and PHP installed for GLPI to run and be accessed from a web interface.

sudo apt-get -y install php php-curl,gd,imagick,intl,apcu,recode,memcache,imap,mysql,cas,ldap,tidy,pear,xmlrpc,pspell,gettext,mbstring,json,iconv,xml,gd,xsl

Then install Apache and its PHP module.

sudo apt-get -y install apache2 libapache2-mod-php

Step 3: Download and Install GLPI on Ubuntu 20.04/18.04

Download the latest stable release of GLPI. It follows a semantic versioning scheme, on 3 digits, where the first one is the major release, the second the minor and the third the fix release.

Check for the latest stable release on the Downloads page. As of this writing, this is 9.4.5.

sudo apt-get -y install wget export VER="9.4.5" wget https://github.com/glpi-project/glpi/releases/download/$VER/glpi-$VER.tgz

Uncompress the downloaded the archive:

tar xvf glpi-$VER.tgz

Move the created glpi folder to the /var/www/htmldirectory.

sudo mv glpi /var/www/html/

Give Apache user ownership of the directory:

sudo chown -R www-data:www-data /var/www/html/

Step 4: Finish GLPI installation

Visit your server IP or hostname URL on /glpi. If it is your local machine, you can use:

On the first page, Select your language.

Accept License terms and click “Continue“.

Choose 'Install' for a completely new installation of GLPI.

Confirm that the Checks for the compatibility of your environment with the execution of GLPI is successful.

Configure Database connection

Select glpi database to initialize.

Finish the other setup steps to start using GLPI.

You should get the login page.

Default logins / passwords are:

On first login, you're asked to change the password. Please set new password before configuring GLPI. This is done under Administration > Users.

This marks the end of installing GLPI on Ubuntu 18.04. The next sections are about adding assets and other IT Management stuff for your infrastructure/environment. For this, please refer to the official GLPI documentation.

Similar Articles

How to Install OCS Inventory Server on Ubuntu

How to Install osTicket on Ubuntu

Install Ralph CMDB / Asset Management system on Ubuntu

Install i-doit Asset Management Tool on Ubuntu

Nach Kritik macht Apple Schluss damit, dass Drittanbieter auf Siri hören
So gut wie digitale persönliche Assistenten wie Alexa, Siri, Google Assistant usw. sind, begannen alle zu erkennen, dass die Assistenten immer noch di...
Vierte Stadt in Florida in weniger als zwei Monaten gehackt
Es ist keine gute Sache, wenn so viele große Unternehmen gehackt werden, dass sie nicht viel Berichterstattung auslösen. Es gibt eine Online-Shopping-...
Instagram-Werbetreibender sammelte und verfolgte Millionen von Benutzerstandorten und -geschichten
Facebook ist dafür bekannt, dass Werbetreibende Daten von Nutzern stehlen können. Es hat in großem Maße zum allgemeinen Misstrauen gegenüber Technolog...