Install LAMP phpMyAdmin and MariaDB into CentOS7
-
@JaredBusch said in Install LAMP phpMyAdmin and MariaDB into CentOS7:
Just turn of SELinux and make sure it all works before you change contexts.
setenforce 0
then if it all works, change contexts and turn it back on and test.
I got out of the habit of doing this because if the installer changes something in a diff directory that you didn't expect it can be a pain to troubleshoot. I've had that happen a couple times. But in this scenario it's all http files so I agree.
-
@JaredBusch said in Install LAMP phpMyAdmin and MariaDB into CentOS7:
@scottalanmiller said in Install LAMP phpMyAdmin and MariaDB into CentOS7:
I'm with Jared, turning SELinux off during testing and installation is fine. Just make sure it is there before you start using the box.
And that is why I always say to use
setenforce 0
, because it will not survive a reboot in case you forget.Same here.
-
So I've used
sentenforce 0
But now I'm getting stopped here
-
You put in the directory name, rather than the log file name.
-
Ah. maybe that is it (it auto fills).
One second, testing
-
So I touched a messages.log file into /var/log/syslog and gave it 666 access.
Still no love.
-
Same with "messages"
No love.
-
@DustinB3403 said in Install LAMP phpMyAdmin and MariaDB into CentOS7:
So I touched a messages.log file into /var/log/syslog and gave it 666 access.
Still no love.
What OS is that? I thought you wanted the logs from XenServer. That's an Ubuntu log.
/var/log/messages
-
This is CentOS 7 that is running LogAnalyzer and Syslog.
I'm trying to stand up a centralized location to push the logs to from XenServer.
-
@DustinB3403 said in Install LAMP phpMyAdmin and MariaDB into CentOS7:
This is CentOS 7 that is running LogAnalyzer and Syslog.
I'm trying to stand up a centralized location to push the logs to from XenServer.
So you are looking for the XenServer or the CentOS logs? In both cases, they are in /var/log/messages, not in /var/log/syslog as that's an Ubuntu file.