@sasaki
2016-04-22T16:39:18.000000Z
字数 1795
阅读 2346
Pricatice
@Title Zabbix——集群监控工具@Version v1.0@Timestamp 2015-12-15 17:49@Author Nicholas@Mail redskirt@outlook.com
[root@master tmp]# cd /usr/zabbix-2.2.11/[root@master zabbix-2.2.11]# lsaclocal.m4 compile configure.ac include Makefile.in READMEAUTHORS conf COPYING INSTALL man srcbin config.guess database install-sh misc upgradesbuild config.sub depcomp m4 missingChangeLog configure frontends Makefile.am NEWS# 为zabbix建立数据库mysql> create database zabbix default charset utf8;Query OK, 1 row affected (0.00 sec)# 导入zabbix数据[root@master zabbix-2.2.11]# mysql -uroot -proot zabbix < database/mysql/schema.sql[root@master zabbix-2.2.11]# mysql -uroot -proot zabbix < database/mysql/images.sql# 配置zabbix[root@master conf]# cp zabbix_server.conf zabbix_server.conf_[root@master conf]# vim zabbix_server.confDBName=zabbixDBUser=rootDBPassword=rootDBPort=3306# 安装[root@master zabbix-2.2.11]# ./configure --prefix=/usr/local/php-5.5.7 \--with-config-file-path=/usr/local/php-5.5.7/etc --with-bz2 --with-curl \--enable-ftp --enable-sockets --disable-ipv6 --with-gd \--with-jpeg-dir=/usr/local --with-png-dir=/usr/local \--with-freetype-dir=/usr/local --enable-gd-native-ttf \--with-iconv-dir=/usr/local --enable-mbstring --enable-calendar \--with-gettext --with-libxml-dir=/usr/local --with-zlib \--with-pdo-mysql=mysqlnd --with-mysqli=mysqlnd --with-mysql=mysqlnd \--enable-dom --enable-xml --enable-fpm --with-libdir=lib64 --enable-bcmath...Configuration:Detected OS: linux-gnuInstall path: /usr/local/php-5.5.7Compilation arch: linuxCompiler: gccCompiler flags: -g -O2Enable server: noEnable proxy: noEnable agent: noEnable Java gateway: noLDAP support: noIPv6 support: no************************************************************ Now run 'make install' ** ** Thank you for using Zabbix! ** <http://www.zabbix.com> ************************************************************[root@master zabbix-2.2.11]# make && make install