

Install GLPI on CentOS 8|RHEL 8|Rocky Linux 8
source link: https://computingforgeeks.com/install-glpi-on-centos-rhel-rocky-linux/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

How do I Install GLPI on CentOS 8|RHEL 8|Rocky Linux 8 Linux system?. 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|Rocky Linux 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.
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';
CREATE DATABASE IF NOT EXISTS `glpi` ;
GRANT ALL PRIVILEGES ON `glpi`.* TO 'glpi'@'%';
FLUSH PRIVILEGES;
exit
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
Bye
Step 3: Install GLPI on CentOS 8|RHEL 8|Rocky Linux 8 Linux
Now install the dependencies required and GLPI.
sudo dnf module reset -y php
sudo dnf module install -y php:7.4
sudo dnf install php-{mysqlnd,gd,intl,ldap,apcu,xmlrpc,opcache,zip,xmlrpc}
Install, start and enable httpd service.
sudo dnf -y install httpd vim wget unzip
sudo systemctl enable --now httpd php-fpm
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
Download GLPI tarball:
wget https://github.com/glpi-project/glpi/releases/download/9.5.6/glpi-9.5.6.tgz
tar xvf glpi-9.5.6.tgz
Move the glpi directory /var/www/html directory:
sudo mv glpi /var/www/html
Set directory permissions
sudo chmod -R 755 /var/www/html/glpi
sudo chown -R apache:apache /var/www/html/glpi
Configure SELinux:
sudo dnf -y install policycoreutils-python-utils
sudo semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html/glpi(/.*)?"
sudo restorecon -Rv /var/www/html/glpi
Step 4: Configure GLPI on CentOS 8|RHEL 8|Rocky Linux 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.
Create Apache httpd configuration file:
sudo vim /etc/httpd/conf.d/glpi.conf
Add add the
<VirtualHost *:80>
ServerName glpi.example.com
DocumentRoot /var/www/html/glpi
ErrorLog "/var/log/httpd/glpi_error.log"
CustomLog "/var/log/httpd/glpi_access.log" combined
<Directory> /var/www/html/glpi/config>
AllowOverride None
Require all denied
</Directory>
<Directory> /var/www/html/glpi/files>
AllowOverride None
Require all denied
</Directory>
</VirtualHost>
Then access GLPI web console to complete GLPI installation on CentOS 8 / RHEL 8.
http://ServerIP_or_Hostname/glpi/
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.
Choose install.
All compatibility checks of your environment with the execution of GLPI should pass.
Provide database access credentials for Data population.
Select glpi existing database in your next screen.
Initialization should finish in few seconds.
Follow other prompts to get to the last page with access credentials.
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.
To this stage, GLPI is installed on CentOS 8|RHEL 8|Rocky Linux 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:
Recommend
-
12
Install Saltstack Master/Minion on CentOS 8Search ComputingForGeeks
-
14
Install Centreon Monitoring Tool on CentOS 8Monitoring is a key component of Infrastructure and Applications management, be it on-premise or in Cloud setups. There is a large pool of tools that you can choose from when making a decision on wh...
-
5
How To Install GLPI on CentOS 7 & Fedora 32/31/30/29How to Install GLPI on CentOS 7 & Fedora 32/31/30/29?. GLPI is a powerful open source IT service management (ITSM) software tool designed to help you plan and easily manage your IT o...
-
18
Install Java 11 (OpenJDK 11) on RHEL 8This article will help you to install Oracle Java 11 on RHEL 8 / CentOS 8 / Rocky Linux 8. Java 11 is a long-term support (LTS) release which was made available to the General public on 25 September 2018...
-
4
Rocky Linux 8 vs CentOS Stream 8 vs RHEL 8 vs Oracle Linux 8The future of Linux has lived up to the expectations that most people have when they begin a project, a relationship, career or anything that will be long-term. Linux has had a stell...
-
8
Reset root password in RHEL 8As humans, we tend to forget things especially if all is stored in our minds. Is it possible to reset a forgotten root password on RHEL 8 / CentOS 8 / Rocky Linux 8 Linux?. If this is your question, t...
-
11
Setup TFTP server on CentOS 8|RHEL 8|Rocky Linux 8This guide will discuss how to install TFTP Server on CentOS 8|RHEL 8|Rocky Linux 8 Linux machine. The Trivial File Transfer Protocol (TFTP) is a UDP protocol designed to allo...
-
11
Install JBoss EAP 7.x on CentOS 8|RHEL 8|Rocky Linux 8This guide aims to demonstrate how to install JBoss EAP 7.x on CentOS 8|RHEL 8|Rocky Linux 8. But before we dive into the nub of this matter, we will elucidate and get to know what JBoss E...
-
8
Install Node.js 18 on CentOS 8|RHEL 8|Rocky Linux 8We all know JavaScript as a language to write once and run anywhere. Node.js is a popular programming language mainly because it uses the JavaScript as the main application to create new appl...
-
6
CentOS 代替品 Rocky Linux 用户已超 RHEL 2
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK