在 ClearOS 上安装 Passenger

在 ClearOS 上安装 Passenger

我在服务器上安装了 ClearOS 发行版(应该是基于 centos 7 的发行版),我想在其上使用 phusion Passenger。但是当我尝试安装它时,我遇到了此错误:

       Error: Package: passenger-5.0.22-8.el7.x86_64 (passenger)
       Requires: selinux-policy >= 3.13.1-60.el7
       Installed: selinux-policy-3.13.1-23.el7_1.21.noarch (@clearos-centos-updates)
           selinux-policy = 3.13.1-23.el7_1.21
       Available: selinux-policy-3.13.1-23.el7.noarch (clearos-centos)
           selinux-policy = 3.13.1-23.el7
       Available: selinux-policy-3.13.1-23.el7_1.7.noarch (clearos-centos-updates)
           selinux-policy = 3.13.1-23.el7_1.7
       Available: selinux-policy-3.13.1-23.el7_1.8.noarch (clearos-centos-updates)
           selinux-policy = 3.13.1-23.el7_1.8
       Available: selinux-policy-3.13.1-23.el7_1.13.noarch (clearos-centos-updates)
           selinux-policy = 3.13.1-23.el7_1.13
       Available: selinux-policy-3.13.1-23.el7_1.17.noarch (clearos-centos-updates)
           selinux-policy = 3.13.1-23.el7_1.17
       Available: selinux-policy-3.13.1-23.el7_1.18.noarch (clearos)
           selinux-policy = 3.13.1-23.el7_1.18

我不知道缺少了什么或如何更新 selinux-policy 以便它可以与乘客一起工作。

答案1

请执行下列操作:

yum remove selinux-policy

然后:

rpm -Uvh http://buildlogs.centos.org/c7.1511.00/selinux-policy/20151120104451/3.13.1-60.el7.x86_64/selinux-policy-3.13.1-60.el7.noarch.rpm
rpm -Uvh http://buildlogs.centos.org/c7.1511.00/selinux-policy/20151120104451/3.13.1-60.el7.x86_64/selinux-policy-targeted-3.13.1-60.el7.noarch.rpm

或者等到它通过更新解决......

我尝试启用 centos plus,但没有帮助......

相关内容