[ root@myzabbix
Desktop]# yum install -y zabbix zabbix-get zabbix-server zabbix-web-mysql zabbix-web zabbix-agent
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
epel/metalink | 5.8 kB 00:00
* base: mirrors.skyshe.cn
* epel: ftp.cuhk.edu.hk
* extras: mirrors.pubyun.com
* updates: mirrors.pubyun.com
epel | 4.4 kB 00:00
epel/primary_db | 6.3 MB 00:04
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package zabbix.x86_64 0:2.2.6-1.el6 will be installed
---> Package zabbix-agent.x86_64 0:2.2.6-1.el6 will be installed
---> Package zabbix-get.x86_64 0:2.2.6-1.el6 will be installed
---> Package zabbix-server.x86_64 0:2.2.6-1.el6 will be installed
--> Processing Dependency: zabbix-server-implementation = 2.2.6-1.el6 for package: zabbix-server-2.2.6-1.el6.x86_64
--> Processing Dependency: OpenIPMI-libs >= 2.0.14 for package: zabbix-server-2.2.6-1.el6.x86_64
--> Processing Dependency: iksemel for package: zabbix-server-2.2.6-1.el6.x86_64
--> Processing Dependency: unixODBC for package: zabbix-server-2.2.6-1.el6.x86_64
--> Processing Dependency: fping for package: zabbix-server-2.2.6-1.el6.x86_64
---> Package zabbix-web.noarch 0:2.2.6-1.el6 will be installed
--> Processing Dependency: php-gd for package: zabbix-web-2.2.6-1.el6.noarch
--> Processing Dependency: php-mbstring for package: zabbix-web-2.2.6-1.el6.noarch
--> Processing Dependency: php-bcmath for package: zabbix-web-2.2.6-1.el6.noarch
---> Package zabbix-web-mysql.noarch 0:2.2.6-1.el6 will be installed
--> Processing Dependency: php-mysql for package: zabbix-web-mysql-2.2.6-1.el6.noarch
--> Running transaction check
---> Package OpenIPMI-libs.x86_64 0:2.0.16-14.el6 will be installed
---> Package fping.x86_64 0:2.4b2-16.el6 will be installed
---> Package iksemel.x86_64 0:1.4-2.el6 will be installed
---> Package php-bcmath.x86_64 0:5.3.3-27.el6_5.2 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5.2 for package: php-bcmath-5.3.3-27.el6_5.2.x86_64
---> Package php-gd.x86_64 0:5.3.3-27.el6_5.2 will be installed
--> Processing Dependency: libXpm.so.4()(64bit) for package: php-gd-5.3.3-27.el6_5.2.x86_64
---> Package php-mbstring.x86_64 0:5.3.3-27.el6_5.2 will be installed
---> Package php-mysql.x86_64 0:5.3.3-27.el6_5.2 will be installed
---> Package unixODBC.x86_64 0:2.2.14-12.el6_3 will be installed
---> Package zabbix-server-mysql.x86_64 0:2.2.6-1.el6 will be installed
--> Running transaction check
---> Package libXpm.x86_64 0:3.5.10-2.el6 will be installed
---> Package php-common.x86_64 0:5.3.3-26.el6 will be updated
--> Processing Dependency: php-common(x86-64) = 5.3.3-26.el6 for package: php-cli-5.3.3-26.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-26.el6 for package: php-pdo-5.3.3-26.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-26.el6 for package: php-5.3.3-26.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-26.el6 for package: php-xml-5.3.3-26.el6.x86_64
---> Package php-common.x86_64 0:5.3.3-27.el6_5.2 will be an update
--> Running transaction check
---> Package php.x86_64 0:5.3.3-26.el6 will be updated
---> Package php.x86_64 0:5.3.3-27.el6_5.2 will be an update
---> Package php-cli.x86_64 0:5.3.3-26.el6 will be updated
---> Package php-cli.x86_64 0:5.3.3-27.el6_5.2 will be an update
---> Package php-pdo.x86_64 0:5.3.3-26.el6 will be updated
---> Package php-pdo.x86_64 0:5.3.3-27.el6_5.2 will be an update
---> Package php-xml.x86_64 0:5.3.3-26.el6 will be updated
---> Package php-xml.x86_64 0:5.3.3-27.el6_5.2 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
zabbix x86_64 2.2.6-1.el6 zabbix 146 k
zabbix-agent x86_64 2.2.6-1.el6 zabbix 156 k
zabbix-get x86_64 2.2.6-1.el6 zabbix 52 k
zabbix-server x86_64 2.2.6-1.el6 zabbix 20 k
zabbix-web noarch 2.2.6-1.el6 zabbix 4.5 M
zabbix-web-mysql noarch 2.2.6-1.el6 zabbix 13 k
Installing for dependencies:
OpenIPMI-libs x86_64 2.0.16-14.el6 base 473 k
fping x86_64 2.4b2-16.el6 zabbix-non-supported 31 k
iksemel x86_64 1.4-2.el6 epel 48 k
libXpm x86_64 3.5.10-2.el6 base 51 k
php-bcmath x86_64 5.3.3-27.el6_5.2 updates 36 k
php-gd x86_64 5.3.3-27.el6_5.2 updates 108 k
php-mbstring x86_64 5.3.3-27.el6_5.2 updates 457 k
php-mysql x86_64 5.3.3-27.el6_5.2 updates 83 k
unixODBC x86_64 2.2.14-12.el6_3 base 378 k
zabbix-server-mysql x86_64 2.2.6-1.el6 zabbix 1.5 M
Updating for dependencies:
php x86_64 5.3.3-27.el6_5.2 updates 1.1 M
php-cli x86_64 5.3.3-27.el6_5.2 updates 2.2 M
php-common x86_64 5.3.3-27.el6_5.2 updates 526 k
php-pdo x86_64 5.3.3-27.el6_5.2 updates 77 k
php-xml x86_64 5.3.3-27.el6_5.2 updates 105 k
Transaction Summary
================================================================================
Install 16 Package(s)
Upgrade 5 Package(s)
Total download size: 12 M
Downloading Packages:
(1/21): OpenIPMI-libs-2.0.16-14.el6.x86_64.rpm | 473 kB 00:00
(2/21): fping-2.4b2-16.el6.x86_64.rpm | 31 kB 00:02
(3/21): iksemel-1.4-2.el6.x86_64.rpm | 48 kB 00:00
(4/21): libXpm-3.5.10-2.el6.x86_64.rpm | 51 kB 00:00
(5/21): php-5.3.3-27.el6_5.2.x86_64.rpm | 1.1 MB 00:00
(6/21): php-bcmath-5.3.3-27.el6_5.2.x86_64.rpm | 36 kB 00:00
(7/21): php-cli-5.3.3-27.el6_5.2.x86_64.rpm | 2.2 MB 00:01
(8/21): php-common-5.3.3-27.el6_5.2.x86_64.rpm | 526 kB 00:00
(9/21): php-gd-5.3.3-27.el6_5.2.x86_64.rpm | 108 kB 00:00
(10/21): php-mbstring-5.3.3-27.el6_5.2.x86_64.rpm | 457 kB 00:00
(11/21): php-mysql-5.3.3-27.el6_5.2.x86_64.rpm | 83 kB 00:00
(12/21): php-pdo-5.3.3-27.el6_5.2.x86_64.rpm | 77 kB 00:00
(13/21): php-xml-5.3.3-27.el6_5.2.x86_64.rpm | 105 kB 00:00
(14/21): unixODBC-2.2.14-12.el6_3.x86_64.rpm | 378 kB 00:00
(15/21): zabbix-2.2.6-1.el6.x86_64.rpm | 146 kB 00:06
(16/21): zabbix-agent-2.2.6-1.el6.x86_64.rpm | 156 kB 00:02
(17/21): zabbix-get-2.2.6-1.el6.x86_64.rpm | 52 kB 00:00
(18/21): zabbix-server-2.2.6-1.el6.x86_64.rpm | 20 kB 00:00
(19/21): zabbix-server-mysql-2.2.6-1.el6.x86_64.rpm | 1.5 MB 00:12
(20/21): zabbix-web-2.2.6-1.el6.noarch.rpm | 4.5 MB 01:11
(21/21): zabbix-web-mysql-2.2.6-1.el6.noarch.rpm | 13 kB 00:00
--------------------------------------------------------------------------------
Total 100 kB/s | 12 MB 02:03
warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, key ID 79ea5ed4: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
Importing GPG key 0x79EA5ED4:
Userid : Zabbix SIA <
[email protected]>
Package: zabbix-release-2.2-1.el6.noarch (installed)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Importing GPG key 0x0608B895:
Userid : EPEL (6) <
[email protected]>
Package: epel-release-6-8.noarch (installed)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Importing GPG key 0xC105B9DE:
Userid : CentOS-6 Key (CentOS 6 Official Signing Key) <
[email protected]>
Package: centos-release-6-5.el6.centos.11.1.x86_64 (@anaconda-CentOS-201311272149.x86_64/6.5)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : php-common-5.3.3-27.el6_5.2.x86_64 1/26
Installing : zabbix-2.2.6-1.el6.x86_64 2/26
Installing : OpenIPMI-libs-2.0.16-14.el6.x86_64 3/26
Installing : unixODBC-2.2.14-12.el6_3.x86_64 4/26
Installing : iksemel-1.4-2.el6.x86_64 5/26
Updating : php-xml-5.3.3-27.el6_5.2.x86_64 6/26
Installing : php-mbstring-5.3.3-27.el6_5.2.x86_64 7/26
Updating : php-pdo-5.3.3-27.el6_5.2.x86_64 8/26
Installing : php-mysql-5.3.3-27.el6_5.2.x86_64 9/26
Installing : php-bcmath-5.3.3-27.el6_5.2.x86_64 10/26
Updating : php-cli-5.3.3-27.el6_5.2.x86_64 11/26
Updating : php-5.3.3-27.el6_5.2.x86_64 12/26
Installing : fping-2.4b2-16.el6.x86_64 13/26
Installing : zabbix-server-2.2.6-1.el6.x86_64 14/26
Installing : zabbix-server-mysql-2.2.6-1.el6.x86_64 15/26
Installing : libXpm-3.5.10-2.el6.x86_64 16/26
Installing : php-gd-5.3.3-27.el6_5.2.x86_64 17/26
Installing : zabbix-web-mysql-2.2.6-1.el6.noarch 18/26
Installing : zabbix-web-2.2.6-1.el6.noarch 19/26
Installing : zabbix-agent-2.2.6-1.el6.x86_64 20/26
Installing : zabbix-get-2.2.6-1.el6.x86_64 21/26
Cleanup : php-5.3.3-26.el6.x86_64 22/26
Cleanup : php-cli-5.3.3-26.el6.x86_64 23/26
Cleanup : php-pdo-5.3.3-26.el6.x86_64 24/26
Cleanup : php-xml-5.3.3-26.el6.x86_64 25/26
Cleanup : php-common-5.3.3-26.el6.x86_64 26/26
Verifying : zabbix-server-mysql-2.2.6-1.el6.x86_64 1/26
Verifying : iksemel-1.4-2.el6.x86_64 2/26
Verifying : zabbix-get-2.2.6-1.el6.x86_64 3/26
Verifying : php-gd-5.3.3-27.el6_5.2.x86_64 4/26
Verifying : libXpm-3.5.10-2.el6.x86_64 5/26
Verifying : php-common-5.3.3-27.el6_5.2.x86_64 6/26
Verifying : php-xml-5.3.3-27.el6_5.2.x86_64 7/26
Verifying : php-mbstring-5.3.3-27.el6_5.2.x86_64 8/26
Verifying : zabbix-server-2.2.6-1.el6.x86_64 9/26
Verifying : php-5.3.3-27.el6_5.2.x86_64 10/26
Verifying : php-mysql-5.3.3-27.el6_5.2.x86_64 11/26
Verifying : unixODBC-2.2.14-12.el6_3.x86_64 12/26
Verifying : zabbix-2.2.6-1.el6.x86_64 13/26
Verifying : zabbix-web-mysql-2.2.6-1.el6.noarch 14/26
Verifying : OpenIPMI-libs-2.0.16-14.el6.x86_64 15/26
Verifying : zabbix-agent-2.2.6-1.el6.x86_64 16/26
Verifying : php-pdo-5.3.3-27.el6_5.2.x86_64 17/26
Verifying : php-bcmath-5.3.3-27.el6_5.2.x86_64 18/26
Verifying : fping-2.4b2-16.el6.x86_64 19/26
Verifying : php-cli-5.3.3-27.el6_5.2.x86_64 20/26
Verifying : zabbix-web-2.2.6-1.el6.noarch 21/26
Verifying : php-pdo-5.3.3-26.el6.x86_64 22/26
Verifying : php-cli-5.3.3-26.el6.x86_64 23/26
Verifying : php-common-5.3.3-26.el6.x86_64 24/26
Verifying : php-5.3.3-26.el6.x86_64 25/26
Verifying : php-xml-5.3.3-26.el6.x86_64 26/26
Installed:
zabbix.x86_64 0:2.2.6-1.el6 zabbix-agent.x86_64 0:2.2.6-1.el6
zabbix-get.x86_64 0:2.2.6-1.el6 zabbix-server.x86_64 0:2.2.6-1.el6
zabbix-web.noarch 0:2.2.6-1.el6 zabbix-web-mysql.noarch 0:2.2.6-1.el6
Dependency Installed:
OpenIPMI-libs.x86_64 0:2.0.16-14.el6
fping.x86_64 0:2.4b2-16.el6
iksemel.x86_64 0:1.4-2.el6
libXpm.x86_64 0:3.5.10-2.el6
php-bcmath.x86_64 0:5.3.3-27.el6_5.2
php-gd.x86_64 0:5.3.3-27.el6_5.2
php-mbstring.x86_64 0:5.3.3-27.el6_5.2
php-mysql.x86_64 0:5.3.3-27.el6_5.2
unixODBC.x86_64 0:2.2.14-12.el6_3
zabbix-server-mysql.x86_64 0:2.2.6-1.el6
Dependency Updated:
php.x86_64 0:5.3.3-27.el6_5.2 php-cli.x86_64 0:5.3.3-27.el6_5.2
php-common.x86_64 0:5.3.3-27.el6_5.2 php-pdo.x86_64 0:5.3.3-27.el6_5.2
php-xml.x86_64 0:5.3.3-27.el6_5.2
Complete!
[ root@myzabbix
Desktop]#
mysql> source /usr/share/doc/zabbix-server-mysql-2.2.6/create/images.sql;
mysql> source /usr/share/doc/zabbix-server-mysql-2.2.6/create/schema.sql;