linux 异常 - setsebool: SELinux is disabled.

问题描述

运行命令:setsebool httpd_can_network_connect 1 或者 setsebool httpd_can_network_connect_db 1

报错:setsebool:  SELinux is disabled.

 

解决方案

开启 selinux

修改文件:vi /etc/selinux/config

将 SELINUX 的值修改为1

posted @ 2018-12-25 11:53  萧韶九成  阅读(9862)  评论(0编辑  收藏  举报