Installing Snipe-IT on CentOS 7 and MariaDB
-
@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
-
@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.
-
@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?
-
@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)
-
@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)
-
@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.
-
@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.
-
Jared is correct, even if it is only a cache (effectively) you want a local DNS server in all cases, even at home.
-
@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. -
@brandon.hay
ignore this error,go to your browser http://your fqdn
and complete the remaining process via snipeit
it will work.
Tested. -
@Amit-Shrestha thanks for hopping in.