关闭selinux就可以了。[root@RH02 ~]#setenforce 0 [root@RH02 ~]# getenforce Permissive 转载于:https://blog.51cto.com/renmcc/1347323