(사용자 2명의 중간 판 18개는 보이지 않습니다) | |||
1번째 줄: | 1번째 줄: | ||
{{다른뜻|CentOS7 자빅스 서버 3.0 설치}} | |||
{{다른뜻|우분투 자빅스 서버 설치}} | |||
;CentOS 자빅스 서버 설치 | |||
==설치== | ==설치== | ||
<source lang=' | <source lang='console'> | ||
[root@zetawiki ~]# yum install zabbix22-web zabbix22-server | [root@zetawiki ~]# yum install zabbix22-web zabbix22-server | ||
... (생략) | ... (생략) | ||
30번째 줄: | 33번째 줄: | ||
Is this ok [y/N]: y | Is this ok [y/N]: y | ||
</source> | </source> | ||
<source lang=' | <source lang='console'> | ||
... (생략) | ... (생략) | ||
Installed: | Installed: | ||
48번째 줄: | 51번째 줄: | ||
Complete! | Complete! | ||
</source> | |||
==zabbix DB 생성== | |||
<source lang='console'> | |||
[root@zetawiki ~]# cd /usr/share/zabbix-mysql/ | |||
[root@zetawiki zabbix-mysql]# ll | |||
total 2992 | |||
-rw-r--r-- 1 root root 968922 Nov 13 00:33 data.sql | |||
-rw-r--r-- 1 root root 1978341 Nov 12 19:11 images.sql | |||
-rw-r--r-- 1 root root 106560 Nov 12 19:15 schema.sql | |||
drwxr-xr-x 5 root root 4096 Dec 27 14:50 upgrades | |||
</source> | |||
<source lang='console'> | |||
[root@zetaweb zabbix-mysql]# mysql -uroot -pP@ssw0rd zabbix < schema.sql | |||
[root@zetaweb zabbix-mysql]# mysql -uroot -pP@ssw0rd zabbix < images.sql | |||
[root@zetaweb zabbix-mysql]# mysql -uroot -pP@ssw0rd zabbix < data.sql | |||
</source> | </source> | ||
==서비스 시작== | ==서비스 시작== | ||
<source lang=' | <source lang='console'> | ||
[root@zetawiki ~]# service zabbix-server status | [root@zetawiki ~]# service zabbix-server status | ||
zabbix_server is stopped | zabbix_server is stopped | ||
</source> | </source> | ||
<source lang=' | <source lang='console'> | ||
[root@zetawiki ~]# service zabbix-server start | [root@zetawiki ~]# service zabbix-server start | ||
Starting Zabbix server: [ OK ] | Starting Zabbix server: [ OK ] | ||
61번째 줄: | 80번째 줄: | ||
==자동시작 설정== | ==자동시작 설정== | ||
<source lang=' | <source lang='console'> | ||
[root@zetawiki ~]# chkconfig --list zabbix-server | [root@zetawiki ~]# chkconfig --list zabbix-server | ||
zabbix-server 0:off 1:off 2:off 3:off 4:off 5:off 6:off | zabbix-server 0:off 1:off 2:off 3:off 4:off 5:off 6:off | ||
</source> | </source> | ||
<source lang=' | <source lang='console'> | ||
[root@zetawiki ~]# chkconfig zabbix-server on | [root@zetawiki ~]# chkconfig zabbix-server on | ||
[root@zetawiki ~]# chkconfig --list zabbix-server | [root@zetawiki ~]# chkconfig --list zabbix-server | ||
zabbix-server 0:off 1:off 2:on 3:on 4:on 5:on 6:off | zabbix-server 0:off 1:off 2:on 3:on 4:on 5:on 6:off | ||
</source> | </source> | ||
==아파치 확인, 재시작== | |||
<source lang='console'> | |||
[root@zetawiki ~]# cat /etc/httpd/conf.d/zabbix.conf | head | |||
# | |||
# Zabbix monitoring system php web frontend | |||
# | |||
Alias /zabbix /usr/share/zabbix | |||
<Directory "/usr/share/zabbix"> | |||
Options FollowSymLinks | |||
AllowOverride None | |||
</source> | |||
<source lang='console'> | |||
[root@zetawiki~]# service httpd restart | |||
Stopping httpd: [ OK ] | |||
Starting httpd: [ OK ] | |||
</source> | |||
==자빅스 웹에서 설치== | |||
*http://서버주소/zabbix/setup.php 접속 | |||
==같이 보기== | ==같이 보기== | ||
*[[우분투 zabbix-server 설치]] | * [[CentOS7 자빅스 서버 3.0 설치]] | ||
* [[CentOS zabbix-agent 설치]] | |||
* [[우분투 zabbix-server 설치]] | |||
* [[/etc/zabbix_server.conf]] | |||
==참고== | |||
*http://www.joinc.co.kr/modules/moniwiki/wiki.php/Site/QOS/Monitering_Tool/zabbix | |||
[[분류: Zabbix]] | [[분류: Zabbix]] | ||
[[분류: yum 설치]] | [[분류: yum 설치]] |
2018년 1월 11일 (목) 16:51 기준 최신판
- 다른 뜻에 대해서는 CentOS7 자빅스 서버 3.0 설치 문서를 참조하십시오.
- 다른 뜻에 대해서는 우분투 자빅스 서버 설치 문서를 참조하십시오.
- CentOS 자빅스 서버 설치
1 설치[ | ]
Console
Copy
[root@zetawiki ~]# yum install zabbix22-web zabbix22-server
... (생략)
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
zabbix22-server noarch 2.2.11-1.el6 epel 20 k
zabbix22-web noarch 2.2.11-1.el6 epel 4.6 M
Installing for dependencies:
OpenIPMI-libs x86_64 2.0.16-14.el6 base 473 k
fping x86_64 3.10-1.el6.rf rpmforge 50 k
iksemel x86_64 1.4-2.el6 epel 48 k
lm_sensors-libs x86_64 3.1.1-17.el6 base 38 k
net-snmp-libs x86_64 1:5.5-54.el6_7.1 updates 1.5 M
php55w-ldap x86_64 5.5.30-2.w6 webtatic 36 k
unixODBC x86_64 2.2.14-14.el6 base 378 k
zabbix22-dbfiles-pgsql noarch 2.2.11-1.el6 epel 1.1 M
zabbix22-server-pgsql x86_64 2.2.11-1.el6 epel 410 k
zabbix22-web-mysql noarch 2.2.11-1.el6 epel 9.8 k
Transaction Summary
=============================================================================
Install 12 Package(s)
Total download size: 8.6 M
Installed size: 39 M
Is this ok [y/N]: y
Console
Copy
... (생략)
Installed:
zabbix22-server.noarch 0:2.2.11-1.el6 zabbix22-web.noarch 0:2.2.11-1.el6
Dependency Installed:
OpenIPMI-libs.x86_64 0:2.0.16-14.el6
fping.x86_64 0:3.10-1.el6.rf
iksemel.x86_64 0:1.4-2.el6
lm_sensors-libs.x86_64 0:3.1.1-17.el6
net-snmp-libs.x86_64 1:5.5-54.el6_7.1
php55w-ldap.x86_64 0:5.5.30-2.w6
unixODBC.x86_64 0:2.2.14-14.el6
zabbix22-dbfiles-pgsql.noarch 0:2.2.11-1.el6
zabbix22-server-pgsql.x86_64 0:2.2.11-1.el6
zabbix22-web-mysql.noarch 0:2.2.11-1.el6
Complete!
2 zabbix DB 생성[ | ]
Console
Copy
[root@zetawiki ~]# cd /usr/share/zabbix-mysql/
[root@zetawiki zabbix-mysql]# ll
total 2992
-rw-r--r-- 1 root root 968922 Nov 13 00:33 data.sql
-rw-r--r-- 1 root root 1978341 Nov 12 19:11 images.sql
-rw-r--r-- 1 root root 106560 Nov 12 19:15 schema.sql
drwxr-xr-x 5 root root 4096 Dec 27 14:50 upgrades
Console
Copy
[root@zetaweb zabbix-mysql]# mysql -uroot -pP@ssw0rd zabbix < schema.sql
[root@zetaweb zabbix-mysql]# mysql -uroot -pP@ssw0rd zabbix < images.sql
[root@zetaweb zabbix-mysql]# mysql -uroot -pP@ssw0rd zabbix < data.sql
3 서비스 시작[ | ]
Console
Copy
[root@zetawiki ~]# service zabbix-server status
zabbix_server is stopped
Console
Copy
[root@zetawiki ~]# service zabbix-server start
Starting Zabbix server: [ OK ]
4 자동시작 설정[ | ]
Console
Copy
[root@zetawiki ~]# chkconfig --list zabbix-server
zabbix-server 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Console
Copy
[root@zetawiki ~]# chkconfig zabbix-server on
[root@zetawiki ~]# chkconfig --list zabbix-server
zabbix-server 0:off 1:off 2:on 3:on 4:on 5:on 6:off
5 아파치 확인, 재시작[ | ]
Console
Copy
[root@zetawiki ~]# cat /etc/httpd/conf.d/zabbix.conf | head
#
# Zabbix monitoring system php web frontend
#
Alias /zabbix /usr/share/zabbix
<Directory "/usr/share/zabbix">
Options FollowSymLinks
AllowOverride None
Console
Copy
[root@zetawiki~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
6 자빅스 웹에서 설치[ | ]
7 같이 보기[ | ]
8 참고[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.
- 분류 댓글:
- Yum 설치 (13)
CentOS MySQL 설치 ― …CentOS phpMyAdmin 설치 (yum) ― Shinch25CentOS phpMyAdmin 설치 (yum) ― JmnoteCentOS phpMyAdmin 설치 (yum) ― Shinch25CentOS phpMyAdmin 설치 (yum) ― JmnoteCentOS phpMyAdmin 설치 (yum) ― Shinch25CentOS phpMyAdmin 설치 (yum) ― Tndyd5390CentOS phpMyAdmin 설치 (yum) ― JmnoteCentOS phpMyAdmin 설치 (yum) ― IjeffCentOS phpMyAdmin 설치 (yum) ― IjeffCentOS phpMyAdmin 설치 (yum) ― JmnoteCentOS phpMyAdmin 설치 (yum) ― JmnoteCentOS phpMyAdmin 설치 (yum) ― Ijeff