How to turn off selinux in centos

WJ
Release: 2020-06-05 16:07:20
Original
4628 people have browsed it

How to turn off selinux in centos

How to turn off selinux in centos?

Close SELINUX

vi
Copy after login

How to turn off selinux in centos

Modification

SELINUX=disabled
Copy after login

Command modification:

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

Restart

reboot
Copy after login

View status

sestatus
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!