

How To Install GLPI on CentOS 7 & Fedora 32/31/30/29
source link: https://computingforgeeks.com/how-to-install-glpi-on-centos-fedora/
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 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 operations. GLPI allows you to solve problems more efficiently.
For Ubuntu installation, use Install GLPI on Ubuntu guide.
CentOS/RHEL 8: How To Install GLPI on CentOS 8 / RHEL 8
GLPI segmentation feature makes it easy to split entities based on their respective administrative policies and allowed expenditure. With this tool, you can manage large IT infrastructures with millions of assets.
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 7 & Fedora 32/31/30/29
This section will discuss all the steps required to install, configure and run GLPI on CentOS 7 & Fedora 30/29/28.
Step 1: Install MariaDB Database server
GLPI requires a relational database to store its data. Let’s install MariaDB on our Fedora and CentOS system using our guide below.
How to Install MariaDB on Fedora
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 65
Server version: 10.3.14-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 2: Add Remi RPM repository
The latest RPM packages for GLPI are available on remi yum repositories. Let’s add them to our system.
CentOS 7:
sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
sudo yum -y install yum-utils
sudo yum-config-manager --enable remi-php73
sudo yum-config-manager --enable remi
sudo yum-config-manager --enable remi-glpi94
Fedora 30:
sudo dnf install -y http://rpms.remirepo.net/fedora/remi-release-30.rpm
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --set-enabled remi-php73
sudo dnf config-manager --set-enabled remi
sudo dnf config-manager --set-enabled remi-glpi94
Fedora 29:
sudo dnf install -y http://rpms.remirepo.net/fedora/remi-release-29.rpm
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --set-enabled remi-php73
sudo dnf config-manager --set-enabled remi
sudo dnf config-manager --set-enabled remi-glpi94
Step 3: Install GLPI on CentOS 7 & Fedora 32/31/30/29
Now install the dependencies required and GLPI.
# CentOS 7
sudo yum -y install httpd php php-opcache php-apcu glpi
# Fedora
sudo dnf -y install httpd php php-opcache php-apcu glpi
Start and enable httpd service.
sudo systemctl enable --now httpd
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
Step 4: Configure GLPI
Initial installation from the web browser is only allowed via local access (from the GLPI server). Add your IP address to allow remote installation.
Add your IP on line 29, . This examples adds my IP address 192.168.10.11, replace with yours.
$ sudo vi /etc/httpd/conf.d/glpi.conf
.................
<Directory /usr/share/glpi/install>
# Install is only allowed via local access (from the GLPI server).
# Add your IP address if you need it for remote installation,
# but remember to remove it after installation for security.
<IfModule mod_authz_core.c>
# Apache 2.4
Require local
Require ip 192.168.10.11
# Require ip ##.##.##.##
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from All
Allow from 127.0.0.1
Allow from ::1
</IfModule>
.................................
Then access GLPI web console to complete GLPI installation.
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.
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.
Check official documentation on GLPI configuration to manage your Infrastructure assets.
Recommend
-
5
Welcome to our guide on how to install MongoDB 4.2 on CentOS 7 / Fedora 31/30/29/28. MongoDB is an open source NoSQL database system written in C++. It is designed for high scalability, performance, and availability.Step 1: Update Sys...
-
13
How To Install Apache Tomcat 9 on CentOS 7Search ComputingForGeeksToday we’ll look at how you can install Ap...
-
10
How To Install Asterisk 16 LTS on CentOS 7Welcome to our guide on how to Install Asterisk 16 LTS on CentOS 7 / Fedora. Asterisk is a powerful Open Source PBX system with Enterprise features only available in commercially available PBX systems...
-
8
Install OpenProject on CentOS 7 & Fedora 34/33/32/31/30Search ComputingForGeeksHi good people, in this a...
-
10
Install FreeOffice on CentOS 8In today’s guide you’ll be able to install and use FreeOffice on Fedora and CentOS Desktop Linux system. FreeOffice is a complete Open Source Office suite with a word processor, a spreadsheet application and a pr...
-
7
How To Install Node.js 13 on CentOS 7 & Fedora 32/31/30/29Node.js is a powerful open source JavaScript runtime built on Chrome’s V8 JavaScript engine for building fast and scalable network applications. Node.js 13 is available for Testers...
-
11
Install Java 11 on CentOS 7Search ComputingForGeeksThis article will help you to install Oracle Java 11 on C...
-
8
In this blog post, I’ll take you through the steps to Install Gulp.js on CentOS 7 / Fedora 29 / Fedora 28. Gulp is a toolkit that helps you automate painful or time-consuming tasks in your development workflow. Gulp has integrations built int...
-
10
CentOS 8 & Fedora 34/33/32/31/30Are you looking for an easy way to install PHPUnit on CentOS 7 / CentOS 8 & Fedora 34/33/32/31/30/29?. PHPUnit is a unit testing framework for PHP applications. It is an instance of the xUnit architectu...
-
30
Install GLPI on CentOS 8|RHEL 8|Rocky Linux 8How 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 y...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK