변군이글루

[오픈소스] Zabbix 소스 설치 본문

프___기타

[오픈소스] Zabbix 소스 설치

변군 변군이글루 2015.02.08 02:31

 

Zabbix 소스 설치

 

요구사항

https://www.zabbix.com/documentation/2.0/manual/installation/requirements

 

Zabbix 패키지

http://www.zabbix.com/download.php

http://jaist.dl.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/2.4.3/zabbix-2.4.3.tar.gz

 

# yum -y install net-snmp net-snmp-devel libcurl

 

# groupadd zabbix

# useradd -g zabbix zabbix

 

mysql> create database zabbix character set utf8;

mysql> grant all privileges on zabbix.* to 'zabbix'@'localhost' identified by 'zabbixpw1!';

mysql> flush privileges;

mysql> quit;

 

# tar xvfz zabbix-2.4.3.tar.gz

# cd zabbix-2.4.3

# cd database/mysql/

# pwd

/usr/local/src/zabbix-2.4.3/database/mysql

# mysql -uzabbix -pzabbixpw1! zabbix < schema.sql

# mysql -uzabbix -pzabbixpw1! zabbix < images.sql

# mysql -uzabbix -pzabbixpw1! zabbix < data.sql

 

# ./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl

# make; make install;

 

Web Interface

# cp -r frontends/php /usr/local/apache2/htdocs/

# cd /usr/local/apache2/htdocs/

# mv php zabbix

 

저작자 표시
신고
2 Comments
댓글쓰기 폼