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
  • 81 A felhasználók hasznosnak találták ezt
Hasznosnak találta ezt a választ?

Kapcsolódó cikkek

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...

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 Change SSH Port on Your VPS

Looking to add a small layer of security to your Linux VPS? Interested in learning how to change...

How to Install CyberPanel on your VPS

CyberPanel is a free control panel, based upon OpenLiteSpeed Web Server. It is a free alternative...