zhouying23 发表于 2019-1-20 14:10:22

Ubuntu 14.10 安装 zabbix 2.4-jonybay

  #apt-get install ntp
  #vim /etc/ntp.conf
  server 1.cn.pool.ntp.org
  server 1.asia.pool.ntp.org
  server 0.asia.pool.ntp.org
  # mv /etc/apt/sources.list sources.list.bak
  # vim /etc/apt/sources.list
  deb http://mirrors.aliyun.com/ubuntu/ utopic main restricted universe multiverse
  deb http://mirrors.aliyun.com/ubuntu/ utopic-security main restricted universe multiverse
  deb http://mirrors.aliyun.com/ubuntu/ utopic-updates main restricted universe multiverse
  deb http://mirrors.aliyun.com/ubuntu/ utopic-proposed main restricted universe multiverse
  deb http://mirrors.aliyun.com/ubuntu/ utopic-backports main restricted universe multiverse
  deb-src http://mirrors.aliyun.com/ubuntu/ utopic main restricted universe multiverse
  deb-src http://mirrors.aliyun.com/ubuntu/ utopic-security main restricted universe multiverse
  deb-src http://mirrors.aliyun.com/ubuntu/ utopic-updates main restricted universe multiverse
  deb-src http://mirrors.aliyun.com/ubuntu/ utopic-proposed main restricted universe multiverse
  deb-src http://mirrors.aliyun.com/ubuntu/ utopic-backports main restricted universe multiverse
  # wget http://repo.zabbix.com/zabbix/2.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_2.4-1+trusty_all.deb
  # dpkg -i zabbix-release_2.4-1+trusty_all.deb# apt-get update
  # apt-get install zabbix-server-mysql zabbix-frontend-php
  # apt-get install zabbix-agent
  # vim /etc/php5/apache2/php.ini
  data.timezone = Asia/Shanghai
  # service apache2 restart
  # vim /usr/share/zabbix/include/locales.inc.php
  'zh_CN' => array('name' => _('Chinese (zh_CN)'),'display' => true),
  # apt-get install language-pack-zh-hans
  # service apache2 restart
  # cp ~/simhei.ttf /usr/share/zabbix/fonts/simhei.ttf
  # mv /usr/share/zabbix/fonts/graphfont.ttf graphfont.ttf.bak
  # mv /usr/share/zabbix/fonts/simhei.ttf graphfont.ttf
  # service apache2 restart

页: [1]
查看完整版本: Ubuntu 14.10 安装 zabbix 2.4-jonybay