zabbix安裝(2.4)
相關鏈接
zabbix官網:https://www.zabbix.com/
zabbix軟件下載:https://www.zabbix.com/download
Zabbix 文檔:https://www.zabbix.com/documentation/2.4/manual/installation/install_from_packages
系統環境
[[email protected] ~]# cat /etc/redhat-release
CentOS release 6.6 (Final)
[[email protected] ~]# setenforce 0
[[email protected]
安裝zabbix
[[email protected] ~]# rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm 該步將會自動創建yum源
[[email protected] ~]# yum install zabbix-server-mysql zabbix-web-mysql -y
[[email protected] ~]# yum install zabbix-agent -y
註:yum安裝會將httpd和php做為依賴裝好,且自動寫好/etc/httpd/conf.d/zabbix.conf 文件
更改zabbix時區
[[email protected] ~]# vim /etc/httpd/conf.d/zabbix.conf
php_value date.timezone Asia/Shanghai
[[email protected] ~]# /etc/init.d/httpd restart
下載並配置數據庫
[[email protected] ~]# yum install -y mysql-server mysql
[[email protected]