Small knowledge, big challenge! This article is participating in the creation activity of “Essential Tips for Programmers”.

Basically, to install most databases, you need to turn selinux off. It’s easy!

Temporary closure:

setenforce 0
Copy the code

Permanently closed:

sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
Copy the code

📢 Note: Restart is required to take effect!

Check whether the shutdown is successful:

getenforce
cat /etc/selinux/config
Copy the code

This is the end of sharing ~

If you think the article is helpful to you, please like it, favorites it, pay attention to it, comment on it, and support it four times with one button. Your support is the biggest motivation for my creation.

❤️ technical exchange can follow the public number: Lucifer think twice before you do ❤️