添加源:
我添加了两个
[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 中添加源并设置自动选择最快的源
相关推荐
- *MechanicWeb:美国/欧洲/英国/亚太地区 – Ryzen 9950X托管和非托管 – 特别折扣 |10 Gbps
- ♥ HPC 特价:EGI 托管 CA – 44 核 – 512GB RAM – 1Gbps 无限 ♥ 8TB SSD ♥
- *██ Ryzen 9 9950X 192G NVMe █ L.A. R7s, R9s Xeon GOLDs █ 免费升级!█ 25G 端口 ██ $34
- *IOFLOOD.com █ LOOK █ 全新每日低价 █
- ♥ HPC 特价:EGI 托管 CA – 44 核 – 512GB RAM – 1Gbps 无限 ♥ 8TB SSD ♥
- *便宜的专用服务器 ★ 起价@ $28/M ★ 12TB磁盘促销 ★ IPMI ★ 双RAM & XFER!
- ★ KnownHost ★ 限时专用服务器优惠!★★WHT 独家★★
- ★ PSYCHZ NETWORKS ★ – 10Gbps 无限流量服务器闪电战