您的位置:首页 > 运维架构 > Linux

Centos 7安装centreon后无法进行WEB安装解决。

2017-08-22 10:06 603 查看
Centos 7上安装Centreon+nagios架构。完成程序安装后,发现无法通过浏览器打开WEB,进行最后配置。

经过几天努力,参考网上资料,验证后,找到了解决方法。

首先请关闭Centos防火墙。否则,无法进行WEB访问。

[root@localhost ~]# systemctl stop firewalld.service
[root@localhost ~]# systemctl disable firewalld.service

这样,发现可以打开根目录 和nagios界面,但是打开Centreon,报forbidden 403错误。提示如下:


You don't have permission to access /centreon/

这是由于centreon没有安装在Apacher默认目录下。打开httpd.conf。找到如下部分:

<Directory />
AllowOverride none
Require all denied

</Directory>


修改为,如下,然后重启Apacher即可。

<Directory />
# AllowOverride none
# Require all denied
Options Indexes FollowSymLinks
AllowOverride None
</Directory>


参考:http://sjpsega.iteye.com/blog/1507439
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐