快速业务通道

Linux全攻略--yum服务器配置

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-05-16
local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package dhcp.i386 12:3.0.5-3.el5 set to be updated
---> Package dhcpv6.i386 0:0.10-33.el5 set to be updated
---> Package dhcpv6_client.i386 0:0.10-33.el5 set to be updated
---> Package dhcp-devel.i386 12:3.0.5-3.el5 set to be updated
--> Running transaction check Dependencies Resolved =============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
dhcp i386 12:3.0.5-3.el5 /var/ftp/pub/Server/dhcp-3.0.5-3.el5.i386.rpm 2.1 M
dhcp-devel i386 12:3.0.5-3.el5 /var/ftp/pub/Server/dhcp-devel-3.0.5-3.el5.i386.rpm 1.4 M
dhcpv6 i386 0.10-33.el5 /var/ftp/pub/Server/dhcpv6-0.10-33.el5.i386.rpm 759 k
dhcpv6_client i386 0.10-33.el5 /var/ftp/pub/Server/dhcpv6_client-0.10-33.el5.i386.rpm 161 k Transaction Summary
=============================================================================
Install 4 Package(s)
Update 0 Package(s)
Remove 0 Package(s) Total download size: 4.4 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: dhcp ######################### [1/4]
Installing: dhcpv6 ######################### [2/4]
Installing: dhcpv6_client ######################### [3/4]
Installing: dhcp-devel ######################### [4/4] Installed: dhcp.i386 12:3.0.5-3.el5 dhcp-devel.i386 12:3.0.5-3.el5 dhcpv6.i386 0:0.10-33.el5 dhcpv6_client.i386 0:0.10-33.el5
Complete!
[root@rhel5 /]#
3.yum update 全部更新 [root@rhel5 /]# yum update
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
No Packages marked for Update/Obsoletion
4.yum update package 更新指定程序包package
5.yum check-update
[root@rhel5 /]# yum check-update
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up repositories
Reading repository metadata in from local filesck-update
6.yum info <package> 显示安装包信息
7.yum list 显示所有已经安装和可以安装的程序包
8.yum list <package> 显示指定程序包安装情况
9.yum search <keyword>查找软件包
[root@rhel5 /]# yum search "dhcp*"
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up repositories
Reading repository metadata in from local files dhcpv6_client.i386 0.10-33.el5 installed

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号