0

How to Disable and Remove SELinux on Centos

Asked 3 years ago (Feb 18, 2022) in the field of Linux by Daniel WD

Hello, I have a centos vps server and I want to install a control panel on it, I need to disable and remove SELinux in centos 7 or 8.

How can I do this?


Answers


0
Answered 3 years ago (Feb 18, 2022) by Eldernode Staff

Perform the following steps as a root:

Disable:

setenforce 0

Remove:

yum remove selinux-policy\*
rm -rf /etc/selinux/targeted /etc/selinux/config

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+8595670151

7 days a week, 24 hours a day