Installing Snipe-IT on CentOS 7 and MariaDB
-
@JaredBusch I am using a basic Asus router nothing major.
If I am just wanting it locally accessible what would the best practice be? would leaving "localhost" make it work?
I appreciate your help, I've got about 12 hours in this thing now not giving up.
-
@Robblehead said in Installing Snipe-IT on CentOS 7 and MariaDB:
@JaredBusch I am using a basic Asus router nothing major.
If I am just wanting it locally accessible what would the best practice be? would leaving "localhost" make it work?
I appreciate your help, I've got about 12 hours in this thing now not giving up.
No, you want a FQDN. If you cannot use a FQDN, then you at least want something your PC can find with a ping command.
-
@JaredBusch I am able to ping it with the IP, but not the FQDN I set
-
@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).
-
@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:
-
@DustinB3403 my router is pushing OpenDNS to all devices, would this be part of the issue? My laptop maybe not using same DNS?
-
@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
-
@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:
-
@DustinB3403 I only mentioned the DNS because I haven't seen the DNS listing when I look up the IP
-
installing.
And works perfectly. If I navigate to the IP instead of the FQDN, it redirects me.
-
@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?
-
-
-
That is your problem. edit your hosts file locally. and it will work.
-
@JaredBusch I left anonymous users and allowed root login remotely. Those are the only other changes I made other than FQDN name
-
@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.
-
@JaredBusch ok
-
-
-
@JaredBusch You have made fire! https://rockloveaustin.files.wordpress.com/2014/11/castaway.gif