How to disable SELINUX on VPS

CentOS deployments by default come with SELINUX enabled. In certain circumstances, you may want to disable SELINUX, for example - this is a requirement if you are trying to install a control panel such as cPanel or CyberPanel on your VPS.

You can disable SELINUX on your server by executing the below two commands in SSH:

setenforce 0
sed -i 's/enforcing/disabled/g' /etc/selinux/config

  • disable selinux, selinux, how to disable selinux on a vps, disabling selinux on centos, disabling selinux
  • 80 Users Found This Useful
Was this answer helpful?

Related Articles

Can I request to install Windows Operating System?

Windows is only able to run on our Windows VPS plans, which you can view here:...

Difference between Mb/s and MB/s

In this video, we go over the differences between Megabits per second (Mb/s) and Megabytes per...

Does RackNerd VPS support Custom ISO?

Yes, we can mount a custom Linux ISO of your choice to your KVM VPS service with us. There is no...

How do I use my new VPS?

So you just ordered a new VPS and want to know how to get started with using it? In this video...

How to Boot Your VPS to Rescue Mode

What is rescue mode used for? Rescue mode is useful if for example you may have a corrupt kernel,...