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.
    • B
      BoardinJunky @black3dynamite
      last edited by

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

      setsebool -P httpd_can_connect_ldap on

      You sir, are an absolute genius! I spent hours searching online but didn't see a single mention of that command. Did I miss it somewhere obvious??

      I don't suppose you have another trick up your sleeve for getting mail to work? No matter what I try, I get a "Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host. Permission denied #13".

      Tried using internal SMTP relay as well as 365 mail and same permission denied error.

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

        Same thing

        setsebool -P httpd_can_sendmail on

        B 1 Reply Last reply Reply Quote 0
        • B
          BoardinJunky @JaredBusch
          last edited by BoardinJunky

          @jaredbusch damn. I've not seen those commands mentioned anywhere. That did the trick to get around the permission thing. Could you point me in the direction of where the mail logs get created? laravel log doesn't show any.

          I'm getting a 'Success! Link has been sent', but no email is actually received and not sure where to trace it down further.

          Nevermind! It's up and running! Thank you!

          1 Reply Last reply Reply Quote 0
          • stacksofplatesS
            stacksofplates
            last edited by

            It's weird because their script has the SELinux stuff in it.

            0_1501290997846_selinux.png

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

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

              It's weird because their script has the SELinux stuff in it.

              0_1501290997846_selinux.png

              Well one of the earlier posts breaks that process because we said to setenforce 0 prior to running the script.

              But yeah, that would work if you did not disable it first.

              stacksofplatesS 1 Reply Last reply Reply Quote 1
              • stacksofplatesS
                stacksofplates @JaredBusch
                last edited by

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

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

                It's weird because their script has the SELinux stuff in it.

                0_1501290997846_selinux.png

                Well one of the earlier posts breaks that process because we said to setenforce 0 prior to running the script.

                But yeah, that would work if you did not disable it first.

                Ah missed that ok.

                1 Reply Last reply Reply Quote 0
                • B
                  BoardinJunky
                  last edited by

                  Is it possible to restrict sign-in to only a specific group in AD? The ldap filter only seems to apply for ldap import. No matter what base DN I pick, every user is able to login and account gets created. Eg, only allow login for staff group and not students.

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

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

                    Is it possible to restrict sign-in to only a specific group in AD? The ldap filter only seems to apply for ldap import. No matter what base DN I pick, every user is able to login and account gets created. Eg, only allow login for staff group and not students.

                    Once you sync, can't you disable individual users per their Snipe-IT account settings?

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

                      On another note, it might be worth creating a feature request to simply import only a specific OU.

                      B 1 Reply Last reply Reply Quote 1
                      • B
                        BoardinJunky @DustinB3403
                        last edited by

                        @dustinb3403 I'm able to get a single group to import via LDAP but I can't restrict login to ONLY that group.

                        We have several thousand users, badly organized, so disabling them after a full import would be a pain.

                        Ideally I'm looking to import a specific group via LDAP, which works at the moment, and then ONLY allow that group to login, which doesn't work. Anyone from the base DN can also login. I could turn off LDAP integration after doing the initial sync I guess but that means the passwords won't match after they change their AD ones.

                        I feel like this SHOULD be possible but I'm not sure if I'm missing something obvious again in the settings.

                        DustinB3403D 1 Reply Last reply Reply Quote 2
                        • DustinB3403D
                          DustinB3403 @BoardinJunky
                          last edited by

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

                          @dustinb3403 I'm able to get a single group to import via LDAP but I can't restrict login to ONLY that group.

                          We have several thousand users, badly organized, so disabling them after a full import would be a pain.

                          Ideally I'm looking to import a specific group via LDAP, which works at the moment, and then ONLY allow that group to login, which doesn't work. Anyone from the base DN can also login. I could turn off LDAP integration after doing the initial sync I guess but that means the passwords won't match after they change their AD ones.

                          I feel like this SHOULD be possible but I'm not sure if I'm missing something obvious again in the settings.

                          That makes a lot more sense. I'm not aware of any functionality or limits with LDAP, because I've not used it. I'd recommend jumping onto their Gitter page and speak with the developers directly.

                          1 Reply Last reply Reply Quote 0
                          • jrcJ
                            jrc
                            last edited by

                            Ok, so I am thinking about giving this a go for our environment. We don't track software licenses, but do track physical inventory (computers, laptops, projectors etc).

                            I assume I can import my current inventory into Snipe-IT via a CSV process? Can I also export to CSV?

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

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

                              Ok, so I am thinking about giving this a go for our environment. We don't track software licenses, but do track physical inventory (computers, laptops, projectors etc).

                              I assume I can import my current inventory into Snipe-IT via a CSV process? Can I also export to CSV?

                              Export from what, SnipeIT?

                              jrcJ 1 Reply Last reply Reply Quote 0
                              • jrcJ
                                jrc @DustinB3403
                                last edited by

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

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

                                Ok, so I am thinking about giving this a go for our environment. We don't track software licenses, but do track physical inventory (computers, laptops, projectors etc).

                                I assume I can import my current inventory into Snipe-IT via a CSV process? Can I also export to CSV?

                                Export from what, SnipeIT?

                                Yes, sorry. I meant export from Snipe-IT. We do this in order to comparisons and updates to some things in inventory, helps us locate devices that need to be updated and/or added.

                                EG - Export all Ipad 4s. Change some fields (location, assigned user etc) then re-import to update the records. This is very usefule when re-assigning iPads from classrooms onto iPad carts, or moving hundreds from one campus to another.

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

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

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

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

                                  Ok, so I am thinking about giving this a go for our environment. We don't track software licenses, but do track physical inventory (computers, laptops, projectors etc).

                                  I assume I can import my current inventory into Snipe-IT via a CSV process? Can I also export to CSV?

                                  Export from what, SnipeIT?

                                  Yes, sorry. I meant export from Snipe-IT. We do this in order to comparisons and updates to some things in inventory, helps us locate devices that need to be updated and/or added.

                                  EG - Export all Ipad 4s. Change some fields (location, assigned user etc) then re-import to update the records. This is very usefule when re-assigning iPads from classrooms onto iPad carts, or moving hundreds from one campus to another.

                                  I'm not seeing an export functionality from what I have installed, but you can create reports with those details. And then subsequently upload that over your database.

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

                                    Speaking of iPads etc, how are you managing them. Are you using an MDM, apple configurator?

                                    Some combination?

                                    jrcJ 2 Replies Last reply Reply Quote 0
                                    • jrcJ
                                      jrc @DustinB3403
                                      last edited by jrc

                                      @dustinb3403

                                      Jamf's Casper Suite and DEP. So MDM.

                                      Configurator is not really a management tool, it's a setup tool to get the iPads into the MDM reasonably quickly and with minimal interaction on each device.

                                      1 Reply Last reply Reply Quote 1
                                      • jrcJ
                                        jrc @DustinB3403
                                        last edited by

                                        @dustinb3403

                                        I'm glad to go over it with you in detail via email or PM if you like.

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

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

                                          @dustinb3403

                                          I'm glad to go over it with you in detail via email or PM if you like.

                                          Not at the moment, cause I'm tired and need a beer lol. So won't really be paying attention.

                                          Remind me tomorrow maybe.

                                          🙂

                                          1 Reply Last reply Reply Quote 0
                                          • Emad RE
                                            Emad R @scottalanmiller
                                            last edited by Emad R

                                            @scottalanmiller

                                            Hi,

                                            this guide no longer works on latest Centos

                                            CentOS Linux release 7.3.1611 (Core)

                                            I am starting to think that those install helper scripts from dev do more damage than good, and manual way are longer but better:

                                            https://www.tecmint.com/install-snipe-it-asset-management-on-centos-ubuntu-debian/

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