SELinux and LAMP.

Support for security such as Firewalls and securing linux
Post Reply
Posts: 728
Joined: 2014/11/24 11:04:37

SELinux and LAMP.

Post by hack3rcon » 2019/01/04 12:38:04

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.

Post Reply

Return to “CentOS 7 - Security Support”