http://www.zabbix.com/documentation.php
参考:http://baiying.blog.51cto.com/1068039/609990
http://blog.chinaunix.net/uid-24250828-id-3758077.html
1,
2,下载安装zabbix 2.0.13
Nginx主机配置如下:
3,浏览器访问http://192.168.1.170
4,以上问题编辑php配置文件:
5,
以上参考:
http://xingxing5421.blog.163.com/blog/static/11944631920131213314768/
http://bguncle.blog.51cto.com/3184079/1329895/
PHP编译时没有加--with-gettext选项
配置在lemp的config文件
安装动态扩展库:
# make
添加至php配置文件php.ini
6,
2.Check of pre-requisites
Current value Required
PHP version 5.2.17p1 5.1.6 OK
PHP option memory_limit 128M 128M OK
PHP option post_max_size 16M 16M OK
PHP option upload_max_filesize 10M 2M OK
PHP option max_execution_time 300 300 OK
PHP option max_input_time 300 300 OK
PHP time zone Asia/Shanghai OK
PHP databases support MySQL OK
PHP bcmath yes OK
PHP mbstring yes OK
PHP sockets yes OK
PHP gd 2.0.34 2.0 OK
PHP gd PNG support yes OK
PHP gd JPEG support yes OK
PHP gd FreeType support yes OK
PHP libxml 2.7.6 2.6.15 OK
PHP xmlwriter yes OK
PHP xmlreader yes OK
PHP ctype yes OK
PHP session yes OK
PHP session auto start no OK
PHP gettext yes OK
7,导入sql
1. [root@zabbix_server mysql]# cat schema.sql |mysql -uzabbix –p zabbix
2. [root@zabbix_server mysql]# cat images.sql |mysql -uzabbix –p zabbix
3. [root@zabbix_server mysql]# cat data.sql |mysql -uzabbix –p zabbix
8,
9,
10,
11,
12,
无法显示中文,下载字体,解决参考:
http://www.linuxidc.com/Linux/2012-11/74641.htm
将下载的ttf文件覆盖/usr/share/zabbix/fonts/DejaVuSans.ttf即可
13,mysql优化:
table_open_cache = 4096M
interactive_timeout = 30
wait_timeout = 30
本文出自 “红帽子” 博客,请务必保留此出处http://3404903.blog.51cto.com/3394903/1640288
原文地址:http://3404903.blog.51cto.com/3394903/1640288