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

    Installing Snipe-IT CentOS7 issues

    IT Discussion
    5
    17
    1.8k
    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
      last edited by

      Thought I would give this a separate thread instead of clogging up the install guide Scott has done.
      Using the code as follows from a fresh install of CentOS7 from the DVD Media.

      cat /etc/redhat-release
      CentOS Linux release 7.1.1503 (Core)

      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

      That brings up this screen
      0_1448290092312_phase1.png
      0_1448290214499_phase2.png
      0_1448290221913_phase 3.png
      0_1448290229488_phase 4.png
      0_1448290235885_phase 5.png
      0_1448290455461_phase 6.png
      0_1448290269178_phase 7.png

      When I browse http://server/ I get
      0_1448290293820_error.png
      Figured this might be MYSQL details to edited - app/config/production/database.php - to reflect username and password for database.
      now get this
      0_1448291039865_error2.png

      I'll now stop and do something else for a bit 🙂

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

        My guess is that SELinux is on....

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

          What is the output of this...

          cat /etc/sysconfig/selinux
          
          1 Reply Last reply Reply Quote 0
          • hobbit666H
            hobbit666
            last edited by

            0_1448291879405_selinux.png

            1 Reply Last reply Reply Quote 0
            • hobbit666H
              hobbit666
              last edited by

              Cloud I now have an issue if I've changed the username password in the database config file?

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

                Boom, there it is. Let's start over. Change that "enforcing" to "disabled." Darnit. I checked. Digital Ocean is changing the default!!!

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

                  @hobbit666 said:

                  Cloud I now have an issue if I've changed the username password in the database config file?

                  Yes, just reimage and start over. That's fastest.

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

                    Does setenforce 0 work on CentOS 7?

                    dafyreD 1 Reply Last reply Reply Quote 0
                    • dafyreD
                      dafyre @scottalanmiller
                      last edited by

                      @scottalanmiller It has when I've used it.

                      1 Reply Last reply Reply Quote 1
                      • hobbit666H
                        hobbit666
                        last edited by

                        Should this work with CentOS7 minimum image? or will I be missing important stuff??

                        brianlittlejohnB 1 Reply Last reply Reply Quote 0
                        • brianlittlejohnB
                          brianlittlejohn @hobbit666
                          last edited by

                          @hobbit666 I had to install wget

                          JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch @brianlittlejohn
                            last edited by JaredBusch

                            @brianlittlejohn said:

                            @hobbit666 I had to install wget

                            Almost everyone skips things like this..

                            Yeah, wget and epel-release are NOT part of a true clean CentOS install. Many people just make instructions with assumptions built in.

                            When testing instructions I plan to publish, I always build things on my own infrastructure beginning with a new install of CentOS 7 minimal to ensure nothing is missed.

                            brianlittlejohnB scottalanmillerS 2 Replies Last reply Reply Quote 1
                            • brianlittlejohnB
                              brianlittlejohn @JaredBusch
                              last edited by

                              @JaredBusch I am very much a noob with linux and don't really know what comes with it preinstalled or not as far as the minimal installs. So i just threw that info out for other noobs like me.

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

                                @brianlittlejohn said:

                                @JaredBusch I am very much a noob with linux and don't really know what comes with it preinstalled or not as far as the minimal installs. So i just threw that info out for other noobs like me.

                                Yeah, I meant that people making instructions forget that.

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

                                  @brianlittlejohn said:

                                  @hobbit666 I had to install wget

                                  Argh, I tested that too. Dammit.

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

                                    @JaredBusch said:

                                    Yeah, wget and epel-release are NOT part of a true clean CentOS install. Many people just make instructions with assumptions built in.

                                    I did not in this case. I knew that epel was required but not included and put it in the instructions. Wget I tested to ensure it was there by default, but it appears that Digital Ocean is modifying that too!! That's really frustrating. Can't wait till our new lab cluster is up so that we can do these tests faster and easier there with true vanilla installs and not have to trust third parties have not been modifying them.

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

                                      @scottalanmiller said:

                                      @JaredBusch said:

                                      Yeah, wget and epel-release are NOT part of a true clean CentOS install. Many people just make instructions with assumptions built in.

                                      I did not in this case. I knew that epel was required but not included and put it in the instructions. Wget I tested to ensure it was there by default, but it appears that Digital Ocean is modifying that too!! That's really frustrating. Can't wait till our new lab cluster is up so that we can do these tests faster and easier there with true vanilla installs and not have to trust third parties have not been modifying them.

                                      Well, we had a discussion here (not even going to try and find the thread) about a year or so ago when I was setting something up and I mentioned this then. Mostly related to how DO was not a clean Minimal install.

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