How to Close Centos Selinux?


Most of the time, when we set up a new Centos server, our panel and services will not work properly. This is due to the fact that the  selinux service is turned on, for this, the selinux must be off when we set from ssh to setenforce 0, the server becomes active again with the passive selinux reboot until the server is rebooted, so we must close the format we mentioned below.

After accessing your server with SSH;

Let’s open the file with nano, you can also open it with the vi plugin if you want,

I hope it was a useful article.