Installing Snipe-IT CentOS7 issues
-
Thought I would give this a separate thread instead of clogging up the install guide Scott has done.
Using the code as follows from a fresh install of CentOS7 from the DVD Media.cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)yum -y install epel-release
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.shThat brings up this screen
When I browse http://server/ I get
Figured this might be MYSQL details to edited - app/config/production/database.php - to reflect username and password for database.
now get this
I'll now stop and do something else for a bit
-
My guess is that SELinux is on....
-
What is the output of this...
cat /etc/sysconfig/selinux
-
-
Cloud I now have an issue if I've changed the username password in the database config file?
-
Boom, there it is. Let's start over. Change that "enforcing" to "disabled." Darnit. I checked. Digital Ocean is changing the default!!!
-
@hobbit666 said:
Cloud I now have an issue if I've changed the username password in the database config file?
Yes, just reimage and start over. That's fastest.
-
Does
setenforce 0
work on CentOS 7? -
@scottalanmiller It has when I've used it.
-
Should this work with CentOS7 minimum image? or will I be missing important stuff??
-
@hobbit666 I had to install wget
-
@brianlittlejohn said:
@hobbit666 I had to install wget
Almost everyone skips things like this..
Yeah,
wget
andepel-release
are NOT part of a true clean CentOS install. Many people just make instructions with assumptions built in.When testing instructions I plan to publish, I always build things on my own infrastructure beginning with a new install of CentOS 7 minimal to ensure nothing is missed.
-
@JaredBusch I am very much a noob with linux and don't really know what comes with it preinstalled or not as far as the minimal installs. So i just threw that info out for other noobs like me.
-
@brianlittlejohn said:
@JaredBusch I am very much a noob with linux and don't really know what comes with it preinstalled or not as far as the minimal installs. So i just threw that info out for other noobs like me.
Yeah, I meant that people making instructions forget that.
-
-
@JaredBusch said:
Yeah,
wget
andepel-release
are NOT part of a true clean CentOS install. Many people just make instructions with assumptions built in.I did not in this case. I knew that epel was required but not included and put it in the instructions. Wget I tested to ensure it was there by default, but it appears that Digital Ocean is modifying that too!! That's really frustrating. Can't wait till our new lab cluster is up so that we can do these tests faster and easier there with true vanilla installs and not have to trust third parties have not been modifying them.
-
@scottalanmiller said:
@JaredBusch said:
Yeah,
wget
andepel-release
are NOT part of a true clean CentOS install. Many people just make instructions with assumptions built in.I did not in this case. I knew that epel was required but not included and put it in the instructions. Wget I tested to ensure it was there by default, but it appears that Digital Ocean is modifying that too!! That's really frustrating. Can't wait till our new lab cluster is up so that we can do these tests faster and easier there with true vanilla installs and not have to trust third parties have not been modifying them.
Well, we had a discussion here (not even going to try and find the thread) about a year or so ago when I was setting something up and I mentioned this then. Mostly related to how DO was not a clean Minimal install.