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错误。提示如下:
这是由于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
经过几天努力,参考网上资料,验证后,找到了解决方法。
首先请关闭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
相关文章推荐
- 求助:web服务器未安装证书,无法对其进行配置......如何解决?
- Vmware安装提示在关闭以下进程 之前,无法进行安装的解决办法
- win7/8/10安装好之后再装Centos7,导致无法开机引导的问题解决.md
- CentOS的u盘安装有u盘才启动,没有u盘无法启动的解决方法by 42coder
- 虚拟机安装CentOS 7后无法上网问题解决办法(NAT 模式)
- Centos7安装完成后 无法联网的解决方法
- VMware虚拟机中的CentOS安装Nginx后本机无法访问的解决办法
- Visual Studio 2008 安装失败(“Web 创作组件”无法安装)的解决办法
- 安装centos后无法引导启动windows7的解决方法
- 给大家安装VS2008 SP1后web服务器无法调试的解决方法
- 解决问题:centos虚拟机安装好nginx,本机无法访问
- 安装centos后无法引导启动windows7的解决方法
- 使用U盘PE安装系统,显示安装程序无法重新启动计算机,请关闭所有应用程序并且关机,以便继续进行XP安装。找不到网络路径。的解决方法
- 【转】Visual Studio 2008 安装失败(“Web 创作组件”无法安装)的解决办法
- 解决Centos 7安装完成之后无法联网
- CentOS 安装 Apache 后其他机器无法访问的解决方法
- CentOS 6.5 安装Apache服务器后无法访问解决方法
- 【Linux】解决Oracle VirtualBox安装CentOS而无法正常获取IP的问题
- centos6.8安装python3.7无法import _ssl的解决方法
- Ubuntu搭建web环境安装sendmail无法实现(已解决)