[关闭]
@sasaki 2016-04-23T00:39:18.000000Z 字数 1795 阅读 2132

Zabbix——集群监控工具

Pricatice


版本控制

  1. @Title Zabbix——集群监控工具
  2. @Version v1.0
  3. @Timestamp 2015-12-15 17:49
  4. @Author Nicholas
  5. @Mail redskirt@outlook.com

  1. [root@master tmp]# cd /usr/zabbix-2.2.11/
  2. [root@master zabbix-2.2.11]# ls
  3. aclocal.m4 compile configure.ac include Makefile.in README
  4. AUTHORS conf COPYING INSTALL man src
  5. bin config.guess database install-sh misc upgrades
  6. build config.sub depcomp m4 missing
  7. ChangeLog configure frontends Makefile.am NEWS
  8. # 为zabbix建立数据库
  9. mysql> create database zabbix default charset utf8;
  10. Query OK, 1 row affected (0.00 sec)
  11. # 导入zabbix数据
  12. [root@master zabbix-2.2.11]# mysql -uroot -proot zabbix < database/mysql/schema.sql
  13. [root@master zabbix-2.2.11]# mysql -uroot -proot zabbix < database/mysql/images.sql
  14. # 配置zabbix
  15. [root@master conf]# cp zabbix_server.conf zabbix_server.conf_
  16. [root@master conf]# vim zabbix_server.conf
  17. DBName=zabbix
  18. DBUser=root
  19. DBPassword=root
  20. DBPort=3306
  21. # 安装
  22. [root@master zabbix-2.2.11]# ./configure --prefix=/usr/local/php-5.5.7 \
  23. --with-config-file-path=/usr/local/php-5.5.7/etc --with-bz2 --with-curl \
  24. --enable-ftp --enable-sockets --disable-ipv6 --with-gd \
  25. --with-jpeg-dir=/usr/local --with-png-dir=/usr/local \
  26. --with-freetype-dir=/usr/local --enable-gd-native-ttf \
  27. --with-iconv-dir=/usr/local --enable-mbstring --enable-calendar \
  28. --with-gettext --with-libxml-dir=/usr/local --with-zlib \
  29. --with-pdo-mysql=mysqlnd --with-mysqli=mysqlnd --with-mysql=mysqlnd \
  30. --enable-dom --enable-xml --enable-fpm --with-libdir=lib64 --enable-bcmath
  31. ...
  32. Configuration:
  33. Detected OS: linux-gnu
  34. Install path: /usr/local/php-5.5.7
  35. Compilation arch: linux
  36. Compiler: gcc
  37. Compiler flags: -g -O2
  38. Enable server: no
  39. Enable proxy: no
  40. Enable agent: no
  41. Enable Java gateway: no
  42. LDAP support: no
  43. IPv6 support: no
  44. ***********************************************************
  45. * Now run 'make install' *
  46. * *
  47. * Thank you for using Zabbix! *
  48. * <http://www.zabbix.com> *
  49. ***********************************************************
  50. [root@master zabbix-2.2.11]# make && make install
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注