zabbix-3.0.x LTS源码安装配置

zabbix-3.0.x LTS源码安装配置
官方网站:


环境:
CentOS 7.3 x64
zabbix-3.0.4 LTS
nginx-1.10.0
php-5.6.26
mariadb-10.1.13


说明:从2.2 LTS升级到3.0 LTS,数据库不再需要手动打补丁,只需要zabbix daemon和agentd重新编译安装覆盖即可

Database upgrade

----------------


Zabbix server performs automatic database upgrade starting from version 2.2.0.

No SQL scripts are provided anymore.


----------------


Starting with 2.2.0, manual database patching is not required anymore. Zabbix

 server and proxy processes automatically check and upgrade the database schema

 and relevant data.


Patching status and progress is visible in the logfile.


Note that upgrade will be always started unconditionally, care should be taken

 when starting new binaries to prevent undesired database changes.


Warning: make sure to have database backup before starting the new binaries.




安装配置

安装配置同zabbix-2.2.x LTS源码安装配置


注意:php.ini选项相对于zabbix-2.2.x要增加一项

always_populate_raw_post_data = -1


php前端变化最为明显,也紧随潮流,扁平风格,整体非常清爽,提供blue,dark两种主题,视觉上是一大亮点



zabbix-3.0.x <wbr>LTS源码安装配置

zabbix-3.0.x <wbr>LTS源码安装配置

zabbix-3.0.x <wbr>LTS源码安装配置

zabbix-3.0.x <wbr>LTS源码安装配置

zabbix-3.0.x <wbr>LTS源码安装配置

zabbix-3.0.x <wbr>LTS源码安装配置

zabbix-3.0.x <wbr>LTS源码安装配置



zatree插件安装

https://github.com/BillWang139967/zatree/tree/master/zabbix-3.0.x


git clone https://github.com/BillWang139967/zatree.git

cd zatree/zabbix-3.0.x/

WEB_DIR="/opt/nginx/html/zabbix"

sed -i "/^WEB_DIR=/c WEB_DIR="$WEB_DIR"" start.sh

sh start.sh


zabbix-3.0.x <wbr>LTS源码安装配置
zabbix-3.0.x <wbr>LTS源码安装配置

原文地址:https://www.cnblogs.com/lixuebin/p/10814108.html