标签:zabbix
OS:CentOS release 6.5 (Final)
install lnmp
download: http://lnmp.org/download.html
install: http://lnmp.org/install.html
install zabbix
download: http://sourceforge.net/projects/zabbix/files/
2.1 yum -y install curl curl-devel net-snmp net-snmp-devel perl-DBI php-gd php-xml php-bcmath
2.2 mysql a.create database zabbix b.sql导入(/database/mysql/schema.sql images.sql data.sql )
2.3 a.cd zabbix源码目录 b../configure --prefix=/usr/local/zabbix --enable-server --enable-agent --enable-proxy --with-mysql=/usr/local/mysql/bin/mysql_config --with-net-snmp --with-libcurl c.make && make install
2.4 修改zabbix_server.conf (DBName= DBUser= DBUDBPassword=)
2.5 配置nginx.conf:把./zabbix-2.4.1/frontends/php/ 修改为nginx的root目录
2.6 浏览器http://IP/zabbix/ (默认admin/zabbix) next next next
标签:zabbix
原文地址:http://yaobin.blog.51cto.com/1577480/1564391