Check SELinux Status:
First login as a root on centOS7.
Now check the status of SELinux by following command.
If it is already disabled, then there is no need to disable it on the other hand if this screen displayed in front of you then follow the below given steps.
To permanently disable SELinux on CentOS 7 system, follow the steps below:
- Open the /etc/selinux/config file and edit the SELINUX mod to disabled.
this will show you the image like given below.
As the above image shows that it is enabled now press “i” to insert or edit this file now navigate to this line and write “disabled”, Then press “Esc” after that press “shift+z+z” to save changes.
- Save the file and reboot your CentOS system with.
- After reboot verify the change with the sestatus command:
The output should look like this:
Now your SELinux is disabled.
- 0 Users Found This Useful
How to change Hostname in VPS Hosting?
There are 2 ways to change the Hostname of your VPS · Change Hostname through...How to reinstall the OS on VPS?
Here is a simple guide to show you how to reinstall the OS on VPS. · First make a log in...How to change Root Password of VPS in client Area?
First login to client area Now navigate to VPS Management section and click on change password...How to check the tasks in client Area?
First login to client area. Now navigate to VPS Management section and click on Tasks icon. t...How to enable rescue mode of your VPS in client Area?
When you are unable to access your VPS. While making changes you have done such a thing which you...