文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>f7 中添加源和设置自动选择最快的源

f7 中添加源和设置自动选择最快的源

时间:2007-06-09  来源:hebehe

添加源:
    我添加了两个
    [root@localhost ~]# rpm -ivh http://rpm.livna.org/livna-release-7.rpm
Retrieving http://rpm.livna.org/livna-release-7.rpm
warning: /var/tmp/rpm-xfer.LCJ57g: Header V3 DSA signature: NOKEY, key ID a109b1ec
Preparing...                ########################################### [100%]
   1:livna-release          ########################################### [100%]
[root@localhost ~]# rpm -ivh http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/7/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm
Retrieving http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/7/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm
warning: /var/tmp/rpm-xfer.8mtNEd: Header V3 DSA signature: NOKEY, key ID e42d547b
Preparing...                ########################################### [100%]
   1:freshrpms-release      ########################################### [100%]
[root@localhost ~]#

设置自动选择最快的源:
    [root@localhost ~]# yum install yum-fastestmirror
Loading "installonlyn" plugin
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package yum-fastestmirror.noarch 0:1.1.4-1.fc7 set to be updated

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 yum-fastestmirror       noarch     1.1.4-1.fc7      fedora             11 k

Transaction Summary
=============================================================================
Install      1 Package(s)        
Update       0 Package(s)        
Remove       0 Package(s)        

Total download size: 11 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): yum-fastestmirror- 100% |=========================|  11 kB    00:02    
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Importing GPG key 0x4F2A6FD2 "Fedora Project <[email protected]>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
Is this ok [y/N]: y
Importing GPG key 0xDB42A60E "Red Hat, Inc <[email protected]>" from /etc/pki/rpm-gpg/RPM-GPG-KEY
Is this ok [y/N]: y
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: yum-fastestmirror            ######################### [1/1]

Installed: yum-fastestmirror.noarch 0:1.1.4-1.fc7
Complete!
[root@localhost ~]#
相关阅读 更多 +
排行榜 更多 +
ACP题库

ACP题库

学习教育 下载
浩量悦读

浩量悦读

浏览阅读 下载
闪创教育

闪创教育

学习教育 下载