ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Install GLPI on Fedora 26 Minimal

    Scheduled Pinned Locked Moved IT Discussion
    glpi
    12 Posts 6 Posters 4.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • black3dynamiteB
      black3dynamite
      last edited by

      Login Screen
      PWKsoYL.png

      1 Reply Last reply Reply Quote 1
      • black3dynamiteB
        black3dynamite
        last edited by

        Home Page for the glpi account
        NerNVPY.png

        1 Reply Last reply Reply Quote 1
        • black3dynamiteB
          black3dynamite
          last edited by

          Home page for the post-only account
          z6bWAwq.png

          1 Reply Last reply Reply Quote 1
          • JaredBuschJ
            JaredBusch @black3dynamite
            last edited by JaredBusch

            @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 and somesecurerootpassword 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;"
            
            1 Reply Last reply Reply Quote 2
            • JaredBuschJ
              JaredBusch @black3dynamite
              last edited by JaredBusch

              @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 packages

              cd /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.

              1 Reply Last reply Reply Quote 3
              • Emad RE
                Emad R @mlnews
                last edited by

                @mlnews said in Install GLPI on Fedora 26 Minimal:

                Any screenshots of the final web interface?

                http://demo.glpi-project.org/

                1 Reply Last reply Reply Quote 2
                • black3dynamiteB
                  black3dynamite
                  last edited by

                  Based on @JaredBusch comments, I've modified the instructions about installing glpi using git and setting up the database.
                  Thanks, @JaredBusch

                  JaredBuschJ 1 Reply Last reply Reply Quote 2
                  • JaredBuschJ
                    JaredBusch @black3dynamite
                    last edited by 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, @JaredBusch

                    Just a bit of experience talking after posting so many guides here.

                    1 Reply Last reply Reply Quote 1
                    • dafyreD
                      dafyre
                      last edited by

                      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.

                      DustinB3403D 1 Reply Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403 @dafyre
                        last edited by

                        @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.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post