Install GLPI on Fedora 26 Minimal
-
Any screenshots of the final web interface?
-
Login Screen
http://i.imgur.com/PWKsoYL.png -
Home Page for the glpi account
http://i.imgur.com/NerNVPY.png -
Home page for the post-only account
http://i.imgur.com/z6bWAwq.png -
@black3dynamite said in Install GLPI on Fedora 26 Minimal:
sudo mysql_secure_installation
Create GLPI database
mysql -u root -p create database glpidb; create user glpiuser; grant all on glpidb.* to 'glpiuser'@'localhost' identified by 'glpiuserpw'; flush privileges; exit
Don't do it that way. It makes thing more prone to user error.
This is a better way to handle it with minimal user interaction on the command line.
Use big bold print (you can use a ### on a new line to make it a title/supersize) to tell the user to change these values from your default example. Like this:
Change the default password of
glpiuserpw
andsomesecurerootpassword
to something private#Create a database and a user to access it. mysql -e "CREATE DATABASE glpidb;" mysql -e "CREATE USER 'glpiuser'@'localhost' IDENTIFIED BY 'glpiuserpw';" mysql -e "GRANT ALL ON glpidb.* TO 'glpiuser'@'localhost';" mysql -e "FLUSH PRIVILEGES;" #Secure mariadb. These commands do what mysql_secure_installation does interactively mysql -e "UPDATE mysql.user SET Password=PASSWORD('somesecurerootpassword') WHERE User='root';" mysql -e "DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1');" mysql -e "DELETE FROM mysql.user WHERE User='';" mysql -e "DROP DATABASE test;" mysql -e "FLUSH PRIVILEGES;"
-
@black3dynamite said in Install GLPI on Fedora 26 Minimal:
You can manually download the tarball packages or use git (I preferred using git)
Using tarball packagescd /tmp wget https://github.com/glpi-project/glpi/releases/download/9.1.6/glpi-9.1.6.tgz tar -zxvf glpi-9.1.6.tgz sudo cp -rp glpi /var/www/html/glpi sudo chown -R apache:apache /var/www/html/glpi cd /var/www/html/glpi
-OR-
Using git
sudo git clone https://github.com/glpi-project/glpi.git /var/www/html/glpi cd /var/www/html/glpi sudo wget https://getcomposer.org/composer.phar sudo php composer.phar install --no-dev sudo chown -R apache:apache /var/www/html/glpi
Does GLPI provide an in application updater? If not, don't even provide instruction for something like a tarball when there is a git repository choice. Git can be updated simply but tarball downloads require users to interact too much and break things. Always.
If a user doesn't like git and is smart enough to think that deeply, they can find the alternate instructions on their own on the developer's website.
-
@mlnews said in Install GLPI on Fedora 26 Minimal:
Any screenshots of the final web interface?
-
Based on @JaredBusch comments, I've modified the instructions about installing glpi using git and setting up the database.
Thanks, @JaredBusch -
@black3dynamite said in Install GLPI on Fedora 26 Minimal:
Based on @JaredBusch comments, I've modified the instructions about installing glpi using git and setting up the database.
Thanks, @JaredBuschJust a bit of experience talking after posting so many guides here.
-
Does GLPI still do Helpdesk stuff too? We used it at my last job for a while, it wasn't terrible, but require d a little more clicking around, IIRC.
-
@dafyre said in Install GLPI on Fedora 26 Minimal:
Does GLPI still do Helpdesk stuff too? We used it at my last job for a while, it wasn't terrible, but require d a little more clicking around, IIRC.
It appears to have a help desk built in.