添加源:
我添加了两个
[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/fre … 1.1-1.fc.noarch.rpm
Retrieving http://ftp.freshrpms.net/pub/fre … 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 <fedora@RedHat.com>” from /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
Is this ok [y/N]: y
Importing GPG key 0xDB42A60E “Red Hat, Inc <security@redhat.com>” 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 ~]#
F7 中添加源并设置自动选择最快的源
转载请注明出处:服务器评测 » F7 中添加源并设置自动选择最快的源