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.
    • RobbleheadR
      Robblehead @JaredBusch
      last edited by

      @JaredBusch 0_1491438074958_Screen Shot 2017-04-05 at 8.20.12 PM.png

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

        That is your problem. edit your hosts file locally. and it will work.

        1 Reply Last reply Reply Quote 1
        • RobbleheadR
          Robblehead @JaredBusch
          last edited by

          @JaredBusch I left anonymous users and allowed root login remotely. Those are the only other changes I made other than FQDN name

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

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

            @JaredBusch I left anonymous users and allowed root login remotely. Those are the only other changes I made other than FQDN name

            Those should never be allowed. That is database access not the CentOS access.

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

              @JaredBusch ok

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

                0_1491438311835_upload-68d7395c-9050-4387-a66e-d226b5664aeb

                0_1491438364347_upload-ff7b0e30-47a0-4bc0-85a2-114ab2d210c3

                RobbleheadR 3 Replies Last reply Reply Quote 1
                • RobbleheadR
                  Robblehead @JaredBusch
                  last edited by

                  @JaredBusch 0_1491438484397_Screen Shot 2017-04-05 at 8.27.47 PM.png

                  1 Reply Last reply Reply Quote 1
                  • RobbleheadR
                    Robblehead @JaredBusch
                    last edited by

                    @JaredBusch You have made fire! https://rockloveaustin.files.wordpress.com/2014/11/castaway.gif

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

                      @Robblehead You will want to properly get that DNS entry in your router or something so that all your devices work.

                      Editing your hosts file should only be a quick workaround that is used temporarily.

                      RobbleheadR 1 Reply Last reply Reply Quote 1
                      • RobbleheadR
                        Robblehead @JaredBusch
                        last edited by

                        @JaredBusch One last question, this is a test environment. When I move into production it will have a new IP address which shouldn't be a big deal but I am wondering if I will have to modify host file of every system that will be using snipe?

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

                          @JaredBusch answered my question for me. The production environment is running a sonicwall so I am pretty sure I can handle that side with Dell's help. (I know it's capable)

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

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

                            @JaredBusch One last question, this is a test environment. When I move into production it will have a new IP address which shouldn't be a big deal but I am wondering if I will have to modify host file of every system that will be using snipe?

                            Don't modify the local host file, use a proper DNS entry on your router (or DNS server if you have one)

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

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

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

                              @JaredBusch One last question, this is a test environment. When I move into production it will have a new IP address which shouldn't be a big deal but I am wondering if I will have to modify host file of every system that will be using snipe?

                              Don't modify the local host file, use a proper DNS entry on your router (or DNS server if you have one)

                              I already answered that as he posted in his next post.

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

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

                                @JaredBusch answered my question for me. The production environment is running a sonicwall so I am pretty sure I can handle that side with Dell's help. (I know it's capable)

                                Your problem is you will not be able to use DNS like you need because of this.

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

                                @DustinB3403 my router is pushing OpenDNS to all devices, would this be part of the issue? My laptop maybe not using same DNS?

                                You have no local DNS. So you are going to have to change your entire network or be stuck changing the hosts file on every single device that needs to use Snipe-IT.

                                You should never be pushing out a non local DNS source to your machines.

                                If you want to use OpenDNS, then you set your router to use OpenDNS and then you set your clients to use your router.

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

                                  Jared is correct, even if it is only a cache (effectively) you want a local DNS server in all cases, even at home.

                                  1 Reply Last reply Reply Quote 1
                                  • A
                                    Amit Shrestha @Robblehead
                                    last edited by Amit Shrestha

                                    @Robblehead
                                    Your fqdn should be like snipeit.abc.new
                                    in your router or host file write a custom dns as
                                    192.168.1.10 snipeit.abc.new
                                    Now from your browser http://snipeit.abc.new
                                    it will work.

                                    1 Reply Last reply Reply Quote 1
                                    • A
                                      Amit Shrestha @brandon.hay
                                      last edited by

                                      @brandon.hay
                                      ignore this error,go to your browser http://your fqdn
                                      and complete the remaining process via snipeit
                                      it will work.
                                      Tested.

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

                                        @Amit-Shrestha thanks for hopping in.

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

                                          Just trying this myself again and i'm getting the below error after running

                                          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 && cd snipeit; sed -i "s/'timezone' => '',/'timezone' => 'UTC',/" app/config/app.php; php artisan app:install
                                          
                                          
                                          
                                            [Symfony\Component\Console\Exception\CommandNotFoundException]
                                            Command "app:install" is not defined.
                                            Did you mean one of these?
                                             migrate:install
                                             app:name
                                          
                                          JaredBuschJ 1 Reply Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch @DustinB3403
                                            last edited by JaredBusch

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

                                            Just trying this myself again and i'm getting the below error after running

                                            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 && cd snipeit; sed -i "s/'timezone' => '',/'timezone' => 'UTC',/" app/config/app.php; php artisan app:install
                                            
                                            
                                            
                                              [Symfony\Component\Console\Exception\CommandNotFoundException]
                                              Command "app:install" is not defined.
                                              Did you mean one of these?
                                               migrate:install
                                               app:name
                                            

                                            The snipeit.sh file was updated recently.

                                            https://github.com/snipe/snipe-it/commits/master/snipeit.sh

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 14
                                            • 15
                                            • 8 / 15
                                            • First post
                                              Last post