Installation from sources

zabbix下载地址:
 
http://www.zabbix.com/download.php

解压:
tar -zxvf zabbix-2.2.0.tar.gz
Create user account
groupadd zabbix
useradd -g zabbix zabbix
Create Zabbix database
Configure the sources
./configure --help

./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2
or
./configure --enable-server --with-postgresql --with-net-snmp
or
./configure --prefix=/usr --enable-proxy --with-net-snmp --with-sqlite3 --with-ssh2
or
./configure --enable-agent
Make and install everything
make install
Review and edit configuration files

/usr/local/etc/zabbix_agentd.conf

/usr/local/etc/zabbix_server.conf

/usr/local/etc/zabbix_proxy.conf