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

    Issues Installing Snipe-IT on CentOS 7

    IT Discussion
    centos 7 snipe-it installation install
    7
    100
    12.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.
    • A
      Alex Sage @DustinB3403
      last edited by

      @dustinb3403 yes, running them as root.

      1 Reply Last reply Reply Quote 0
      • A
        Alex Sage
        last edited by

        Lots and lots of connections errors like this.....

        http://pubmirrors.dal.corespace.com/centos/7.4.1708/os/x86_64/Packages/mariadb-5.5.56-2.el7.x86_64.rpm: [Errno 14] curl#7 - "Failed connect to pubmirrors.dal.corespace.com:80; Connection refused"
        
        black3dynamiteB 1 Reply Last reply Reply Quote 0
        • black3dynamiteB
          black3dynamite @Alex Sage
          last edited by

          @aaronstuder said in Issues Installting Snipe-IT on CentOS 7:

          http://pubmirrors.dal.corespace.com/centos/7.4.1708/os/x86_64/Packages/mariadb-5.5.56-2.el7.x86_64.rpm

          I was able to download it from Firefox. Your proxy server could be interfering with your downloads.

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

            @aaronstuder give us the output of ip addr

            Is the ip address, netmask and gateway all correct?

            A 1 Reply Last reply Reply Quote 0
            • A
              Alex Sage @black3dynamite
              last edited by

              Running

              yum -y install httpd mariadb-server git unzip php71u php71u-mysqlnd php71u-bcmath php71u-cli php71u-common php71u-embedded php71u-gd php71u-mbstring php71u-mcrypt php71u-ldap php71u-json php71u-simplexml
              

              Seems to be working....

              1 Reply Last reply Reply Quote 0
              • A
                Alex Sage @DustinB3403
                last edited by

                @dustinb3403 Yes.

                DustinB3403D 1 Reply Last reply Reply Quote 0
                • A
                  Alex Sage
                  last edited by

                  Hmmmmm.....

                  [root@snipeit html]# yum -y install epel-release httpd mariadb-server git unzip php71u php71u-mysqlnd php71u-bcmath             php71u-cli php71u-common php71u-embedded php71u-gd php71u-mbstring php71u-mcrypt php71u-ldap php71u-json php71u-simplexml
                  Loaded plugins: fastestmirror
                  Loading mirror speeds from cached hostfile
                   * base: centos-distro.cavecreek.net
                   * epel: fedora-epel.mirror.iweb.com
                   * extras: ftpmirror.your.org
                   * updates: centos.den.host-engine.com
                  Package epel-release-7-10.noarch already installed and latest version
                  Package httpd-2.4.6-67.el7.centos.2.x86_64 already installed and latest version
                  Package 1:mariadb-server-5.5.56-2.el7.x86_64 already installed and latest version
                  Package git-1.8.3.1-12.el7_4.x86_64 already installed and latest version
                  Package unzip-6.0-16.el7.x86_64 already installed and latest version
                  No package php71u available.
                  No package php71u-mysqlnd available.
                  No package php71u-bcmath available.
                  No package php71u-cli available.
                  No package php71u-common available.
                  No package php71u-embedded available.
                  No package php71u-gd available.
                  No package php71u-mbstring available.
                  No package php71u-mcrypt available.
                  No package php71u-ldap available.
                  No package php71u-json available.
                  No package php71u-simplexml available.
                  Nothing to do
                  
                  black3dynamiteB 1 Reply Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403 @Alex Sage
                    last edited by

                    @aaronstuder said in Issues Installting Snipe-IT on CentOS 7:

                    @dustinb3403 Yes.

                    @black3dynamite mentioned proxy servers, do you have any in place that are messing this up?

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      Alex Sage @DustinB3403
                      last edited by

                      @dustinb3403 Quite Possibly.

                      1 Reply Last reply Reply Quote 0
                      • black3dynamiteB
                        black3dynamite @Alex Sage
                        last edited by black3dynamite

                        @aaronstuder said in Issues Installting Snipe-IT on CentOS 7:

                        Hmmmmm.....

                        [root@snipeit html]# yum -y install epel-release httpd mariadb-server git unzip php71u php71u-mysqlnd php71u-bcmath             php71u-cli php71u-common php71u-embedded php71u-gd php71u-mbstring php71u-mcrypt php71u-ldap php71u-json php71u-simplexml
                        Loaded plugins: fastestmirror
                        Loading mirror speeds from cached hostfile
                         * base: centos-distro.cavecreek.net
                         * epel: fedora-epel.mirror.iweb.com
                         * extras: ftpmirror.your.org
                         * updates: centos.den.host-engine.com
                        Package epel-release-7-10.noarch already installed and latest version
                        Package httpd-2.4.6-67.el7.centos.2.x86_64 already installed and latest version
                        Package 1:mariadb-server-5.5.56-2.el7.x86_64 already installed and latest version
                        Package git-1.8.3.1-12.el7_4.x86_64 already installed and latest version
                        Package unzip-6.0-16.el7.x86_64 already installed and latest version
                        No package php71u available.
                        No package php71u-mysqlnd available.
                        No package php71u-bcmath available.
                        No package php71u-cli available.
                        No package php71u-common available.
                        No package php71u-embedded available.
                        No package php71u-gd available.
                        No package php71u-mbstring available.
                        No package php71u-mcrypt available.
                        No package php71u-ldap available.
                        No package php71u-json available.
                        No package php71u-simplexml available.
                        Nothing to do
                        

                        Check /etc/yum.repo.d/ to see if IUS.repo is there. You will need it in order install php71u*

                        # This is part of the snipeit.sh script.
                        echo "* Adding IUS, epel-release and MariaDB repositories."
                        log "yum -y install wget epel-release"
                        log "yum -y install https://centos7.iuscommunity.org/ius-release.rpm"
                        log "rpm --import /etc/pki/rpm-gpg/IUS-COMMUNITY-GPG-KEY"
                        
                        1 Reply Last reply Reply Quote 0
                        • A
                          Alex Sage
                          last edited by

                          Getting somewhere...

                          [root@snipeit html]# yum -y install epel-release httpd mariadb-server git unzip php71u php71u-mysqlnd php71u-bcmath     php71u-cli php71u-common php71u-embedded php71u-gd php71u-mbstring php71u-mcrypt php71u-ldap php71u-json php71u-simplexml
                          Loaded plugins: fastestmirror
                          Loading mirror speeds from cached hostfile
                           * base: centos-distro.cavecreek.net
                           * epel: fedora-epel.mirror.iweb.com
                           * extras: ftpmirror.your.org
                           * ius: archive.linux.duke.edu
                           * updates: centos.den.host-engine.com
                          Package epel-release-7-10.noarch already installed and latest version
                          Package httpd-2.4.6-67.el7.centos.2.x86_64 already installed and latest version
                          Package 1:mariadb-server-5.5.56-2.el7.x86_64 already installed and latest version
                          Package git-1.8.3.1-12.el7_4.x86_64 already installed and latest version
                          Package unzip-6.0-16.el7.x86_64 already installed and latest version
                          Package mod_php71u-7.1.9-2.ius.centos7.x86_64 already installed and latest version
                          Package php71u-mysqlnd-7.1.9-2.ius.centos7.x86_64 already installed and latest version
                          Package php71u-bcmath-7.1.9-2.ius.centos7.x86_64 already installed and latest version
                          Package php71u-cli-7.1.9-2.ius.centos7.x86_64 already installed and latest version
                          Package php71u-common-7.1.9-2.ius.centos7.x86_64 already installed and latest version
                          Package php71u-embedded-7.1.9-2.ius.centos7.x86_64 already installed and latest version
                          Package php71u-gd-7.1.9-2.ius.centos7.x86_64 already installed and latest version
                          Package php71u-mbstring-7.1.9-2.ius.centos7.x86_64 already installed and latest version
                          Package php71u-mcrypt-7.1.9-2.ius.centos7.x86_64 already installed and latest version
                          Package php71u-ldap-7.1.9-2.ius.centos7.x86_64 already installed and latest version
                          Package php71u-json-7.1.9-2.ius.centos7.x86_64 already installed and latest version
                          Package php71u-xml-7.1.9-2.ius.centos7.x86_64 already installed and latest version
                          Nothing to do
                          
                          A 1 Reply Last reply Reply Quote 0
                          • A
                            Alex Sage @Alex Sage
                            last edited by

                            * Installing Apache httpd, PHP, MariaDB and other requirements.
                              * httpd already installed
                              * mariadb-server already installed
                              * git already installed
                              * unzip already installed
                              * Installing php71u ...
                              * php71u-mysqlnd already installed
                              * php71u-bcmath already installed
                              * php71u-cli already installed
                              * php71u-common already installed
                              * php71u-embedded already installed
                              * php71u-gd already installed
                              * php71u-mbstring already installed
                              * php71u-mcrypt already installed
                              * php71u-ldap already installed
                              * php71u-json already installed
                              * Installing php71u-simplexml ...
                            

                            Clearly they are installed, but the script thinks they are not....

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

                              @aaronstuder you do not have php71u-simplexml installed already based on your previous post.

                              black3dynamiteB 1 Reply Last reply Reply Quote 0
                              • A
                                Alex Sage
                                last edited by

                                Also found in the log:

                                fatal: unable to access 'https://github.com/snipe/snipe-it/': Failed connect to github.com:443; Connection refused
                                
                                1 Reply Last reply Reply Quote 0
                                • black3dynamiteB
                                  black3dynamite @DustinB3403
                                  last edited by black3dynamite

                                  @dustinb3403 said in Issues Installting Snipe-IT on CentOS 7:

                                  @aaronstuder you do not have php71u-simplexml installed already based on your previous post.

                                  He installed php71u-xml-7.1.9-2.ius.centos7.x86_64 but the script installs php71u-simplexml
                                  I assume they are the same?

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    Alex Sage
                                    last edited by

                                    Going to run thought the script line by line and see where it fails

                                    black3dynamiteB 1 Reply Last reply Reply Quote 0
                                    • black3dynamiteB
                                      black3dynamite @Alex Sage
                                      last edited by

                                      @aaronstuder said in Issues Installting Snipe-IT on CentOS 7:

                                      Going to run thought the script line by line and see where it fails

                                      I think its best if you create a new VM and then try the script.

                                      A 1 Reply Last reply Reply Quote 0
                                      • A
                                        Alex Sage @black3dynamite
                                        last edited by

                                        @black3dynamite I have done that like 12 times now ;-/

                                        I 1 Reply Last reply Reply Quote 0
                                        • A
                                          Alex Sage
                                          last edited by Alex Sage

                                          Fresh VM, same issue.

                                          Maybe I am not setting the proxy correct?

                                          The commands I am using are:

                                          export http_proxy=http://192.168.10.X:8080/
                                          export https_proxy=https://192.168.10.X:8080/
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • DustinB3403D
                                            DustinB3403
                                            last edited by

                                            Try following these steps.

                                            A 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 4 / 5
                                            • First post
                                              Last post