Fedora Perfect configuration Yum update source

Source: Internet
Author: User
Tags gpg

In order to facilitate later linuxer, special leave this document for posterity, and thank all the predecessors of the handwriting.
  
1, add rpm fusion source

RPM-IVH http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http:// download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

2, import the RPM Fusion warehouse key

RPM--import Http://ATrpms.net/RPM-GPG-KEY.atrpms
 
3. Modify key File

Gedit/etc/yum.conf

Add the following lines to the end of the open file:

[Atrpms]
Name=fedora Core $releasever-$basearch-atrpms
baseurl=http://dl.atrpms.net/f$releasever-$basearch/atrpms/stable
Gpgkey=http://atrpms.net/rpm-gpg-key.atrpms
Gpgcheck=1

Note: Do not have spaces between rows and rows
  
4. Add Adobe software warehouse and import key

Add Adobe software warehouse and import key

32-bit
RPM-IVH http://linuxdownload.adobe.com/linux/i386/adobe-release-i386-1.0-1.noarch.rpm

64-bit

RPM-IVH http://linuxdownload.adobe.com/linux/x86_64/adobe-release-x86_64-1.0-1.noarch.rpm
RPM--import/etc/pki/rpm-gpg/rpm-gpg-key-adobe-linux
  
5, add the Yum source of Shanghai Jiaotong University

Vim/etc/yum.repos.d/sjtu.repo #不喜欢用vim, please use gedit.

Add the following line to the open file:

[Fedora]

Name=fedora $releasever-$basearch
Failovermethod=priority
baseurl=ftp://openware.byr.edu.cn/pub/mirror/fedora/linux/releases/$releasever/everything/$basearch/os/
http://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/everything/$basearch/os/
ftp://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/everything/$basearch/os/
ftp://ftp.cuhk.edu.hk/pub/Linux/fedora/releases/$releasever/everything/$basearch/os/
Enabled=1
Gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-fedora-$basearch
[Updates]
Name=fedora $releasever-$basearch-updates
Failovermethod=priority
baseurl=ftp://openware.byr.edu.cn/pub/mirror/fedora/linux/updates/$releasever/$basearch/
http://ftp.sjtu.edu.cn/fedora/linux/updates/$releasever/$basearch/
ftp://ftp.cuhk.edu.hk/pub/Linux/fedora/updates/$releasever/$basearch/
Enabled=1
Gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-fedora-$basearch

Then save the exit.

6, add Sohu Mirror source

Domestic open source mirror source Also on the Sohu, 163 and Shanghai Jiaotong University that a few, speed or is faster than foreign, we have to do their own to replace Fedora upgrade source it;

The first step: Download Fedora-sohu.repo and Fedora-updates-sohu.repo, put it in the/etc/yum.repos.d/folder,

Step two: Run Yum makecache build cache; So you can use it, OK.


  
7. Update cache

Yum Makecache

#切换到/ETC/YUM.REPOS.D directory, control the link is not on the display, will be linked to the Yum source deleted, Yum Source has a right, the extra is not the source of the Yum to use.

  
8, update the Yum plugin to speed up the download

Yum Install Yum-presto-y

Yum-y Install Yum-fastestmirror

  
9. Install Axel Plugin

This plugin allows Yum to download files in multiple threads to achieve faster speeds

Yum Install Axel

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.