码迷,mamicode.com
首页 > 其他好文 > 详细

zabbix-3.4-时间不准问题(图形横轴和最新记录)

时间:2017-11-09 14:38:35      阅读:340      评论:0      收藏:0      [点我收藏+]

标签:安装   apache2   ubuntu   hang   ons   color   mil   span   define   

我用的版本是官网的3.4

技术分享

 

在vmware上安装完之后建议先安装桌面以便之后的维护:

  1.sudo apt-get install --no-install-recommends ubuntu-gnome-desktop

  2.把浏览器也安装了:sudo apt-get install firefox

  3.安装中文包:sudo apt-get install language-selector-gnome

 web显示时间不正常的解决办法:

  1.sudo vi /etc/apache2/conf-enabled/zabbix.conf

  2.修改“php_value date.timezone xx/xx”为

  3.“php_value date.timezone Asia/Shanghai”

  4.sudo find / -name php.ini |xargs grep timezone

    /etc/php/7.0/apache2/php.ini:; Defines the default timezone used by the date functions
    /etc/php/7.0/apache2/php.ini:; http://php.net/date.timezone
    /etc/php/7.0/apache2/php.ini:date.timezone = Asia/Shanghai
    /etc/php/7.0/cli/php.ini:; Defines the default timezone used by the date functions
    /etc/php/7.0/cli/php.ini:; http://php.net/date.timezone
    /etc/php/7.0/cli/php.ini:date.timezone = Asia/Shanghai

zabbix-3.4-时间不准问题(图形横轴和最新记录)

标签:安装   apache2   ubuntu   hang   ons   color   mil   span   define   

原文地址:http://www.cnblogs.com/Bingo0-python/p/7808318.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!