Hello,
I want to install Apache, MySQL and PHP on CentOS 8, but I don't like to disable SELinux. I know that SELinux maybe cause some problems and I want to configure it to protect my system. Which SELinux configuration and commands I must run?
I'm thankful if anyone share the experiences.
Thank you.
SELinux and LAMP.
-
- Posts: 1522
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: SELinux and LAMP.
You're following the wrong directions if they tell you to disable anything!!
I'm not up to date with CentOS 8, but Mariadb (mysql fork) may already be installed - not sure.
sudo dnf install httpd php may help.
httpd = Apache
I'm not up to date with CentOS 8, but Mariadb (mysql fork) may already be installed - not sure.
sudo dnf install httpd php may help.
httpd = Apache
Re: SELinux and LAMP.
Thank you, but I need properly SELinux commands about LAMP and WordPress.
I don't like to disable it.
I don't like to disable it.
Re: SELinux and LAMP.
So don't disable it.
No-one can tell you how to fix problems that you haven't experienced yet. Install what you need, run it. If you get problems then use our wikipage article (the first in the list below) to analyze the problems and fix them.
Useful resources for SELinux: http://wiki.centos.org/HowTos/SELinux | http://wiki.centos.org/TipsAndTricks/SelinuxBooleans | http://docs.fedoraproject.org/en-US/Fed ... ced_Linux/ | http://www.youtube.com/watch?v=bQqX3RWn0Yw | http://opensource.com/business/13/11/se ... licy-guide | http://freecomputerbooks.com/The-SELinu ... tions.html
No-one can tell you how to fix problems that you haven't experienced yet. Install what you need, run it. If you get problems then use our wikipage article (the first in the list below) to analyze the problems and fix them.
Useful resources for SELinux: http://wiki.centos.org/HowTos/SELinux | http://wiki.centos.org/TipsAndTricks/SelinuxBooleans | http://docs.fedoraproject.org/en-US/Fed ... ced_Linux/ | http://www.youtube.com/watch?v=bQqX3RWn0Yw | http://opensource.com/business/13/11/se ... licy-guide | http://freecomputerbooks.com/The-SELinu ... tions.html
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke