您好,登录后才能下订单哦!
密码登录
登录注册
点击 登录注册 即表示同意《亿速云用户服务条款》
centos6 使用yum install lamp操作记录 centos6.8 ##修改yum源为阿里云源 [root@nagios-server ~]# cd /etc/yum.repos.d/ [root@nagios-server yum.repos.d]# /bin/mv CentOS-Base.repo CentOS-Base.repo.old [root@nagios-server yum.repos.d]# wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo --2017-06-02 08:37:37-- http://mirrors.aliyun.com/repo/Centos-6.repo Resolving mirrors.aliyun.com... 112.124.140.210, 115.28.122.210 Connecting to mirrors.aliyun.com|112.124.140.210|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2572 (2.5K) [application/octet-stream] Saving to: `/etc/yum.repos.d/CentOS-Base.repo' 100%[================================================>] 2,572 --.-K/s in 0s 2017-06-02 08:37:37 (296 MB/s) - `/etc/yum.repos.d/CentOS-Base.repo' saved [2572/2572] [root@nagios-server yum.repos.d]# ll total 28 -rw-r--r-- 1 root root 2572 May 15 2015 CentOS-Base.repo -rw-r--r--. 1 root root 2572 May 15 2015 CentOS-Base.repo.oldboy.ori -rw-r--r--. 1 root root 647 Oct 23 2014 CentOS-Debuginfo.repo -rw-r--r--. 1 root root 630 Oct 23 2014 CentOS-Media.repo -rw-r--r--. 1 root root 5394 Oct 23 2014 CentOS-Vault.repo -rw-r--r--. 1 root root 289 Oct 23 2014 CentOS-fasttrack.repo #yum安装所需的基础软件包 [root@nagios-server ~]# yum install gcc glibc glibc-common -y Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirrors.aliyun.com Resolving Dependencies --> Running transaction check ---> Package gcc.x86_64 0:4.4.7-18.el6 will be installed --> Processing Dependency: libgomp = 4.4.7-18.el6 for package: gcc-4.4.7-18.el6.x86_64 --> Processing Dependency: cpp = 4.4.7-18.el6 for package: gcc-4.4.7-18.el6.x86_64 --> Processing Dependency: libgcc >= 4.4.7-18.el6 for package: gcc-4.4.7-18.el6.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.7-18.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-18.el6.x86_64 --> Processing Dependency: libgomp.so.1()(64bit) for package: gcc-4.4.7-18.el6.x86_64 ---> Package glibc.x86_64 0:2.12-1.149.el6 will be updated ---> Package glibc.x86_64 0:2.12-1.209.el6_9.1 will be an update ---> Package glibc-common.x86_64 0:2.12-1.149.el6 will be updated ---> Package glibc-common.x86_64 0:2.12-1.209.el6_9.1 will be an update --> Processing Dependency: tzdata >= 2015g-4 for package: glibc-common-2.12-1.209.el6_9.1.x86_64 --> Running transaction check ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.7-18.el6 will be installed --> Processing Dependency: libmpfr.so.1()(64bit) for package: cpp-4.4.7-18.el6.x86_64 ---> Package glibc-devel.x86_64 0:2.12-1.209.el6_9.1 will be installed --> Processing Dependency: glibc-headers = 2.12-1.209.el6_9.1 for package: glibc-devel-2.12-1.209.el6_9.1.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.209.el6_9.1.x86_64 ---> Package libgcc.x86_64 0:4.4.7-11.el6 will be updated ---> Package libgcc.x86_64 0:4.4.7-18.el6 will be an update ---> Package libgomp.x86_64 0:4.4.7-18.el6 will be installed ---> Package tzdata.noarch 0:2014g-1.el6 will be updated ---> Package tzdata.noarch 0:2017b-1.el6 will be an update --> Running transaction check ---> Package glibc-headers.x86_64 0:2.12-1.209.el6_9.1 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.209.el6_9.1.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.209.el6_9.1.x86_64 ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed --> Running transaction check ---> Package kernel-headers.x86_64 0:2.6.32-696.3.1.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================================== Package Arch Version Repository Size ========================================================================================== Installing: gcc x86_64 4.4.7-18.el6 base 10 M Updating: glibc x86_64 2.12-1.209.el6_9.1 updates 3.8 M glibc-common x86_64 2.12-1.209.el6_9.1 updates 14 M Installing for dependencies: cloog-ppl x86_64 0.15.7-1.2.el6 base 93 k cpp x86_64 4.4.7-18.el6 base 3.7 M glibc-devel x86_64 2.12-1.209.el6_9.1 updates 991 k glibc-headers x86_64 2.12-1.209.el6_9.1 updates 619 k kernel-headers x86_64 2.6.32-696.3.1.el6 updates 4.5 M libgomp x86_64 4.4.7-18.el6 base 134 k mpfr x86_64 2.4.1-6.el6 base 157 k ppl x86_64 0.10.2-11.el6 base 1.3 M Updating for dependencies: libgcc x86_64 4.4.7-18.el6 base 103 k tzdata noarch 2017b-1.el6 updates 455 k Transaction Summary ========================================================================================== Install 9 Package(s) Upgrade 4 Package(s) Total download size: 40 M Downloading Packages: (1/13): cloog-ppl-0.15.7-1.2.el6.x86_64.rpm | 93 kB 00:00 (2/13): cpp-4.4.7-18.el6.x86_64.rpm | 3.7 MB 00:03 (3/13): gcc-4.4.7-18.el6.x86_64.rpm | 10 MB 00:10 (4/13): glibc-2.12-1.209.el6_9.1.x86_64.rpm | 3.8 MB 00:03 (5/13): glibc-common-2.12-1.209.el6_9.1.x86_64.rpm | 14 MB 00:14 (6/13): glibc-devel-2.12-1.209.el6_9.1.x86_64.rpm | 991 kB 00:00 (7/13): glibc-headers-2.12-1.209.el6_9.1.x86_64.rpm | 619 kB 00:00 (8/13): kernel-headers-2.6.32-696.3.1.el6.x86_64.rpm | 4.5 MB 00:04 (9/13): libgcc-4.4.7-18.el6.x86_64.rpm | 103 kB 00:00 (10/13): libgomp-4.4.7-18.el6.x86_64.rpm | 134 kB 00:00 (11/13): mpfr-2.4.1-6.el6.x86_64.rpm | 157 kB 00:00 (12/13): ppl-0.10.2-11.el6.x86_64.rpm | 1.3 MB 00:01 (13/13): tzdata-2017b-1.el6.noarch.rpm | 455 kB 00:00 ------------------------------------------------------------------------------------------ Total 1.0 MB/s | 40 MB 00:39 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : libgcc-4.4.7-18.el6.x86_64 1/17 Installing : kernel-headers-2.6.32-696.3.1.el6.x86_64 2/17 Updating : tzdata-2017b-1.el6.noarch 3/17 Updating : glibc-2.12-1.209.el6_9.1.x86_64 4/17 Updating : glibc-common-2.12-1.209.el6_9.1.x86_64 5/17 Installing : glibc-headers-2.12-1.209.el6_9.1.x86_64 6/17 Installing : glibc-devel-2.12-1.209.el6_9.1.x86_64 7/17 Installing : libgomp-4.4.7-18.el6.x86_64 8/17 Installing : mpfr-2.4.1-6.el6.x86_64 9/17 Installing : cpp-4.4.7-18.el6.x86_64 10/17 Installing : ppl-0.10.2-11.el6.x86_64 11/17 Installing : cloog-ppl-0.15.7-1.2.el6.x86_64 12/17 Installing : gcc-4.4.7-18.el6.x86_64 13/17 Cleanup : glibc-common-2.12-1.149.el6.x86_64 14/17 Cleanup : glibc-2.12-1.149.el6.x86_64 15/17 Cleanup : tzdata-2014g-1.el6.noarch 16/17 Cleanup : libgcc-4.4.7-11.el6.x86_64 17/17 Verifying : tzdata-2017b-1.el6.noarch 1/17 Verifying : cpp-4.4.7-18.el6.x86_64 2/17 Verifying : glibc-headers-2.12-1.209.el6_9.1.x86_64 3/17 Verifying : libgomp-4.4.7-18.el6.x86_64 4/17 Verifying : glibc-2.12-1.209.el6_9.1.x86_64 5/17 Verifying : libgcc-4.4.7-18.el6.x86_64 6/17 Verifying : glibc-common-2.12-1.209.el6_9.1.x86_64 7/17 Verifying : mpfr-2.4.1-6.el6.x86_64 8/17 Verifying : gcc-4.4.7-18.el6.x86_64 9/17 Verifying : ppl-0.10.2-11.el6.x86_64 10/17 Verifying : cloog-ppl-0.15.7-1.2.el6.x86_64 11/17 Verifying : glibc-devel-2.12-1.209.el6_9.1.x86_64 12/17 Verifying : kernel-headers-2.6.32-696.3.1.el6.x86_64 13/17 Verifying : glibc-2.12-1.149.el6.x86_64 14/17 Verifying : libgcc-4.4.7-11.el6.x86_64 15/17 Verifying : glibc-common-2.12-1.149.el6.x86_64 16/17 Verifying : tzdata-2014g-1.el6.noarch 17/17 Installed: gcc.x86_64 0:4.4.7-18.el6 Dependency Installed: cloog-ppl.x86_64 0:0.15.7-1.2.el6 cpp.x86_64 0:4.4.7-18.el6 glibc-devel.x86_64 0:2.12-1.209.el6_9.1 glibc-headers.x86_64 0:2.12-1.209.el6_9.1 kernel-headers.x86_64 0:2.6.32-696.3.1.el6 libgomp.x86_64 0:4.4.7-18.el6 mpfr.x86_64 0:2.4.1-6.el6 ppl.x86_64 0:0.10.2-11.el6 Updated: glibc.x86_64 0:2.12-1.209.el6_9.1 glibc-common.x86_64 0:2.12-1.209.el6_9.1 Dependency Updated: libgcc.x86_64 0:4.4.7-18.el6 tzdata.noarch 0:2017b-1.el6 Complete! [root@nagios-server ~]# yum install gd gd-devel -y Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirrors.aliyun.com Resolving Dependencies --> Running transaction check ---> Package gd.x86_64 0:2.0.35-11.el6 will be installed --> Processing Dependency: libpng12.so.0(PNG12_0)(64bit) for package: gd-2.0.35-11.el6.x86_64 --> Processing Dependency: libpng12.so.0()(64bit) for package: gd-2.0.35-11.el6.x86_64 --> Processing Dependency: libjpeg.so.62()(64bit) for package: gd-2.0.35-11.el6.x86_64 --> Processing Dependency: libfreetype.so.6()(64bit) for package: gd-2.0.35-11.el6.x86_64 --> Processing Dependency: libfontconfig.so.1()(64bit) for package: gd-2.0.35-11.el6.x86_64 --> Processing Dependency: libXpm.so.4()(64bit) for package: gd-2.0.35-11.el6.x86_64 --> Processing Dependency: libX11.so.6()(64bit) for package: gd-2.0.35-11.el6.x86_64 ---> Package gd-devel.x86_64 0:2.0.35-11.el6 will be installed --> Processing Dependency: zlib-devel for package: gd-devel-2.0.35-11.el6.x86_64 --> Processing Dependency: libpng-devel for package: gd-devel-2.0.35-11.el6.x86_64 --> Processing Dependency: libjpeg-devel for package: gd-devel-2.0.35-11.el6.x86_64 --> Processing Dependency: libXpm-devel for package: gd-devel-2.0.35-11.el6.x86_64 --> Processing Dependency: libX11-devel for package: gd-devel-2.0.35-11.el6.x86_64 --> Processing Dependency: freetype-devel for package: gd-devel-2.0.35-11.el6.x86_64 --> Processing Dependency: fontconfig-devel for package: gd-devel-2.0.35-11.el6.x86_64 --> Running transaction check ---> Package fontconfig.x86_64 0:2.8.0-5.el6 will be installed ---> Package fontconfig-devel.x86_64 0:2.8.0-5.el6 will be installed ---> Package freetype.x86_64 0:2.3.11-17.el6 will be installed ---> Package freetype-devel.x86_64 0:2.3.11-17.el6 will be installed ---> Package libX11.x86_64 0:1.6.4-3.el6 will be installed --> Processing Dependency: libX11-common = 1.6.4-3.el6 for package: libX11-1.6.4-3.el6.x86_64 --> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.4-3.el6.x86_64 ---> Package libX11-devel.x86_64 0:1.6.4-3.el6 will be installed --> Processing Dependency: pkgconfig(xcb) >= 1.11.1 for package: libX11-devel-1.6.4-3.el6.x86_64 --> Processing Dependency: pkgconfig(xproto) for package: libX11-devel-1.6.4-3.el6.x86_64 --> Processing Dependency: pkgconfig(xcb) for package: libX11-devel-1.6.4-3.el6.x86_64 --> Processing Dependency: pkgconfig(kbproto) for package: libX11-devel-1.6.4-3.el6.x86_64 ---> Package libXpm.x86_64 0:3.5.10-2.el6 will be installed ---> Package libXpm-devel.x86_64 0:3.5.10-2.el6 will be installed --> Processing Dependency: libXt.so.6()(64bit) for package: libXpm-devel-3.5.10-2.el6.x86_64 --> Processing Dependency: libXext.so.6()(64bit) for package: libXpm-devel-3.5.10-2.el6.x86_64 ---> Package libjpeg-turbo.x86_64 0:1.2.1-3.el6_5 will be installed ---> Package libjpeg-turbo-devel.x86_64 0:1.2.1-3.el6_5 will be installed ---> Package libpng.x86_64 2:1.2.49-2.el6_7 will be installed ---> Package libpng-devel.x86_64 2:1.2.49-2.el6_7 will be installed ---> Package zlib-devel.x86_64 0:1.2.3-29.el6 will be installed --> Running transaction check ---> Package libX11-common.noarch 0:1.6.4-3.el6 will be installed ---> Package libXext.x86_64 0:1.3.3-1.el6 will be installed ---> Package libXt.x86_64 0:1.1.4-6.1.el6 will be installed --> Processing Dependency: libSM.so.6()(64bit) for package: libXt-1.1.4-6.1.el6.x86_64 --> Processing Dependency: libICE.so.6()(64bit) for package: libXt-1.1.4-6.1.el6.x86_64 ---> Package libxcb.x86_64 0:1.12-4.el6 will be installed --> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.12-4.el6.x86_64 ---> Package libxcb-devel.x86_64 0:1.12-4.el6 will be installed --> Processing Dependency: pkgconfig(xau) >= 0.99.2 for package: libxcb-devel-1.12-4.el6.x86_64 ---> Package xorg-x11-proto-devel.noarch 0:7.7-14.el6 will be installed --> Running transaction check ---> Package libICE.x86_64 0:1.0.6-1.el6 will be installed ---> Package libSM.x86_64 0:1.2.1-2.el6 will be installed ---> Package libXau.x86_64 0:1.0.6-4.el6 will be installed ---> Package libXau-devel.x86_64 0:1.0.6-4.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================================== Package Arch Version Repository Size ========================================================================================== Installing: gd x86_64 2.0.35-11.el6 base 142 k gd-devel x86_64 2.0.35-11.el6 base 78 k Installing for dependencies: fontconfig x86_64 2.8.0-5.el6 base 186 k fontconfig-devel x86_64 2.8.0-5.el6 base 209 k freetype x86_64 2.3.11-17.el6 base 361 k freetype-devel x86_64 2.3.11-17.el6 base 365 k libICE x86_64 1.0.6-1.el6 base 53 k libSM x86_64 1.2.1-2.el6 base 37 k libX11 x86_64 1.6.4-3.el6 base 587 k libX11-common noarch 1.6.4-3.el6 base 171 k libX11-devel x86_64 1.6.4-3.el6 base 983 k libXau x86_64 1.0.6-4.el6 base 24 k libXau-devel x86_64 1.0.6-4.el6 base 14 k libXext x86_64 1.3.3-1.el6 base 35 k libXpm x86_64 3.5.10-2.el6 base 51 k libXpm-devel x86_64 3.5.10-2.el6 base 33 k libXt x86_64 1.1.4-6.1.el6 base 165 k libjpeg-turbo x86_64 1.2.1-3.el6_5 base 174 k libjpeg-turbo-devel x86_64 1.2.1-3.el6_5 base 96 k libpng x86_64 2:1.2.49-2.el6_7 base 182 k libpng-devel x86_64 2:1.2.49-2.el6_7 base 112 k libxcb x86_64 1.12-4.el6 base 180 k libxcb-devel x86_64 1.12-4.el6 base 1.1 M xorg-x11-proto-devel noarch 7.7-14.el6 base 288 k zlib-devel x86_64 1.2.3-29.el6 base 44 k Transaction Summary ========================================================================================== Install 25 Package(s) Total download size: 5.5 M Installed size: 16 M Downloading Packages: (1/25): fontconfig-2.8.0-5.el6.x86_64.rpm | 186 kB 00:00 (2/25): fontconfig-devel-2.8.0-5.el6.x86_64.rpm | 209 kB 00:00 (3/25): freetype-2.3.11-17.el6.x86_64.rpm | 361 kB 00:00 (4/25): freetype-devel-2.3.11-17.el6.x86_64.rpm | 365 kB 00:00 (5/25): gd-2.0.35-11.el6.x86_64.rpm | 142 kB 00:00 (6/25): gd-devel-2.0.35-11.el6.x86_64.rpm | 78 kB 00:00 (7/25): libICE-1.0.6-1.el6.x86_64.rpm | 53 kB 00:00 (8/25): libSM-1.2.1-2.el6.x86_64.rpm | 37 kB 00:00 (9/25): libX11-1.6.4-3.el6.x86_64.rpm | 587 kB 00:00 (10/25): libX11-common-1.6.4-3.el6.noarch.rpm | 171 kB 00:00 (11/25): libX11-devel-1.6.4-3.el6.x86_64.rpm | 983 kB 00:00 (12/25): libXau-1.0.6-4.el6.x86_64.rpm | 24 kB 00:00 (13/25): libXau-devel-1.0.6-4.el6.x86_64.rpm | 14 kB 00:00 (14/25): libXext-1.3.3-1.el6.x86_64.rpm | 35 kB 00:00 (15/25): libXpm-3.5.10-2.el6.x86_64.rpm | 51 kB 00:00 (16/25): libXpm-devel-3.5.10-2.el6.x86_64.rpm | 33 kB 00:00 (17/25): libXt-1.1.4-6.1.el6.x86_64.rpm | 165 kB 00:00 (18/25): libjpeg-turbo-1.2.1-3.el6_5.x86_64.rpm | 174 kB 00:00 (19/25): libjpeg-turbo-devel-1.2.1-3.el6_5.x86_64.rpm | 96 kB 00:00 (20/25): libpng-1.2.49-2.el6_7.x86_64.rpm | 182 kB 00:00 (21/25): libpng-devel-1.2.49-2.el6_7.x86_64.rpm | 112 kB 00:00 (22/25): libxcb-1.12-4.el6.x86_64.rpm | 180 kB 00:00 (23/25): libxcb-devel-1.12-4.el6.x86_64.rpm | 1.1 MB 00:00 (24/25): xorg-x11-proto-devel-7.7-14.el6.noarch.rpm | 288 kB 00:00 (25/25): zlib-devel-1.2.3-29.el6.x86_64.rpm | 44 kB 00:00 ------------------------------------------------------------------------------------------ Total 1.2 MB/s | 5.5 MB 00:04 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : zlib-devel-1.2.3-29.el6.x86_64 1/25 Installing : freetype-2.3.11-17.el6.x86_64 2/25 Installing : freetype-devel-2.3.11-17.el6.x86_64 3/25 Installing : fontconfig-2.8.0-5.el6.x86_64 4/25 Installing : libICE-1.0.6-1.el6.x86_64 5/25 Installing : libXau-1.0.6-4.el6.x86_64 6/25 Installing : libxcb-1.12-4.el6.x86_64 7/25 Installing : libjpeg-turbo-1.2.1-3.el6_5.x86_64 8/25 Installing : xorg-x11-proto-devel-7.7-14.el6.noarch 9/25 Installing : 2:libpng-1.2.49-2.el6_7.x86_64 10/25 Installing : 2:libpng-devel-1.2.49-2.el6_7.x86_64 11/25 Installing : libXau-devel-1.0.6-4.el6.x86_64 12/25 Installing : libxcb-devel-1.12-4.el6.x86_64 13/25 Installing : libjpeg-turbo-devel-1.2.1-3.el6_5.x86_64 14/25 Installing : libSM-1.2.1-2.el6.x86_64 15/25 Installing : fontconfig-devel-2.8.0-5.el6.x86_64 16/25 Installing : libX11-common-1.6.4-3.el6.noarch 17/25 Installing : libX11-1.6.4-3.el6.x86_64 18/25 Installing : libXpm-3.5.10-2.el6.x86_64 19/25 Installing : libX11-devel-1.6.4-3.el6.x86_64 20/25 Installing : gd-2.0.35-11.el6.x86_64 21/25 Installing : libXt-1.1.4-6.1.el6.x86_64 22/25 Installing : libXext-1.3.3-1.el6.x86_64 23/25 Installing : libXpm-devel-3.5.10-2.el6.x86_64 24/25 Installing : gd-devel-2.0.35-11.el6.x86_64 25/25 Verifying : libxcb-devel-1.12-4.el6.x86_64 1/25 Verifying : libXau-devel-1.0.6-4.el6.x86_64 2/25 Verifying : libXpm-3.5.10-2.el6.x86_64 3/25 Verifying : freetype-2.3.11-17.el6.x86_64 4/25 Verifying : 2:libpng-devel-1.2.49-2.el6_7.x86_64 5/25 Verifying : libxcb-1.12-4.el6.x86_64 6/25 Verifying : libSM-1.2.1-2.el6.x86_64 7/25 Verifying : freetype-devel-2.3.11-17.el6.x86_64 8/25 Verifying : libjpeg-turbo-devel-1.2.1-3.el6_5.x86_64 9/25 Verifying : gd-2.0.35-11.el6.x86_64 10/25 Verifying : libXt-1.1.4-6.1.el6.x86_64 11/25 Verifying : libX11-devel-1.6.4-3.el6.x86_64 12/25 Verifying : zlib-devel-1.2.3-29.el6.x86_64 13/25 Verifying : 2:libpng-1.2.49-2.el6_7.x86_64 14/25 Verifying : libX11-common-1.6.4-3.el6.noarch 15/25 Verifying : libXext-1.3.3-1.el6.x86_64 16/25 Verifying : libX11-1.6.4-3.el6.x86_64 17/25 Verifying : xorg-x11-proto-devel-7.7-14.el6.noarch 18/25 Verifying : libjpeg-turbo-1.2.1-3.el6_5.x86_64 19/25 Verifying : fontconfig-2.8.0-5.el6.x86_64 20/25 Verifying : libXpm-devel-3.5.10-2.el6.x86_64 21/25 Verifying : libXau-1.0.6-4.el6.x86_64 22/25 Verifying : fontconfig-devel-2.8.0-5.el6.x86_64 23/25 Verifying : libICE-1.0.6-1.el6.x86_64 24/25 Verifying : gd-devel-2.0.35-11.el6.x86_64 25/25 Installed: gd.x86_64 0:2.0.35-11.el6 gd-devel.x86_64 0:2.0.35-11.el6 Dependency Installed: fontconfig.x86_64 0:2.8.0-5.el6 fontconfig-devel.x86_64 0:2.8.0-5.el6 freetype.x86_64 0:2.3.11-17.el6 freetype-devel.x86_64 0:2.3.11-17.el6 libICE.x86_64 0:1.0.6-1.el6 libSM.x86_64 0:1.2.1-2.el6 libX11.x86_64 0:1.6.4-3.el6 libX11-common.noarch 0:1.6.4-3.el6 libX11-devel.x86_64 0:1.6.4-3.el6 libXau.x86_64 0:1.0.6-4.el6 libXau-devel.x86_64 0:1.0.6-4.el6 libXext.x86_64 0:1.3.3-1.el6 libXpm.x86_64 0:3.5.10-2.el6 libXpm-devel.x86_64 0:3.5.10-2.el6 libXt.x86_64 0:1.1.4-6.1.el6 libjpeg-turbo.x86_64 0:1.2.1-3.el6_5 libjpeg-turbo-devel.x86_64 0:1.2.1-3.el6_5 libpng.x86_64 2:1.2.49-2.el6_7 libpng-devel.x86_64 2:1.2.49-2.el6_7 libxcb.x86_64 0:1.12-4.el6 libxcb-devel.x86_64 0:1.12-4.el6 xorg-x11-proto-devel.noarch 0:7.7-14.el6 zlib-devel.x86_64 0:1.2.3-29.el6 Complete! [root@nagios-server ~]# yum install mysql-server -y Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirrors.aliyun.com Resolving Dependencies --> Running transaction check ---> Package mysql-server.x86_64 0:5.1.73-8.el6_8 will be installed --> Processing Dependency: mysql = 5.1.73-8.el6_8 for package: mysql-server-5.1.73-8.el6_8.x86_64 --> Processing Dependency: perl-DBI for package: mysql-server-5.1.73-8.el6_8.x86_64 --> Processing Dependency: perl-DBD-MySQL for package: mysql-server-5.1.73-8.el6_8.x86_64 --> Processing Dependency: perl(vars) for package: mysql-server-5.1.73-8.el6_8.x86_64 --> Processing Dependency: perl(strict) for package: mysql-server-5.1.73-8.el6_8.x86_64 --> Processing Dependency: perl(Sys::Hostname) for package: mysql-server-5.1.73-8.el6_8.x86_64 --> Processing Dependency: perl(POSIX) for package: mysql-server-5.1.73-8.el6_8.x86_64 --> Processing Dependency: perl(Getopt::Long) for package: mysql-server-5.1.73-8.el6_8.x86_64 --> Processing Dependency: perl(File::Temp) for package: mysql-server-5.1.73-8.el6_8.x86_64 --> Processing Dependency: perl(File::Path) for package: mysql-server-5.1.73-8.el6_8.x86_64 --> Processing Dependency: perl(File::Copy) for package: mysql-server-5.1.73-8.el6_8.x86_64 --> Processing Dependency: perl(File::Basename) for package: mysql-server-5.1.73-8.el6_8.x86_64 --> Processing Dependency: perl(Data::Dumper) for package: mysql-server-5.1.73-8.el6_8.x86_64 --> Processing Dependency: perl(DBI) for package: mysql-server-5.1.73-8.el6_8.x86_64 --> Processing Dependency: /usr/bin/perl for package: mysql-server-5.1.73-8.el6_8.x86_64 --> Running transaction check ---> Package mysql.x86_64 0:5.1.73-8.el6_8 will be installed --> Processing Dependency: mysql-libs = 5.1.73-8.el6_8 for package: mysql-5.1.73-8.el6_8.x86_64 ---> Package perl.x86_64 4:5.10.1-144.el6 will be installed --> Processing Dependency: perl-libs = 4:5.10.1-144.el6 for package: 4:perl-5.10.1-144.el6.x86_64 --> Processing Dependency: perl-libs for package: 4:perl-5.10.1-144.el6.x86_64 --> Processing Dependency: perl(version) for package: 4:perl-5.10.1-144.el6.x86_64 --> Processing Dependency: perl(Pod::Simple) for package: 4:perl-5.10.1-144.el6.x86_64 --> Processing Dependency: perl(Module::Pluggable) for package: 4:perl-5.10.1-144.el6.x86_64 --> Processing Dependency: libperl.so()(64bit) for package: 4:perl-5.10.1-144.el6.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.73-3.el6_5 will be updated ---> Package mysql-libs.x86_64 0:5.1.73-8.el6_8 will be an update ---> Package perl-Module-Pluggable.x86_64 1:3.90-144.el6 will be installed ---> Package perl-Pod-Simple.x86_64 1:3.13-144.el6 will be installed --> Processing Dependency: perl(Pod::Escapes) >= 1.04 for package: 1:perl-Pod-Simple-3.13-144.el6.x86_64 ---> Package perl-libs.x86_64 4:5.10.1-144.el6 will be installed ---> Package perl-version.x86_64 3:0.77-144.el6 will be installed --> Running transaction check ---> Package perl-Pod-Escapes.x86_64 1:1.04-144.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================================== Package Arch Version Repository Size ========================================================================================== Installing: mysql-server x86_64 5.1.73-8.el6_8 base 8.6 M Installing for dependencies: mysql x86_64 5.1.73-8.el6_8 base 895 k perl x86_64 4:5.10.1-144.el6 base 10 M perl-DBD-MySQL x86_64 4.013-3.el6 base 134 k perl-DBI x86_64 1.609-4.el6 base 705 k perl-Module-Pluggable x86_64 1:3.90-144.el6 base 41 k perl-Pod-Escapes x86_64 1:1.04-144.el6 base 33 k perl-Pod-Simple x86_64 1:3.13-144.el6 base 213 k perl-libs x86_64 4:5.10.1-144.el6 base 579 k perl-version x86_64 3:0.77-144.el6 base 52 k Updating for dependencies: mysql-libs x86_64 5.1.73-8.el6_8 base 1.2 M Transaction Summary ========================================================================================== Install 10 Package(s) Upgrade 1 Package(s) Total download size: 23 M Downloading Packages: (1/11): mysql-5.1.73-8.el6_8.x86_64.rpm | 895 kB 00:00 (2/11): mysql-libs-5.1.73-8.el6_8.x86_64.rpm | 1.2 MB 00:00 (3/11): mysql-server-5.1.73-8.el6_8.x86_64.rpm | 8.6 MB 00:08 (4/11): perl-5.10.1-144.el6.x86_64.rpm | 10 MB 00:10 (5/11): perl-DBD-MySQL-4.013-3.el6.x86_64.rpm | 134 kB 00:00 (6/11): perl-DBI-1.609-4.el6.x86_64.rpm | 705 kB 00:00 (7/11): perl-Module-Pluggable-3.90-144.el6.x86_64.rpm | 41 kB 00:00 (8/11): perl-Pod-Escapes-1.04-144.el6.x86_64.rpm | 33 kB 00:00 (9/11): perl-Pod-Simple-3.13-144.el6.x86_64.rpm | 213 kB 00:00 (10/11): perl-libs-5.10.1-144.el6.x86_64.rpm | 579 kB 00:00 (11/11): perl-version-0.77-144.el6.x86_64.rpm | 52 kB 00:00 ------------------------------------------------------------------------------------------ Total 1.0 MB/s | 23 MB 00:22 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : mysql-libs-5.1.73-8.el6_8.x86_64 1/12 Installing : 1:perl-Pod-Escapes-1.04-144.el6.x86_64 2/12 Installing : 4:perl-libs-5.10.1-144.el6.x86_64 3/12 Installing : 1:perl-Module-Pluggable-3.90-144.el6.x86_64 4/12 Installing : 1:perl-Pod-Simple-3.13-144.el6.x86_64 5/12 Installing : 3:perl-version-0.77-144.el6.x86_64 6/12 Installing : 4:perl-5.10.1-144.el6.x86_64 7/12 Installing : perl-DBI-1.609-4.el6.x86_64 8/12 Installing : perl-DBD-MySQL-4.013-3.el6.x86_64 9/12 Installing : mysql-5.1.73-8.el6_8.x86_64 10/12 Installing : mysql-server-5.1.73-8.el6_8.x86_64 11/12 Cleanup : mysql-libs-5.1.73-3.el6_5.x86_64 12/12 Verifying : 3:perl-version-0.77-144.el6.x86_64 1/12 Verifying : 4:perl-libs-5.10.1-144.el6.x86_64 2/12 Verifying : 4:perl-5.10.1-144.el6.x86_64 3/12 Verifying : perl-DBD-MySQL-4.013-3.el6.x86_64 4/12 Verifying : mysql-server-5.1.73-8.el6_8.x86_64 5/12 Verifying : perl-DBI-1.609-4.el6.x86_64 6/12 Verifying : 1:perl-Module-Pluggable-3.90-144.el6.x86_64 7/12 Verifying : 1:perl-Pod-Simple-3.13-144.el6.x86_64 8/12 Verifying : 1:perl-Pod-Escapes-1.04-144.el6.x86_64 9/12 Verifying : mysql-5.1.73-8.el6_8.x86_64 10/12 Verifying : mysql-libs-5.1.73-8.el6_8.x86_64 11/12 Verifying : mysql-libs-5.1.73-3.el6_5.x86_64 12/12 Installed: mysql-server.x86_64 0:5.1.73-8.el6_8 Dependency Installed: mysql.x86_64 0:5.1.73-8.el6_8 perl.x86_64 4:5.10.1-144.el6 perl-DBD-MySQL.x86_64 0:4.013-3.el6 perl-DBI.x86_64 0:1.609-4.el6 perl-Module-Pluggable.x86_64 1:3.90-144.el6 perl-Pod-Escapes.x86_64 1:1.04-144.el6 perl-Pod-Simple.x86_64 1:3.13-144.el6 perl-libs.x86_64 4:5.10.1-144.el6 perl-version.x86_64 3:0.77-144.el6 Dependency Updated: mysql-libs.x86_64 0:5.1.73-8.el6_8 Complete! [root@nagios-server ~]# yum install httpd php php-gd -y Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirrors.aliyun.com Resolving Dependencies --> Running transaction check ---> Package httpd.x86_64 0:2.2.15-59.el6.centos will be installed --> Processing Dependency: httpd-tools = 2.2.15-59.el6.centos for package: httpd-2.2.15-59.el6.centos.x86_64 --> Processing Dependency: apr-util-ldap for package: httpd-2.2.15-59.el6.centos.x86_64 --> Processing Dependency: /etc/mime.types for package: httpd-2.2.15-59.el6.centos.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.2.15-59.el6.centos.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.2.15-59.el6.centos.x86_64 ---> Package php.x86_64 0:5.3.3-49.el6 will be installed --> Processing Dependency: php-common(x86-64) = 5.3.3-49.el6 for package: php-5.3.3-49.el6.x86_64 --> Processing Dependency: php-cli(x86-64) = 5.3.3-49.el6 for package: php-5.3.3-49.el6.x86_64 ---> Package php-gd.x86_64 0:5.3.3-49.el6 will be installed --> Running transaction check ---> Package apr.x86_64 0:1.3.9-5.el6_2 will be installed ---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package apr-util-ldap.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package httpd-tools.x86_64 0:2.2.15-59.el6.centos will be installed ---> Package mailcap.noarch 0:2.1.31-2.el6 will be installed ---> Package php-cli.x86_64 0:5.3.3-49.el6 will be installed ---> Package php-common.x86_64 0:5.3.3-49.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================================== Package Arch Version Repository Size ========================================================================================== Installing: httpd x86_64 2.2.15-59.el6.centos base 834 k php x86_64 5.3.3-49.el6 base 1.1 M php-gd x86_64 5.3.3-49.el6 base 111 k Installing for dependencies: apr x86_64 1.3.9-5.el6_2 base 123 k apr-util x86_64 1.3.9-3.el6_0.1 base 87 k apr-util-ldap x86_64 1.3.9-3.el6_0.1 base 15 k httpd-tools x86_64 2.2.15-59.el6.centos base 79 k mailcap noarch 2.1.31-2.el6 base 27 k php-cli x86_64 5.3.3-49.el6 base 2.2 M php-common x86_64 5.3.3-49.el6 base 530 k Transaction Summary ========================================================================================== Install 10 Package(s) Total download size: 5.1 M Installed size: 17 M Downloading Packages: (1/10): apr-1.3.9-5.el6_2.x86_64.rpm | 123 kB 00:00 (2/10): apr-util-1.3.9-3.el6_0.1.x86_64.rpm | 87 kB 00:00 (3/10): apr-util-ldap-1.3.9-3.el6_0.1.x86_64.rpm | 15 kB 00:00 (4/10): httpd-2.2.15-59.el6.centos.x86_64.rpm | 834 kB 00:00 (5/10): httpd-tools-2.2.15-59.el6.centos.x86_64.rpm | 79 kB 00:00 (6/10): mailcap-2.1.31-2.el6.noarch.rpm | 27 kB 00:00 (7/10): php-5.3.3-49.el6.x86_64.rpm | 1.1 MB 00:01 (8/10): php-cli-5.3.3-49.el6.x86_64.rpm | 2.2 MB 00:02 (9/10): php-common-5.3.3-49.el6.x86_64.rpm | 530 kB 00:00 (10/10): php-gd-5.3.3-49.el6.x86_64.rpm | 111 kB 00:00 ------------------------------------------------------------------------------------------ Total 1.0 MB/s | 5.1 MB 00:05 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : php-common-5.3.3-49.el6.x86_64 1/10 Installing : apr-1.3.9-5.el6_2.x86_64 2/10 Installing : apr-util-1.3.9-3.el6_0.1.x86_64 3/10 Installing : httpd-tools-2.2.15-59.el6.centos.x86_64 4/10 Installing : apr-util-ldap-1.3.9-3.el6_0.1.x86_64 5/10 Installing : php-cli-5.3.3-49.el6.x86_64 6/10 Installing : mailcap-2.1.31-2.el6.noarch 7/10 Installing : httpd-2.2.15-59.el6.centos.x86_64 8/10 Installing : php-5.3.3-49.el6.x86_64 9/10 Installing : php-gd-5.3.3-49.el6.x86_64 10/10 Verifying : httpd-tools-2.2.15-59.el6.centos.x86_64 1/10 Verifying : apr-util-ldap-1.3.9-3.el6_0.1.x86_64 2/10 Verifying : httpd-2.2.15-59.el6.centos.x86_64 3/10 Verifying : apr-1.3.9-5.el6_2.x86_64 4/10 Verifying : php-cli-5.3.3-49.el6.x86_64 5/10 Verifying : php-5.3.3-49.el6.x86_64 6/10 Verifying : php-gd-5.3.3-49.el6.x86_64 7/10 Verifying : mailcap-2.1.31-2.el6.noarch 8/10 Verifying : apr-util-1.3.9-3.el6_0.1.x86_64 9/10 Verifying : php-common-5.3.3-49.el6.x86_64 10/10 Installed: httpd.x86_64 0:2.2.15-59.el6.centos php.x86_64 0:5.3.3-49.el6 php-gd.x86_64 0:5.3.3-49.el6 Dependency Installed: apr.x86_64 0:1.3.9-5.el6_2 apr-util.x86_64 0:1.3.9-3.el6_0.1 apr-util-ldap.x86_64 0:1.3.9-3.el6_0.1 httpd-tools.x86_64 0:2.2.15-59.el6.centos mailcap.noarch 0:2.1.31-2.el6 php-cli.x86_64 0:5.3.3-49.el6 php-common.x86_64 0:5.3.3-49.el6 Complete! [root@nagios-server ~]# rpm -qa mysql httpd php mysql-5.1.73-8.el6_8.x86_64 php-5.3.3-49.el6.x86_64 httpd-2.2.15-59.el6.centos.x86_64
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。