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

    SnipeIT install - anyone have a working guide?

    IT Discussion
    8
    50
    8.0k
    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.
    • DustinB3403D
      DustinB3403 @JaredBusch
      last edited by

      @JaredBusch Centos 7 epel-release

      NerdyDadN RomoR 2 Replies Last reply Reply Quote 0
      • RomoR
        Romo
        last edited by Romo

        @JaredBusch CentOS 7

        1 Reply Last reply Reply Quote 0
        • NerdyDadN
          NerdyDad @DustinB3403
          last edited by

          @DustinB3403 said in SnipeIT install - anyone have a working guide?:

          @JaredBusch Centos 7 epel-release

          Might be a newb question to ask, but did you yum update?

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

            @NerdyDad Yes.

            1 Reply Last reply Reply Quote 1
            • RomoR
              Romo @DustinB3403
              last edited by

              @DustinB3403 is the install script showing you any error?
              Check the scripts log /var/log/snipeit-install.log

              1 Reply Last reply Reply Quote 0
              • travisdh1T
                travisdh1
                last edited by travisdh1

                Ok, it appears that I've got an install started here. The installer isn't happy with the php version included with the CentOS7 default repository. I used @JaredBusch's nextcloud instructions to get php71 installed: https://mangolassi.it/topic/12878/install-nextcloud-11-0-2-on-centos-7-with-php-7-1-from-remi

                cd /opt
                git clone https://github.com/snipe/snipe-it
                

                Install composer (make sure to be a regular user and that the snipe-it directory is owned by the user account used to install composer)

                curl -sS https://getcomposer.org/installer | php
                php composer.phar install --no-dev --prefer-source
                
                /opt/snipe-it/install.sh
                

                The install is still running, but no errors now. You can probably use PHP 5.6, which you'd need to specify php56 when installing instead of PHP 7.1.

                RomoR 1 Reply Last reply Reply Quote 0
                • RomoR
                  Romo @travisdh1
                  last edited by

                  @travisdh1 The install script uses PHP 5.6 so anything >= to it should work =).

                  #Install PHP and other needed stuff.
                  echo "##  Installing PHP and other needed stuff";
                  PACKAGES="httpd mariadb-server git unzip php56u php56u-mysqlnd php56u-bcmath php56u-cli php56u-common php56u-embedded php56u-gd php56u-mbstring php56u-mcrypt php56u-ldap"
                  
                  JaredBuschJ 1 Reply Last reply Reply Quote 1
                  • travisdh1T
                    travisdh1
                    last edited by

                    The installer finished up with no problems, but I've got this when I goto the web page:

                    ![alt text](0_1494277000392_upload-3c969415-73f6-4069-8c75-db1b58e83a9c image url)

                    Should've told me that during the install 😞 Looking through logs will have to wait.

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

                      @Romo said in SnipeIT install - anyone have a working guide?:

                      @travisdh1 The install script uses PHP 5.6 so anything >= to it should work =).

                      #Install PHP and other needed stuff.
                      echo "##  Installing PHP and other needed stuff";
                      PACKAGES="httpd mariadb-server git unzip php56u php56u-mysqlnd php56u-bcmath php56u-cli php56u-common php56u-embedded php56u-gd php56u-mbstring php56u-mcrypt php56u-ldap"
                      

                      Not exactly.

                      That installer is installing PHP 5.6 modules specifically.

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

                        @Romo said in SnipeIT install - anyone have a working guide?:

                        Their install script still works fine for me, just created a new install with it.

                        wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh
                        chmod 744 install.sh
                        ./install.sh
                        

                        0_1494273741257_snipeit-test-install.png

                        Did you have to do anything else besides the above steps? I know that I ran through that process and it failed to work. Will check the logs shortly, building a clean installation.

                        RomoR 1 Reply Last reply Reply Quote 1
                        • travisdh1T
                          travisdh1 @Romo
                          last edited by

                          @Romo Yep, it works. I was making it way harder than it needs to be.

                          1 Reply Last reply Reply Quote 0
                          • RomoR
                            Romo @DustinB3403
                            last edited by

                            @DustinB3403 I cloned a vanilla Centos 7 minimal vm, ran yum update, installed wget, downloaded the script and ran the script.

                            That got me to a working SnipeIT installation which I just used to validate my production SnipeIT vm backups and they are working fine.

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

                              @DustinB3403 said in SnipeIT install - anyone have a working guide?:

                              wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh
                              chmod 744 install.sh
                              ./install.sh

                              The install script adds the IUS repo for PHP.

                              0_1494283078241_upload-e2d3414f-2ffd-40ba-af47-10dba80834eb

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

                                script worked perfectly.

                                Just did this from a CentOS 7 Minimal r1611 ISO on my Hyper-V lab.

                                0_1494283349668_upload-c037d154-3a54-42cb-8fe9-984e9c82025c

                                1 Reply Last reply Reply Quote 2
                                • DustinB3403D
                                  DustinB3403
                                  last edited by

                                  Trying in my lab right now and see what occurs, if anything.

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

                                    Yeah. . .

                                    wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh
                                    chmod 744 install.sh
                                    ./install.sh
                                    

                                    Not working for me. . . wth.

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

                                      Yet on another build it works. . . . wtf. . . .

                                      So odd.

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

                                        @DustinB3403 said in SnipeIT install - anyone have a working guide?:

                                        Yet on another build it works. . . . wtf. . . .

                                        So odd.

                                        What is your source media?

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

                                          @JaredBusch said in SnipeIT install - anyone have a working guide?:

                                          @DustinB3403 said in SnipeIT install - anyone have a working guide?:

                                          Yet on another build it works. . . . wtf. . . .

                                          So odd.

                                          What is your source media?

                                          The above installation steps, all 3 of them.

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

                                            @DustinB3403 said in SnipeIT install - anyone have a working guide?:

                                            @JaredBusch said in SnipeIT install - anyone have a working guide?:

                                            @DustinB3403 said in SnipeIT install - anyone have a working guide?:

                                            Yet on another build it works. . . . wtf. . . .

                                            So odd.

                                            What is your source media?

                                            The above installation steps, all 3 of them.

                                            For your OS....

                                            DustinB3403D 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post