jmton 发表于 2019-1-22 09:45:13

Zabbix 2.4 for Ubuntu 14.04 LTS:

同步于官方文档+实验论证
1、安装zabbix-release
# 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
# sudo apt-get update
# sudo apt-get install zabbix-server-mysql zabbix-frontend-php
  2、安装zabbix-agent
sudo apt-get install zabbix-agent
  3、修改时区等配置:
  #sudo vim /etc/apache2/conf-available/zabbix.conf)
php_value max_execution_time 300
php_value memory_limit 128M
php_value post_max_size 16M
php_value upload_max_filesize 2M
php_value max_input_time 300
# php_value date.timezone Europe/Riga
php_value date.timezone Asia/Shanghai  4、重启apache2配置
sudo service apache2 restart
  过程中存在以下报错解决方法:
5、Ubuntu下Apache重启错误:Could not reliably determine解决
  错误信息:
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
  解决方法:
sudo gedit /etc/apache2/apache2.conf
  在文件后面加上:
#Server Name
  ServerName = 127.0.0.1




页: [1]
查看完整版本: Zabbix 2.4 for Ubuntu 14.04 LTS: