2014. 3. 3. 10:22ㆍOS/리눅스
tar xvzf zabbix-2.2.2.tar.gz
cd zabbix
./configure --enable-server --enable-agnet --with-mysql --with-net-snmp --with-jabber --with-libcurl
make install
vi /etc/services
zabbix-agent 10050/tcp # ZABBIX Agent
zabbix-agent 10050/udp # ZABBIX Agent
zabbix-trapper 10051/tcp # ZABBIX Trapper
zabbix-trapper 10051/udp # ZABBIX Trapper
cd /home/****/zabbix/misc/init.d/fedora/core5
cp zabbix_server /etc/init.d/
cp zabbix_agentd /etc/init.d/
vi /etc/php.ini
post_max_size = 16M
max_execution_time = 300
max_input_time = 300
data.timezone = ROK
service httpd restart
chkconfig --add zabbix_agentd
chkconfig --add zabbix_server
chkconfig zabbix_agentd on
chkconfig zabbix_server on
service zabbix_server start
service zabbix_agentd start
mysql -u root -p
>create database zabbix character set utf8;
>grant all privileges on zabbix.* to zabbix@localhost identified by '패스워드';
>exit
cd /home/***/zabbix/database/mysql
mysql -u root -p zabbix < schema.sql
mysql -u root -p zabbix < images.sql
mysql -u root -p zabbix < data.sql
vi /usr/local/etc/zabbix_server.conf
DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=zabbix
service zabbix-server start
service httpd restart
http://localhost/zabbix
관리자 : admin
패스워드 : zabbix 또는 없음
'OS > 리눅스' 카테고리의 다른 글
Centos7 libc설치 (0) | 2016.03.17 |
---|---|
리눅스 서버 시간맞추기 (0) | 2014.03.17 |
ntop 소스설치 (0) | 2014.02.25 |
date(): It is not safe to rely on the system's timezone settings. 에러 (0) | 2014.02.25 |
접속방지 (0) | 2014.01.24 |