Page 1 of 1

SELinux and LAMP.

Posted: 2019/01/04 12:38:04
by hack3rcon
I installed "Apache 2.4.6", "MySQL Ver 15.1 Distrib 5.5.60-MariaDB" and "PHP 7.0.32" on CentOS 7.6 x86_64 and I want to configure SELinux for protect them.
SELinux state is:

Code: Select all

$ sestatus 
SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   enforcing
Mode from config file:          enforcing
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Max kernel policy version:      28
I found some tutorials but I don't know they are OK or not. I'm a beginner in SELinux: ... b-servers/ ... nd-selinux ... 7-selinux/ ... on-rhel-7/
Which SELinux policies enough for protect LAMP?

Thank you.