Home  >  Article  >  Operation and Maintenance  >  How to turn off selinux in centos

How to turn off selinux in centos

WJ
WJOriginal
2020-06-05 16:07:204688browse

How to turn off selinux in centos

How to turn off selinux in centos?

Close SELINUX

vi

How to turn off selinux in centos

Modification

SELINUX=disabled

Command modification:

sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config

Restart

reboot

View status

sestatus

Related reference: centOS tutorial

The above is the detailed content of How to turn off selinux in centos. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn