Created
January 15, 2018 15:54
-
-
Save vittee/3d1d4f1e1e987cdf3c0e1e951f23d557 to your computer and use it in GitHub Desktop.
CentOS7 Disable SELinux + Increase Max File
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setenforce 0 | |
sed -i -E s/SELINUX=.+/SELINUX=disabled/g /etc/sysconfig/selinux | |
sysctl -w fs.file-max=500000 | |
echo fs.file-max=500000 >> /etc/sysctl.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment