- Get into editor mode of the file with the below given command.
vi /etc/sysconfig/selinux
- Press i to get into Insert mode.
- Change SELinux=enabled to disabled. Click
ESc
to exit Insert mode. - Use the command
:wq!.
Check out the blog to read in-detailed procedure.