HowTo install GLPI 9.4.4 on NethServer 7.7

# Download and put glpi in right place
wget https://github.com/glpi-project/glpi/releases/download/9.4.5/glpi-9.4.5.tgz
tar -xzf glpi-9.4.5.tgz
mv glpi /usr/share/


# Set owner to apache
chown -R apache:apache /usr/share/glpi


# Create httpd conf for glpi
cat << EOF > /etc/httpd/conf.d/glpi.conf
Alias /glpi /usr/share/glpi
<Directory /usr/share/glpi>
  Require all granted
  <FilesMatch \.php$>
     SetHandler "proxy:fcgi://127.0.0.1:9001"
  </FilesMatch>
</Directory>
<Directory /usr/share/glpi/files>
  Order Deny,Allow
  Deny from all
  Allow from 127.0.0.1
  Allow from ::1
  Allow from localhost
</Directory>
EOF


# Install Nethserver rh-php71 and extensions and mariadb 10.2 from stephdl repo
yum install http://mirror.de-labrusse.fr/NethServer/7/x86_64/nethserver-stephdl-1.0.7-1.ns7.sdl.noarch.rpm

yum -y install nethserver-rh-php71-php-fpm rh-php71-php-mysqlnd rh-php71-php-mbstring rh-php71-php-gd rh-php71-php-ldap \
rh-php71-php-imap rh-php71-php-opcache rh-php71-php-xmlrpc nethserver-rh-mariadb102


# Create database and user
mysql102
create database glpi;
grant all privileges on glpi.* to glpi@localhost identified by 'Your-MariaDB-SECRET';
exit;


# Restart services
systemctl restart httpd
systemctl restart rh-php71-php-fpm


# Install Wizzard
https://<Your-IP-or-Domain>/glpi


Username: glpi
Password: glpi


rm -f /usr/share/glpi/install/install.php

6 Likes

should be
https://<Your-IP-or-Domain>/glpi/install
Also point out that Your-DB-SECRET is the password for mariadb’s user gpli

does this module have ldap already integrated?

https://wiki.nethserver.org/doku.php?id=glpi

Hi Folks,

A new Version of GLPI is out:

# https://github.com/glpi-project/glpi/releases/download/9.4.5/glpi-9.4.5.tgz

Download: glpi-9.4.5.tgz

has this been updated yum install nethserver-glpi

well no, I have no time to package and follow all upstream release.

bEEN playing around with some essential GLPI modules

here is how to install
cd /usr/share/glpi/plugins/

wget https://github.com/akm77/showconns/releases/download/0.2/glpi-showconns-0.2.tar.bz2
tar -xvjf glpi-showconns-0.2.tar.bz2
rm -f glpi-showconns-0.2.tar.bz2
chown -R apache:apache /usr/share/glpi/plugins

wget https://github.com/lgothelipe/glpi_invoice/archive/master.zip
unzip master.zip
rm -f master.zip
chown -R apache:apache /usr/share/glpi/plugins


wget https://github.com/pluginsGLPI/geninventorynumber/releases/download/2.5.0-rc1/glpi-geninventorynumber-2.5.0-rc1.tar.bz2
tar -xvjf glpi-geninventorynumber-2.5.0-rc1.tar.bz2
rm -f glpi-geninventorynumber-2.5.0-rc1.tar.bz2
chown -R apache:apache /usr/share/glpi/plugins

wget https://github.com/fusioninventory/fusioninventory-for-glpi/releases/download/glpi9.4%2B2.4/fusioninventory-9.4+2.4.tar.bz2
tar -xvjf fusioninventory-9.4+2.4.tar.bz2
rm -f fusioninventory-9.4+2.4.tar.bz2
chown -R apache:apache /usr/share/glpi/plugins

wget https://forge.glpi-project.org/attachments/download/2293/glpi-pdf-1.6.0.tar.gz
tar -xzf glpi-pdf-1.6.0.tar.gz
rm -f glpi-pdf-1.6.0.tar.gz
chown -R apache:apache /usr/share/glpi/plugins

wget https://github.com/InfotelGLPI/domains/releases/download/2.1.0/glpi-domains-2.1.0.tar.gz
tar -xzf glpi-domains-2.1.0.tar.gz
rm -f glpi-domains-2.1.0.tar.gz
chown -R apache:apache /usr/share/glpi/plugins

wget https://github.com/InfotelGLPI/databases/releases/download/2.2.1/glpi-databases-2.2.1.tar.gz
tar -xzf glpi-databases-2.2.1.tar.gz
rm -f glpi-databases-2.2.1.tar.gz
chown -R apache:apache /usr/share/glpi/plugins

wget https://github.com/InfotelGLPI/webapplications/releases/download/2.6.0/glpi-webapplications-2.6.0.tar.gz
tar -xzf glpi-webapplications-2.6.0.tar.gz
rm -f glpi-webapplications-2.6.0.tar.gz
chown -R apache:apache /usr/share/glpi/plugins

wget https://github.com/pluginsGLPI/fields/releases/download/1.11.0-rc1/glpi-fields-1.11.0-rc1.tar.bz2
tar -xvjf glpi-fields-1.11.0-rc1.tar.bz2
rm -f glpi-fields-1.11.0-rc1.tar.bz2
chown -R apache:apache /usr/share/glpi/plugins

wget https://github.com/pluginsGLPI/metabase/releases/download/1.1.0-rc1/glpi-metabase-1.1.0-rc1.tar.bz2
tar -xvjf glpi-metabase-1.1.0-rc1.tar.bz2
rm -f glpi-metabase-1.1.0-rc1.tar.bz2
chown -R apache:apache /usr/share/glpi/plugins
2 Likes

It is not possible to create a community organization on GitHub for all community packages?

It will be better I think ^^

how do you mean @Neustradamus

if you look my profile on github I am member of two organisations https://github.com/stephdl

@stephdl: Not public I think, I see nothing.

@oneitonitram: I see a lot of main “nethserver- …” packages from community in a lot of personal accounts, to have a better visibility, it will be better in a community organization.

And better to update it too.