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

    Installing Snipe-IT on CentOS 7 and MariaDB

    IT Discussion
    how to snipe-it centos linux centos 7 centos 7.1
    37
    290
    2.9m
    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.
    • hobbit666H
      hobbit666 @Romo
      last edited by

      @Romo said in Installing Snipe-IT on CentOS 7 and MariaDB:

      @hobbit666 You can use either way, they both accomplish the same thing that is downloading the newest source files.

      Step 1: Backup your database
      While logged in, go to Admin > Backups and generate a new backup. Download that file and keep it somewhere safe, in case you need to restore back to that version if something goes wrong with your upgrade.

      Thanks Romo will give it a try Monday/Tuesday

      1 Reply Last reply Reply Quote 0
      • C
        Chatigo @NashBrydges
        last edited by

        @NashBrydges Thanks a lot! its the first step by step for amateurs i had see, 😃

        1 Reply Last reply Reply Quote 2
        • rejivincentcR
          rejivincentc @scottalanmiller
          last edited by

          @scottalanmiller @brandon.hay I am getting the below error message... Please assist...
          0_1475333103577_Capture.PNG

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @rejivincentc
            last edited by

            @rejivincentc welcome to the community.

            rejivincentcR 1 Reply Last reply Reply Quote 0
            • rejivincentcR
              rejivincentc @scottalanmiller
              last edited by

              @scottalanmiller Thanks...

              I managed to login the snipe-it after that the webpage is blank...

              Please assist asap...

              1 Reply Last reply Reply Quote 0
              • thwrT
                thwr
                last edited by

                Thx for mentioning Snipe-IT, @scottalanmiller. Didn't follow your instructions, because the install script provided by Snipe worked like a charm.

                The tool is great, I'm just missing a few things. For example

                • Licenses should be treated the same way as assets (Create a "template", create instances of that template).
                • Assets can't be checked out to other assets (Notebook docking station -> Notebook).
                • Components (or Accessories?) can't have vendors, which is a bit odd.
                • Components must have a minimum of 1 unused item or they will generate an alert otherwise. No I don't want to have 1 spare part of every little gadget 🙂
                • Does not handle floating licenses.
                • Licenses can't be upgraded (but you can assign two versions of the same software to the same machine / user which works just fine)
                • You can't modify software checkout dates via the GUI

                But all in all, it's great. Simplifies tracking of assets and licenses.

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @thwr
                  last edited by

                  @thwr said in Installing Snipe-IT on CentOS 7 and MariaDB:

                  Thx for mentioning Snipe-IT, @scottalanmiller. Didn't follow your instructions, because the install script provided by Snipe worked like a charm.

                  It's been a bit, they've changed a lot because their old script didn't install at all, hence these instructions. Which script did you use?

                  rejivincentcR thwrT 2 Replies Last reply Reply Quote 0
                  • rejivincentcR
                    rejivincentc @scottalanmiller
                    last edited by

                    @scottalanmiller Script used - yum -y install wget firewalld; setenforce 0 && yum -y install epel-release; mkdir -p /var/www/html; cd /var/www/html/; wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh && chmod 744 install.sh && ./install.sh && cd snipeit; sed -i "s/'timezone' => '',/'timezone' => 'UTC',/" app/config/app.php; php artisan app:install; firewall-cmd --zone=public --add-port=80/tcp --permanent; firewall-cmd --reloadrpm

                    OS -Centos 7
                    snipe-it-3.4

                    RomoR 1 Reply Last reply Reply Quote 0
                    • thwrT
                      thwr @scottalanmiller
                      last edited by

                      @scottalanmiller said in Installing Snipe-IT on CentOS 7 and MariaDB:

                      @thwr said in Installing Snipe-IT on CentOS 7 and MariaDB:

                      Thx for mentioning Snipe-IT, @scottalanmiller. Didn't follow your instructions, because the install script provided by Snipe worked like a charm.

                      It's been a bit, they've changed a lot because their old script didn't install at all, hence these instructions. Which script did you use?

                      Will take a look on Tuesday. But it was the one provided in the github package.

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

                        @rejivincentc said in Installing Snipe-IT on CentOS 7 and MariaDB:

                        @scottalanmiller Script used - yum -y install wget firewalld; setenforce 0 && yum -y install epel-release; mkdir -p /var/www/html; cd /var/www/html/; wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh && chmod 744 install.sh && ./install.sh && cd snipeit; sed -i "s/'timezone' => '',/'timezone' => 'UTC',/" app/config/app.php; php artisan app:install; firewall-cmd --zone=public --add-port=80/tcp --permanent; firewall-cmd --reloadrpm

                        OS -Centos 7
                        snipe-it-3.4

                        Just use the following and it will take you to a working install of Snipe-IT

                        wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh
                        chmod 744 install.sh
                        ./install.sh
                        
                        JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 2
                        • JaredBuschJ
                          JaredBusch @Romo
                          last edited by

                          @Romo said in Installing Snipe-IT on CentOS 7 and MariaDB:

                          Just use the following and it will take you to a working install of Snipe-IT

                          Not when this was originally wrote.

                          1 Reply Last reply Reply Quote 1
                          • scottalanmillerS
                            scottalanmiller @Romo
                            last edited by

                            @Romo said in Installing Snipe-IT on CentOS 7 and MariaDB:

                            @rejivincentc said in Installing Snipe-IT on CentOS 7 and MariaDB:

                            @scottalanmiller Script used - yum -y install wget firewalld; setenforce 0 && yum -y install epel-release; mkdir -p /var/www/html; cd /var/www/html/; wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh && chmod 744 install.sh && ./install.sh && cd snipeit; sed -i "s/'timezone' => '',/'timezone' => 'UTC',/" app/config/app.php; php artisan app:install; firewall-cmd --zone=public --add-port=80/tcp --permanent; firewall-cmd --reloadrpm

                            OS -Centos 7
                            snipe-it-3.4

                            Just use the following and it will take you to a working install of Snipe-IT

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

                            Big changes from how it was before. Glad to see that they've made so much progress.

                            rejivincentcR 1 Reply Last reply Reply Quote 1
                            • T
                              tiagom
                              last edited by

                              The install script works great. The stuff the tripped me up I submitted a PR to correct.

                              Im still transitioning over, i currently have about 30% of my assets in there.

                              1 Reply Last reply Reply Quote 0
                              • rejivincentcR
                                rejivincentc @scottalanmiller
                                last edited by

                                @scottalanmiller said in Installing Snipe-IT on CentOS 7 and MariaDB:

                                se the following and it will take you to a working install of S

                                Thanks 🙂

                                scottalanmillerS 1 Reply Last reply Reply Quote 1
                                • scottalanmillerS
                                  scottalanmiller @rejivincentc
                                  last edited by

                                  @rejivincentc said in Installing Snipe-IT on CentOS 7 and MariaDB:

                                  @scottalanmiller said in Installing Snipe-IT on CentOS 7 and MariaDB:

                                  se the following and it will take you to a working install of S

                                  Thanks 🙂

                                  Glad that it is working!

                                  1 Reply Last reply Reply Quote 0
                                  • RobbleheadR
                                    Robblehead
                                    last edited by

                                    so thankful I ran across this article, much more helpful then the snipe-it documentation. I am trying to do the CentOS 7 install method and have tried the single line Scott showed and the wget line that was confirmed working. Everything installs fine but when I enter the IP address/hostname nothing loads, I then open up the firewall to port 80 and the IP address will redirect to the hostname/setup but I receive a "This site can't be reached" I have literally spent 4 hours trying different things with no luck, the server DNS address could not be found is what I am seeing now.
                                    Please help!!! lol

                                    rejivincentcR 1 Reply Last reply Reply Quote 2
                                    • rejivincentcR
                                      rejivincentc @Robblehead
                                      last edited by

                                      @Robblehead Hi,
                                      Please try this one...

                                      setenforce 0
                                      mkdir -p /var/www/html; cd /var/www/html/
                                      wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh
                                      chmod 744 install.sh
                                      ./install.sh

                                      RobbleheadR 1 Reply Last reply Reply Quote 1
                                      • scottalanmillerS
                                        scottalanmiller
                                        last edited by

                                        Did @rejivincentc update work for you?

                                        RobbleheadR rejivincentcR 2 Replies Last reply Reply Quote 0
                                        • RobbleheadR
                                          Robblehead @scottalanmiller
                                          last edited by

                                          @scottalanmiller I will test this afternoon and let you guys know, appreciate the help

                                          1 Reply Last reply Reply Quote 0
                                          • rejivincentcR
                                            rejivincentc @scottalanmiller
                                            last edited by

                                            @scottalanmiller Yes, its working

                                            scottalanmillerS 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 14
                                            • 15
                                            • 6 / 15
                                            • First post
                                              Last post