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 I am able to ping it with the IP, but not the FQDN I set

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

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

        @JaredBusch I am able to ping it with the IP, but not the FQDN I set

        localhost is not a FQDN, if you made up a FQDN like "snipe-it.robblehead.com" then you need to add a DNS entry into either your DNS Server or your HOST file on your computer that resolves an IP address to that FQDN.

        Otherwise, at the setup, just set the name to something like "snipe-robblehead" and get the IP address of the system by entering ip addr when the installation is complete. Then once complete insure you have a DHCP reservation in place for this system.

        It'll list the ip address, and you'll resolve to that. If you ever do have a "proper" DNS server, just add it as a DNS record at which point you can then resolve to the name you set above (in step 1).

        RobbleheadR 2 Replies Last reply Reply Quote 1
        • RobbleheadR
          Robblehead @DustinB3403
          last edited by

          @DustinB3403 That's what I thought, but I believe that's what I did. I created a name "cwi-assets" .

          The IP of server is 10.0.0.168

          When I browse to the IP 10.0.0.168 the address bar changes to the FQDN I setup as I was hoping and then I have this error:
          0_1491435953090_Screen Shot 2017-04-05 at 7.45.41 PM.png

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

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

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

              @Robblehead No your laptop should be using the same DNS unless your not on that network.

              Which is possible (just not sure why you wouldn't know that.... no offense).

              Did you complete the installation process, I believe @JaredBusch posted a simple "how to" a short while ago in this very topic.

              Yeah. right here: https://mangolassi.it/topic/6967/installing-snipe-it-on-centos-7-and-mariadb/119

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

                @DustinB3403 no offense taken at all.

                I had tried a couple different methods already listed with no luck.

                I did the exact process @JaredBusch just left and tested working:
                0_1491436254906_Screen Shot 2017-04-05 at 7.50.27 PM.png

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

                  @DustinB3403 I only mentioned the DNS because I haven't seen the DNS listing when I look up the IP

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

                    installing.

                    0_1491437560551_upload-80ec8681-2e0b-40b1-923d-884623b2a3c5

                    0_1491437625721_upload-f7aba161-add5-4f49-a3bd-20929904b784

                    0_1491437677554_upload-c0e88804-5781-482d-a99e-4a4beb10f752

                    0_1491437700217_upload-338a2ea6-85bb-4d3e-bb7b-98da60019f03

                    0_1491437799720_upload-a7e4e59a-a87e-43a2-9a0a-912a32c2fd1f

                    0_1491437816914_upload-b6e56c5e-4239-4c13-84ac-08574e9644ad

                    And works perfectly. If I navigate to the IP instead of the FQDN, it redirects me.

                    0_1491437847993_upload-8a533a23-b818-4b62-bf77-681add9217d2

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

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

                      @DustinB3403 That's what I thought, but I believe that's what I did. I created a name "cwi-assets" .

                      The IP of server is 10.0.0.168

                      If you ping cwi-assets from your desktop, does it respond with 10.0.0.168?

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

                        @JaredBusch 0_1491438053138_Screen Shot 2017-04-05 at 8.20.29 PM.png

                        1 Reply Last reply Reply Quote 0
                        • 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
                                            • 1
                                            • 2
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 14
                                            • 15
                                            • 8 / 15
                                            • First post
                                              Last post