Zabbix Step 1 : Install CentOS6.5 and Configration
[root@myzabbix Desktop]#rpm -ivh http://repo.zabbix.com/zabbix/2.2/rhel/6/x86_64/zabbix-release-2.2-1.el6.noarch.rpm
[root@myzabbix Desktop]# rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
[root@myzabbix Desktop]# rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
[root@myzabbix Desktop]# yum install -y zabbix zabbix-get zabbix-server zabbix-web-mysql zabbix-web zabbix-agent
[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 <packager@zabbix.com>
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) <epel@fedoraproject.org>
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) <centos-6-key@centos.org>
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]#
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 <packager@zabbix.com>
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) <epel@fedoraproject.org>
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) <centos-6-key@centos.org>
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]#
[root@myzabbix Desktop]# yum -y install mysql-server
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.skyshe.cn
* epel: ftp.cuhk.edu.hk
* extras: mirrors.pubyun.com
* updates: mirrors.pubyun.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql-server.x86_64 0:5.1.73-3.el6_5 will be installed
--> Processing Dependency: mysql = 5.1.73-3.el6_5 for package: mysql-server-5.1.73-3.el6_5.x86_64
--> Processing Dependency: perl-DBI for package: mysql-server-5.1.73-3.el6_5.x86_64
--> Processing Dependency: perl-DBD-MySQL for package: mysql-server-5.1.73-3.el6_5.x86_64
--> Processing Dependency: perl(DBI) for package: mysql-server-5.1.73-3.el6_5.x86_64
--> Running transaction check
---> Package mysql.x86_64 0:5.1.73-3.el6_5 will be installed
--> Processing Dependency: mysql-libs = 5.1.73-3.el6_5 for package: mysql-5.1.73-3.el6_5.x86_64
---> Package perl-DBD-MySQL.x86_64 0:4.013-3.el6 will be installed
---> Package perl-DBI.x86_64 0:1.609-4.el6 will be installed
--> Running transaction check
---> Package mysql-libs.x86_64 0:5.1.71-1.el6 will be updated
---> Package mysql-libs.x86_64 0:5.1.73-3.el6_5 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
mysql-server x86_64 5.1.73-3.el6_5 updates 8.6 M
Installing for dependencies:
mysql x86_64 5.1.73-3.el6_5 updates 894 k
perl-DBD-MySQL x86_64 4.013-3.el6 base 134 k
perl-DBI x86_64 1.609-4.el6 base 705 k
Updating for dependencies:
mysql-libs x86_64 5.1.73-3.el6_5 updates 1.2 M
Transaction Summary
================================================================================
Install 4 Package(s)
Upgrade 1 Package(s)
Total download size: 12 M
Downloading Packages:
(1/5): mysql-5.1.73-3.el6_5.x86_64.rpm | 894 kB 00:00
(2/5): mysql-libs-5.1.73-3.el6_5.x86_64.rpm | 1.2 MB 00:00
(3/5): mysql-server-5.1.73-3.el6_5.x86_64.rpm | 8.6 MB 00:04
(4/5): perl-DBD-MySQL-4.013-3.el6.x86_64.rpm | 134 kB 00:00
(5/5): perl-DBI-1.609-4.el6.x86_64.rpm | 705 kB 00:00
--------------------------------------------------------------------------------
Total 1.2 MB/s | 12 MB 00:09
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : mysql-libs-5.1.73-3.el6_5.x86_64 1/6
Installing : perl-DBI-1.609-4.el6.x86_64 2/6
Installing : perl-DBD-MySQL-4.013-3.el6.x86_64 3/6
Installing : mysql-5.1.73-3.el6_5.x86_64 4/6
Installing : mysql-server-5.1.73-3.el6_5.x86_64 5/6
Cleanup : mysql-libs-5.1.71-1.el6.x86_64 6/6
Verifying : perl-DBD-MySQL-4.013-3.el6.x86_64 1/6
Verifying : mysql-libs-5.1.73-3.el6_5.x86_64 2/6
Verifying : mysql-server-5.1.73-3.el6_5.x86_64 3/6
Verifying : mysql-5.1.73-3.el6_5.x86_64 4/6
Verifying : perl-DBI-1.609-4.el6.x86_64 5/6
Verifying : mysql-libs-5.1.71-1.el6.x86_64 6/6
Installed:
mysql-server.x86_64 0:5.1.73-3.el6_5
Dependency Installed:
mysql.x86_64 0:5.1.73-3.el6_5 perl-DBD-MySQL.x86_64 0:4.013-3.el6
perl-DBI.x86_64 0:1.609-4.el6
Dependency Updated:
mysql-libs.x86_64 0:5.1.73-3.el6_5
Complete!
[root@myzabbix Desktop]#
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.skyshe.cn
* epel: ftp.cuhk.edu.hk
* extras: mirrors.pubyun.com
* updates: mirrors.pubyun.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql-server.x86_64 0:5.1.73-3.el6_5 will be installed
--> Processing Dependency: mysql = 5.1.73-3.el6_5 for package: mysql-server-5.1.73-3.el6_5.x86_64
--> Processing Dependency: perl-DBI for package: mysql-server-5.1.73-3.el6_5.x86_64
--> Processing Dependency: perl-DBD-MySQL for package: mysql-server-5.1.73-3.el6_5.x86_64
--> Processing Dependency: perl(DBI) for package: mysql-server-5.1.73-3.el6_5.x86_64
--> Running transaction check
---> Package mysql.x86_64 0:5.1.73-3.el6_5 will be installed
--> Processing Dependency: mysql-libs = 5.1.73-3.el6_5 for package: mysql-5.1.73-3.el6_5.x86_64
---> Package perl-DBD-MySQL.x86_64 0:4.013-3.el6 will be installed
---> Package perl-DBI.x86_64 0:1.609-4.el6 will be installed
--> Running transaction check
---> Package mysql-libs.x86_64 0:5.1.71-1.el6 will be updated
---> Package mysql-libs.x86_64 0:5.1.73-3.el6_5 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
mysql-server x86_64 5.1.73-3.el6_5 updates 8.6 M
Installing for dependencies:
mysql x86_64 5.1.73-3.el6_5 updates 894 k
perl-DBD-MySQL x86_64 4.013-3.el6 base 134 k
perl-DBI x86_64 1.609-4.el6 base 705 k
Updating for dependencies:
mysql-libs x86_64 5.1.73-3.el6_5 updates 1.2 M
Transaction Summary
================================================================================
Install 4 Package(s)
Upgrade 1 Package(s)
Total download size: 12 M
Downloading Packages:
(1/5): mysql-5.1.73-3.el6_5.x86_64.rpm | 894 kB 00:00
(2/5): mysql-libs-5.1.73-3.el6_5.x86_64.rpm | 1.2 MB 00:00
(3/5): mysql-server-5.1.73-3.el6_5.x86_64.rpm | 8.6 MB 00:04
(4/5): perl-DBD-MySQL-4.013-3.el6.x86_64.rpm | 134 kB 00:00
(5/5): perl-DBI-1.609-4.el6.x86_64.rpm | 705 kB 00:00
--------------------------------------------------------------------------------
Total 1.2 MB/s | 12 MB 00:09
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : mysql-libs-5.1.73-3.el6_5.x86_64 1/6
Installing : perl-DBI-1.609-4.el6.x86_64 2/6
Installing : perl-DBD-MySQL-4.013-3.el6.x86_64 3/6
Installing : mysql-5.1.73-3.el6_5.x86_64 4/6
Installing : mysql-server-5.1.73-3.el6_5.x86_64 5/6
Cleanup : mysql-libs-5.1.71-1.el6.x86_64 6/6
Verifying : perl-DBD-MySQL-4.013-3.el6.x86_64 1/6
Verifying : mysql-libs-5.1.73-3.el6_5.x86_64 2/6
Verifying : mysql-server-5.1.73-3.el6_5.x86_64 3/6
Verifying : mysql-5.1.73-3.el6_5.x86_64 4/6
Verifying : perl-DBI-1.609-4.el6.x86_64 5/6
Verifying : mysql-libs-5.1.71-1.el6.x86_64 6/6
Installed:
mysql-server.x86_64 0:5.1.73-3.el6_5
Dependency Installed:
mysql.x86_64 0:5.1.73-3.el6_5 perl-DBD-MySQL.x86_64 0:4.013-3.el6
perl-DBI.x86_64 0:1.609-4.el6
Dependency Updated:
mysql-libs.x86_64 0:5.1.73-3.el6_5
Complete!
[root@myzabbix Desktop]#
character-set-server=utf8
innodb_file_per_table=1
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/data.sql;
mysql> source /usr/share/doc/zabbix-server-mysql-2.2.6/create/schema.sql;
mysql> show tables;
+-----------------------+
| Tables_in_zabbix |
+-----------------------+
| acknowledges |
| actions |
| alerts |
| application_template |
| applications |
| auditlog |
| auditlog_details |
| autoreg_host |
| conditions |
| config |
| dbversion |
| dchecks |
| dhosts |
| drules |
| dservices |
| escalations |
| events |
| expressions |
| functions |
| globalmacro |
| globalvars |
| graph_discovery |
| graph_theme |
| graphs |
| graphs_items |
| group_discovery |
| group_prototype |
| groups |
| history |
| history_log |
| history_str |
| history_str_sync |
| history_sync |
| history_text |
| history_uint |
| history_uint_sync |
| host_discovery |
| host_inventory |
| hostmacro |
| hosts |
| hosts_groups |
| hosts_templates |
| housekeeper |
| httpstep |
| httpstepitem |
| httptest |
| httptestitem |
| icon_map |
| icon_mapping |
| ids |
| images |
| interface |
| interface_discovery |
| item_discovery |
| items |
| items_applications |
| maintenances |
| maintenances_groups |
| maintenances_hosts |
| maintenances_windows |
| mappings |
| media |
| media_type |
| node_cksum |
| nodes |
| opcommand |
| opcommand_grp |
| opcommand_hst |
| opconditions |
| operations |
| opgroup |
| opmessage |
| opmessage_grp |
| opmessage_usr |
| optemplate |
| profiles |
| proxy_autoreg_host |
| proxy_dhistory |
| proxy_history |
| regexps |
| rights |
| screens |
| screens_items |
| scripts |
| service_alarms |
| services |
| services_links |
| services_times |
| sessions |
| slides |
| slideshows |
| sysmap_element_url |
| sysmap_url |
| sysmaps |
| sysmaps_elements |
| sysmaps_link_triggers |
| sysmaps_links |
| timeperiods |
| trends |
| trends_uint |
| trigger_depends |
| trigger_discovery |
| triggers |
| user_history |
| users |
| users_groups |
| usrgrp |
| valuemaps |
+-----------------------+
108 rows in set (0.00 sec)
mysql>
[root@myzabbix Desktop]# egrep -v "(^#|^$)" /etc/zabbix/zabbix_server.conf
LogFile=/var/log/zabbix/zabbix_server.log
LogFileSize=0
PidFile=/var/run/zabbix/zabbix_server.pid
DBName=zabbix
DBUser=zabbix
DBSocket=/var/lib/mysql/mysql.sock
SNMPTrapperFile=/var/log/snmptt/snmptt.log
AlertScriptsPath=/usr/lib/zabbix/alertscripts
ExternalScripts=/usr/lib/zabbix/externalscripts
LogFile=/var/log/zabbix/zabbix_server.log
LogFileSize=0
PidFile=/var/run/zabbix/zabbix_server.pid
DBName=zabbix
DBUser=zabbix
DBSocket=/var/lib/mysql/mysql.sock
SNMPTrapperFile=/var/log/snmptt/snmptt.log
AlertScriptsPath=/usr/lib/zabbix/alertscripts
ExternalScripts=/usr/lib/zabbix/externalscripts
[root@myzabbix Desktop]# egrep -v "(^#|^$)" /etc/zabbix/zabbix_server.conf
LogFile=/var/log/zabbix/zabbix_server.log
LogFileSize=0
PidFile=/var/run/zabbix/zabbix_server.pid
DBName=zabbix
DBUser=zabbix
DBSocket=/var/lib/mysql/mysql.sock
SNMPTrapperFile=/var/log/snmptt/snmptt.log
AlertScriptsPath=/usr/lib/zabbix/alertscripts
ExternalScripts=/usr/lib/zabbix/externalscripts
[root@myzabbix Desktop]# vi /etc/zabbix/zabbix_server.conf
[root@myzabbix Desktop]# egrep -v "(^#|^$)" /etc/zabbix/zabbix_server.conf
LogFile=/var/log/zabbix/zabbix_server.log
LogFileSize=0
PidFile=/var/run/zabbix/zabbix_server.pid
DBName=zabbix
DBUser=zabbix
DBPassword=zabbix
DBSocket=/var/lib/mysql/mysql.sock
StartPollers=5
SNMPTrapperFile=/var/log/snmptt/snmptt.log
CacheSize=256M
AlertScriptsPath=/usr/lib/zabbix/alertscripts
ExternalScripts=/usr/lib/zabbix/externalscripts
LogFile=/var/log/zabbix/zabbix_server.log
LogFileSize=0
PidFile=/var/run/zabbix/zabbix_server.pid
DBName=zabbix
DBUser=zabbix
DBSocket=/var/lib/mysql/mysql.sock
SNMPTrapperFile=/var/log/snmptt/snmptt.log
AlertScriptsPath=/usr/lib/zabbix/alertscripts
ExternalScripts=/usr/lib/zabbix/externalscripts
[root@myzabbix Desktop]# vi /etc/zabbix/zabbix_server.conf
[root@myzabbix Desktop]# egrep -v "(^#|^$)" /etc/zabbix/zabbix_server.conf
LogFile=/var/log/zabbix/zabbix_server.log
LogFileSize=0
PidFile=/var/run/zabbix/zabbix_server.pid
DBName=zabbix
DBUser=zabbix
DBPassword=zabbix
DBSocket=/var/lib/mysql/mysql.sock
StartPollers=5
SNMPTrapperFile=/var/log/snmptt/snmptt.log
CacheSize=256M
AlertScriptsPath=/usr/lib/zabbix/alertscripts
ExternalScripts=/usr/lib/zabbix/externalscripts
[root@myzabbix Desktop]# service zabbix-server start
Starting Zabbix server: [ OK ]
[root@myzabbix Desktop]# service httpd start
Starting httpd: [ OK ]
[root@myzabbix Desktop]# chkconfig zabbix-server on
[root@myzabbix Desktop]# chkconfig httpd on
[root@myzabbix Desktop]#
Starting Zabbix server: [ OK ]
[root@myzabbix Desktop]# service httpd start
Starting httpd: [ OK ]
[root@myzabbix Desktop]# chkconfig zabbix-server on
[root@myzabbix Desktop]# chkconfig httpd on
[root@myzabbix Desktop]#
-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 10051 -j ACCEPT
-A OUTPUT -m state --state NEW -m tcp -p tcp --dport 10050 -j ACCEPT
[root@myzabbix Desktop]# service iptables restart
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: [ OK ]
iptables: Applying firewall rules: [ OK ]
[root@myzabbix Desktop]#
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: [ OK ]
iptables: Applying firewall rules: [ OK ]
[root@myzabbix Desktop]#
[root@myzabbix Desktop]# chcon -R -t httpd_sys_content_rw_t /usr/share/zabbix/conf
[root@myzabbix Desktop]# setsebool -P httpd_can_network_connect=true
[root@myzabbix Desktop]# semanage port -a -t http_port_t -p tcp 10051
bash: semanage: command not found
[root@myzabbix Desktop]# setsebool -P httpd_can_network_connect=true
[root@myzabbix Desktop]# semanage port -a -t http_port_t -p tcp 10051
bash: semanage: command not found
[root@myzabbix Desktop]# semanage port -a -t http_port_t -p tcp 10051
/usr/sbin/semanage: Port tcp/10051 already defined
[root@myzabbix Desktop]#
/usr/sbin/semanage: Port tcp/10051 already defined
[root@myzabbix Desktop]#
[root@myzabbix Desktop]# setenforce 0
[root@myzabbix Desktop]# getenforce
Permissive
[root@myzabbix Desktop]# vi /etc/selinux/config
[root@myzabbix Desktop]# getenforce
Permissive
[root@myzabbix Desktop]# vi /etc/selinux/config
SELINUX=disabled
;date.timezone = Asia/Shanghai
max_execution_time = 300
post_max_size = 16M
max_input_time = 300
;mbstring.func_overload = 2
[root@myzabbix Desktop]# vi /etc/httpd/conf.d/zabbix.conf
php_value max_execution_time 300
php_value memory_limit 128M
php_value post_max_size 16M
php_value upload_max_filesize 2M
php_value max_input_time 300
php_value date.timezone Asia/Shanghai