添加源:
我添加了两个
[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 中添加源并设置自动选择最快的源
相关推荐
- 高性价比独立服务器:月费28美元起,标配12TB硬盘、IPMI及双倍内存与带宽。
- ** 美国西海岸专用服务器 @ E3/E5 起,配备 32GB RAM 30 美元/月 **
- ★ PSYCHZ NETWORKS ★ – 10Gbps 不限流量服务器闪电战
- 每年 99 美元:通过 Metal+ 获得折扣升级和更多网络福利 |专用服务器
- ★ PSYCHZ NETWORKS ★ – 10Gbps 不限流量服务器闪电战
- ★ PSYCHZ NETWORKS ★ – 10Gbps 不限流量服务器闪电战
- *改变游戏规则的主机 █ 100Gbps 上行链路 █ 企业级 NVMe █ 白金 CPU █ 未计量
- *完全托管的安全 cPanel/DirectAdmin/Enhance 服务器 – 亚洲|欧洲 |美国
服务器评测





