我按照本指南在CentOS 6.9(minimaslist)上安装FreePBX,一切正常,直到从./install -n
安装FreePBX:/usr/src/freepbx
的最后一步,我一直收到以下错误信息:< / p>
Assuming you are Database Root
Checking if SELinux is enabled...Error!
SELinux is enabled. Please disable SELinux before installing FreePBX.
我已通过在SELINUX=disabled
中编写/etc/sysconfig/selinux
来禁用SELinux,然后重新启动,但我仍然遇到同样的问题。
作为参考,这是cat /etc/sysconfig/selinux
:
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
答案 0 :(得分:0)
我找到了解决方案,部分归功于@Dusan Bajic的评论,运行sestatus
:
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: enforcing
Mode from config file: enforcing
Policy version: 24
Policy from config file: targeted
快速搜索让我意识到,为了禁用SELinux,我必须修改/etc/selinux/config
,而不是sestatus
:
SELinux status: disabled