[root@bogon yum.repos.d]# yum -y install httpd 安装httpd进行测试。。。
Loaded plugins: fastestmirror
Determining fastest mirrors
c5-media | 1.3 kB 00:00
c5-media/primary | 1.2 MB 00:00
c5-media 3433/3433
Setting up Install Process
Package httpd-2.2.3-43.el5.centos.x86_64 already installed and latest version
Nothing to do 由于我的虚拟机已安装httpd所以没能检验出效果,继续测试!
[root@bogon yum.repos.d]# yum -y install mysql 安装mysql进行测试
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql.i386 0:5.0.77-4.el5_4.2 set to be updated
--> Processing Dependency: perl(DBI) for package: mysql
---> Package mysql.x86_64 0:5.0.77-4.el5_4.2 set to be updated
--> Running transaction check
---> Package perl-DBI.x86_64 0:1.52-2.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
mysql i386 5.0.77-4.el5_4.2 c5-media 4.8 M
mysql x86_64 5.0.77-4.el5_4.2 c5-media 4.8 M
Installing for dependencies:
perl-DBI x86_64 1.52-2.el5 c5-media 600 k
Transaction Summary
================================================================================
Install 3 Package(s)
Upgrade 0 Package(s)
Total download size: 10 M
Downloading Packages:
--------------------------------------------------------------------------------
Total 5.6 GB/s | 10 MB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : perl-DBI 1/3
Installing : mysql 2/3
Installing : mysql 3/3
Installed:
mysql.i386 0:5.0.77-4.el5_4.2 mysql.x86_64 0:5.0.77-4.el5_4.2
Dependency Installed:
perl-DBI.x86_64 0:1.52-2.el5
Complete!
[root@bogon yum.repos.d]#
测试成功。。。。。。