The install for version 9.5 is fairly easy what Iāve done
Step 1.
In nethserver cockpit in webserver create a virtual host select php 7.3
Step 2.
Install Mariadb103 as per StĆ©phaneās how to
and install some additional prerequisites with
yum install -y php-xmlrpc php-onelogin-php-saml.noarch
Then create the user and database with
mysql103 -u root
CREATE USER 'glpi'@'127.0.0.1:3313' IDENTIFIED BY 'password';
GRANT USAGE ON *.* TO 'glpi'@'127.0.0.1:3313' IDENTIFIED BY 'password' REQUIRE NONE WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0;
CREATE DATABASE IF NOT EXISTS
glpi;GRANT ALL PRIVILEGES ON
glpi.* TO 'glpi'@'127.0.0.1:3313';
FLUSH PRIVILEGES;
quit
Step 3.
Download GLPI
cd /var/lib/nethserver/vhost/virtualhostrootdirectory
wget https://github.com/glpi-project/glpi/releases/download/9.5.5/glpi-9.5.5.tgz
tar -xvzf glpi-9.5.5.tgz
or if you want it to be accessable by just the virtualhost name add --strip 1 to the end of the command
tar -xvzf glpi-9.5.5.tgz --strip 1
cd ./glpi
find ./* -type d -exec chmod 755 {} + && find ./* -type f -exec chmod 644 {} +
chown apache:apache -R ./*
systemctl restart httpd
Step 4.
Open a webbrowser and go to https://virtualhost/glpi
a. Select your language
b. Agree to the terms
c. Choose Install
d. for the time being ignore the dependencies and continue
e. enter your database details as follows
SQL Server (MariaDB or MySQL)=127.0.0.1:3313
SQL User=glpi
SQL Password=the password you set
and ākeep on goingā
f. Select glpi database and continue and wait for Step 3 to display OK - database was initialized and click ākeep on goingā
g. Decide if you want to Send āusage statisticsā and click ācontinueā
h. click ācontinueā in step 5 and āuse GLPIā in step 6
*** note you might get an error like Invalid cookie data Empty login or password just click login again and the passwords to login (which must be changed from default) are as follows ***
- glpi / glpi (super-admin)
- tech / tech
- postonly / postonly (only for helpdesk)
- normal / normal
Dont forget to run rm ./install/install.php
to remove install directory
also see here for the official docs from glpi and here for the flyvemdm docs
To install flyve mdm (to clarify this is to install not configure ill add that later)
Cd to glpi virtual host root document folder
cd /var/lib/nethserver/vhost/virtualhostrootdirectory
Install the following
yum install -y unzip git composer mosquitto
cd ./glpi/plugins
git clone https://github.com/fusioninventory/fusioninventory-for-glpi.git fusioninventory
git clone https://github.com/flyve-mdm/glpi-plugin.git flyvemdm
cd ./flyvemdm
`composer install --no-devā
ignore any errors at this point
Open a webbrowser and go to https://virtualhost/glpi/front/plugin.php
1st click the folder icon on the right side of FusionInventory under actions install and enable
Then do the same for flyvemdm