Portal Home > Knowledgebase > VPS Hosting and Dedicated Servers > How to stop SELinux in the CentOS

How to stop SELinux in the CentOS

To temporary disable SELinux on your dedicated server use:

echo 0 >/selinux/enforce

To permanently disable SElinux edit the file: /etc/selinux/config

Change the following line:




After the change reboot the dedicated server.

Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

* Minimum sign up periods for cPanel Web Hosting plans: Mini - 3mo., Pro - 1mo., Biz - 1mo., cPanel Reseller Hosting, Linux VPS, Windows VPS, Managed cPanel VPS and Dedicated Servers - 1mo. secret link
Accepted payments: Credit/Debit Card, Paypal, Payza, Skrill, WebMoney, CashU, Ukash, paysafecard, Bitcoin, Perfect Money, SolidTrust Pay, OKPay, EgoPay, Western Union/MG, Wire Transfer and more.