Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ===To disable SELinux===
- 0. Running getenforce on the terminal will output 'Enforcing':
- $ usr/sbin/getenforce
- $ Enforcing...
- 1. When I checked /etc/selinux/config, it read
- *deliberately omitted spaces b/w # and first character*
- # This file controls the state of SELinux on the system.
- # SELINUX= can take one of these three values:
- # enforcing - SELinux security policy is enforced.
- # permissive - SELinux prints warnings instead of enforcing.
- # disabled - No SELinux policy is loaded.
- SELINUX=enforced
- # SELINUXTYPE= can take one of these two values:
- # targeted - Targeted processes are protected,
- # mls - Multi Level Security protection.
- SELINUXTYPE=targeted
- 2. I changed 'SELINUX=enforced' to read 'SELINUX=disabled'.
- 3. I rebooted the system, and ran the command again.
- $ usr/sbin/getenforce
- $ Disabled
- 4. I headed over to localhost/iiab and the Wikipedia page worked!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement