Zabbix web frontend Platform: CentOS 6.5 x86_64
Note: please setup NTP for time synchronization
1.for frontend:
yum -y install httpd httpd-devel php php-cli php-common php-devel php-pear php-gd php-bcmath php-mbstring php-mysql php-xml
2. Install the repository configuration package
rpm -ivh http://repo.zabbix.com/zabbix/2.2/rhel/6/x86_64/zabbix-release-2.2-1.el6.noarch.rpm
3. for Zabbix web frontend with mysql database
yum -y install zabbix-web-mysql
4. on Zabbix mysql server
# mysql -u root
mysql> grant all privileges on zabbix.* to zabbix@frontend_ip identified by 'zabbix';
mysql> flush privileges;
mysql> exit
5.Apache configuration file for Zabbix frontend is located in /etc/httpd/conf.d/zabbix.conf. Some PHP settings are already configured.
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 Asia/Shanghai
It's necessary to uncomment the “date.timezone” setting and set the right timezone for you. After changing the configuration file restart the apache web server.
# service httpd start
chkconfig httpd on
6. Zabbix frontend is available at http://zabbix-frontend-hostname/zabbix in the browser. Default username/password is Admin/zabbix.
转载于:https://blog.51cto.com/hj192837/1349139