2022-02-09 19:44:18
浏览数 (1)
安装Zabbix软件包
代码语言:javascript
复制[root@zabbix-server zabbix]# yum install zabbix-server-mysql zabbix-web-mysql
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Repository base is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* extras: mirrors.pubyun.com
* updates: mirrors.163.com
Resolving Dependencies
--> Running transaction check
---> Package zabbix-server-mysql.x86_64 0:2.4.7-1.el6 will be installed
--> Processing Dependency: zabbix-server = 2.4.7-1.el6 for package: zabbix-server-mysql-2.4.7-1.el6.x86_64
--> Processing Dependency: libiksemel.so.3()(64bit) for package: zabbix-server-mysql-2.4.7-1.el6.x86_64
--> Processing Dependency: libOpenIPMIposix.so.0()(64bit) for package: zabbix-server-mysql-2.4.7-1.el6.x86_64
--> Processing Dependency: libodbc.so.2()(64bit) for package: zabbix-server-mysql-2.4.7-1.el6.x86_64
--> Processing Dependency: libOpenIPMI.so.0()(64bit) for package: zabbix-server-mysql-2.4.7-1.el6.x86_64
---> Package zabbix-web-mysql.noarch 0:2.4.7-1.el6 will be installed
--> Processing Dependency: zabbix-web = 2.4.7-1.el6 for package: zabbix-web-mysql-2.4.7-1.el6.noarch
--> Processing Dependency: php-mysql for package: zabbix-web-mysql-2.4.7-1.el6.noarch
--> Running transaction check
---> Package OpenIPMI-libs.x86_64 0:2.0.16-14.el6 will be installed
---> Package iksemel.x86_64 0:1.4-2.el6 will be installed
---> Package php-mysql.x86_64 0:5.3.3-46.el6_6 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-mysql-5.3.3-46.el6_6.x86_64
--> Processing Dependency: php-pdo(x86-64) for package: php-mysql-5.3.3-46.el6_6.x86_64
---> Package unixODBC.x86_64 0:2.2.14-14.el6 will be installed
---> Package zabbix-server.x86_64 0:2.4.7-1.el6 will be installed
--> Processing Dependency: zabbix for package: zabbix-server-2.4.7-1.el6.x86_64
--> Processing Dependency: fping for package: zabbix-server-2.4.7-1.el6.x86_64
---> Package zabbix-web.noarch 0:2.4.7-1.el6 will be installed
--> Processing Dependency: php >= 5.3 for package: zabbix-web-2.4.7-1.el6.noarch
--> Processing Dependency: php-gd for package: zabbix-web-2.4.7-1.el6.noarch
--> Processing Dependency: php-mbstring for package: zabbix-web-2.4.7-1.el6.noarch
--> Processing Dependency: php-bcmath for package: zabbix-web-2.4.7-1.el6.noarch
--> Processing Dependency: php-xml for package: zabbix-web-2.4.7-1.el6.noarch
--> Running transaction check
---> Package fping.x86_64 0:2.4b2-16.el6 will be installed
---> Package php.x86_64 0:5.3.3-46.el6_6 will be installed
--> Processing Dependency: php-cli(x86-64) = 5.3.3-46.el6_6 for package: php-5.3.3-46.el6_6.x86_64
---> Package php-bcmath.x86_64 0:5.3.3-46.el6_6 will be installed
---> Package php-common.x86_64 0:5.3.3-46.el6_6 will be installed
---> Package php-gd.x86_64 0:5.3.3-46.el6_6 will be installed
--> Processing Dependency: libXpm.so.4()(64bit) for package: php-gd-5.3.3-46.el6_6.x86_64
---> Package php-mbstring.x86_64 0:5.3.3-46.el6_6 will be installed
---> Package php-pdo.x86_64 0:5.3.3-46.el6_6 will be installed
---> Package php-xml.x86_64 0:5.3.3-46.el6_6 will be installed
---> Package zabbix.x86_64 0:2.4.7-1.el6 will be installed
--> Running transaction check
---> Package libXpm.x86_64 0:3.5.10-2.el6 will be installed
---> Package php-cli.x86_64 0:5.3.3-46.el6_6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
zabbix-server-mysql x86_64 2.4.7-1.el6 zabbix 1.5 M
zabbix-web-mysql noarch 2.4.7-1.el6 zabbix 15 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 zabbix-non-supported 47 k
libXpm x86_64 3.5.10-2.el6 base 51 k
php x86_64 5.3.3-46.el6_6 updates 1.1 M
php-bcmath x86_64 5.3.3-46.el6_6 updates 39 k
php-cli x86_64 5.3.3-46.el6_6 updates 2.2 M
php-common x86_64 5.3.3-46.el6_6 updates 529 k
php-gd x86_64 5.3.3-46.el6_6 updates 111 k
php-mbstring x86_64 5.3.3-46.el6_6 updates 459 k
php-mysql x86_64 5.3.3-46.el6_6 updates 86 k
php-pdo x86_64 5.3.3-46.el6_6 updates 79 k
php-xml x86_64 5.3.3-46.el6_6 updates 107 k
unixODBC x86_64 2.2.14-14.el6 base 378 k
zabbix x86_64 2.4.7-1.el6 zabbix 163 k
zabbix-server x86_64 2.4.7-1.el6 zabbix 22 k
zabbix-web noarch 2.4.7-1.el6 zabbix 4.5 M
Transaction Summary
====================================================================================================================================
Install 19 Package(s)
Total download size: 12 M
Installed size: 50 M
Is this ok [y/N]: y
Downloading Packages:
(1/19): fping-2.4b2-16.el6.x86_64.rpm | 31 kB 00:00
(2/19): iksemel-1.4-2.el6.x86_64.rpm | 47 kB 00:00
(3/19): php-5.3.3-46.el6_6.x86_64.rpm | 1.1 MB 00:01
(4/19): php-bcmath-5.3.3-46.el6_6.x86_64.rpm | 39 kB 00:00
(5/19): php-cli-5.3.3-46.el6_6.x86_64.rpm | 2.2 MB 00:02
(6/19): php-common-5.3.3-46.el6_6.x86_64.rpm | 529 kB 00:00
(7/19): php-gd-5.3.3-46.el6_6.x86_64.rpm | 111 kB 00:00
(8/19): php-mbstring-5.3.3-46.el6_6.x86_64.rpm | 459 kB 00:00
(9/19): php-mysql-5.3.3-46.el6_6.x86_64.rpm | 86 kB 00:00
(10/19): php-pdo-5.3.3-46.el6_6.x86_64.rpm | 79 kB 00:00
(11/19): php-xml-5.3.3-46.el6_6.x86_64.rpm | 107 kB 00:00
(12/19): zabbix-2.4.7-1.el6.x86_64.rpm | 163 kB 00:06
(13/19): zabbix-server-2.4.7-1.el6.x86_64.rpm | 22 kB 00:01
(14/19): zabbix-server-mysql-2.4.7-1.el6.x86_64.rpm | 1.5 MB 00:35
(15/19): zabbix-web-2.4.7-1.el6.noarch.rpm | 4.5 MB 01:37
(16/19): zabbix-web-mysql-2.4.7-1.el6.noarch.rpm | 15 kB 00:00
------------------------------------------------------------------------------------------------------------------------------------
Total 78 kB/s | 12 MB 02:35
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 <packager@zabbix.com>
Package: zabbix-release-2.4-1.el6.noarch (installed)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : php-common-5.3.3-46.el6_6.x86_64 1/19
Installing : unixODBC-2.2.14-14.el6.x86_64 2/19
Installing : OpenIPMI-libs-2.0.16-14.el6.x86_64 3/19
Installing : iksemel-1.4-2.el6.x86_64 4/19
Installing : php-xml-5.3.3-46.el6_6.x86_64 5/19
Installing : php-pdo-5.3.3-46.el6_6.x86_64 6/19
Installing : php-mysql-5.3.3-46.el6_6.x86_64 7/19
Installing : php-cli-5.3.3-46.el6_6.x86_64 8/19
Installing : php-5.3.3-46.el6_6.x86_64 9/19
Installing : php-bcmath-5.3.3-46.el6_6.x86_64 10/19
Installing : php-mbstring-5.3.3-46.el6_6.x86_64 11/19
Installing : fping-2.4b2-16.el6.x86_64 12/19
Installing : libXpm-3.5.10-2.el6.x86_64 13/19
Installing : php-gd-5.3.3-46.el6_6.x86_64 14/19
Installing : zabbix-web-mysql-2.4.7-1.el6.noarch 15/19
Installing : zabbix-web-2.4.7-1.el6.noarch 16/19
Installing : zabbix-2.4.7-1.el6.x86_64 17/19
Installing : zabbix-server-2.4.7-1.el6.x86_64 18/19
Installing : zabbix-server-mysql-2.4.7-1.el6.x86_64 19/19
Verifying : php-xml-5.3.3-46.el6_6.x86_64 1/19
Verifying : iksemel-1.4-2.el6.x86_64 2/19
Verifying : php-pdo-5.3.3-46.el6_6.x86_64 3/19
Verifying : zabbix-server-2.4.7-1.el6.x86_64 4/19
Verifying : zabbix-2.4.7-1.el6.x86_64 5/19
Verifying : php-cli-5.3.3-46.el6_6.x86_64 6/19
Verifying : php-5.3.3-46.el6_6.x86_64 7/19
Verifying : OpenIPMI-libs-2.0.16-14.el6.x86_64 8/19
Verifying : libXpm-3.5.10-2.el6.x86_64 9/19
Verifying : unixODBC-2.2.14-14.el6.x86_64 10/19
Verifying : php-common-5.3.3-46.el6_6.x86_64 11/19
Verifying : zabbix-server-mysql-2.4.7-1.el6.x86_64 12/19
Verifying : zabbix-web-2.4.7-1.el6.noarch 13/19
Verifying : zabbix-web-mysql-2.4.7-1.el6.noarch 14/19
Verifying : php-bcmath-5.3.3-46.el6_6.x86_64 15/19
Verifying : php-mysql-5.3.3-46.el6_6.x86_64 16/19
Verifying : php-mbstring-5.3.3-46.el6_6.x86_64 17/19
Verifying : php-gd-5.3.3-46.el6_6.x86_64 18/19
Verifying : fping-2.4b2-16.el6.x86_64 19/19
Installed:
zabbix-server-mysql.x86_64 0:2.4.7-1.el6 zabbix-web-mysql.noarch 0:2.4.7-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.x86_64 0:5.3.3-46.el6_6 php-bcmath.x86_64 0:5.3.3-46.el6_6
php-cli.x86_64 0:5.3.3-46.el6_6 php-common.x86_64 0:5.3.3-46.el6_6 php-gd.x86_64 0:5.3.3-46.el6_6
php-mbstring.x86_64 0:5.3.3-46.el6_6 php-mysql.x86_64 0:5.3.3-46.el6_6 php-pdo.x86_64 0:5.3.3-46.el6_6
php-xml.x86_64 0:5.3.3-46.el6_6 unixODBC.x86_64 0:2.2.14-14.el6 zabbix.x86_64 0:2.4.7-1.el6
zabbix-server.x86_64 0:2.4.7-1.el6 zabbix-web.noarch 0:2.4.7-1.el6
Complete!