为什么要关闭SeLinux,不是有助于安全吗?
因为,SeLinux可能导致很多莫名的问题,例如Eclipse运行报错“Failed to load the jni shared library libjvm.so”。
如果只是开发测试服务器的话,还是关了吧。
快速关闭:
#/usr/sbin/setenforce 0
快速开启:
#/usr/sbin/setenforce 1
因为,SeLinux可能导致很多莫名的问题,例如Eclipse运行报错“Failed to load the jni shared library libjvm.so”。
如果只是开发测试服务器的话,还是关了吧。
快速关闭:
#/usr/sbin/setenforce 0
快速开启:
#/usr/sbin/setenforce 1