Setup and Install GLPI on CentOS 7 by BARHOUMI Haythem
Steps:
yum -y install epel-release
yum -y install net-tools vim wget
wget https://github.com/glpi-project/glpi/releases/download/9.1.2/glpi-9.1.2.tgz
yum -y install http php php-mysql php-pdo php-gd php-mbstring ;php-imap php-ldap mariadb-server mariadb
firewall-cmd –permanent –add-service=http
firewall-cmd –reload
systemctl enable httpd
systemctl enable mariadb
systemctl start httpd
systemctl start mariadb
mysql_secure_installation
tar -xvf glpi-9.1.2.tgz
cp -R glpi /var/www/html
chmod -R 755 /var/www/html/glpi
chown -R apache:apache /var/www/html/glpi
chcon -R -t httpd_sys_rw_content_t /var/www/html/glpi/
setsebool -P httpd_can_network_connect 1
setsebool -P httpd_can_network_connect_db 1
setsebool -P httpd_can_sendmail 1
centos 7