zabbix修改默认的/zabbix斜杠-创新互联
修改此处 /etc/httpd/conf/httpd.conf
创新互联-专业网站定制、快速模板网站建设、高性价比乐业网站开发、企业建站全套包干低至880元,成熟完善的模板库,直接使用。一站式乐业网站制作公司更省心,省钱,快速模板网站建设找我们,业务覆盖乐业地区。费用合理售后完善,十多年实体公司更值得信赖。#DocumentRoot "/var/www/html"
DocumentRoot "/usr/share/zabbix"
可以直接访问zabbix了 IP
不用IP/zabbix了
如果zabbix3.4不能浏览
报错:
[Mon Nov 20 16:32:26.449942 2017] [:error] [pid 4979] [client 172.23.10.155:53980] PHP Warning: require_once(/etc/zabbix/web/maintenance.inc.php): failed to open stream: Permission denied in /usr/share/zabbix/include/classes/core/ZBase.php on line 271
[Mon Nov 20 16:32:26.449996 2017] [:error] [pid 4979] [client 172.23.10.155:53980] PHP Fatal error: require_once(): Failed opening required '/etc/zabbix/web/maintenance.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/zabbix/include/classes/core/ZBase.php on line 271
[Mon Nov 20 16:32:26.788031 2017] [:error] [pid 4982] [client 172.23.10.155:53981] PHP Warning: require_once(/etc/zabbix/web/maintenance.inc.php): failed to open stream: Permission denied in /usr/share/zabbix/include/classes/core/ZBase.php on line 271
[Mon Nov 20 16:32:26.788089 2017] [:error] [pid 4982] [client 172.23.10.155:53981] PHP Fatal error: require_once(): Failed opening required '/etc/zabbix/web/maintenance.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/zabbix/include/classes/core/ZBase.php on line 271
chown -R apache.apache /etc/zabbix/web/
chown -R apache.apache /usr/share/zabbix/include/classes/core
重启httpd
和zabbix-server
另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
当前文章:zabbix修改默认的/zabbix斜杠-创新互联
本文地址:http://ybzwz.com/article/psdoh.html