Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
Add fedora yum source in China ~ All ~ Accelerate your download speed-general Linux technology-Linux technology and application information. For more information, see the following. Foreign yum sources are very slow, and there are good sources in China, so it is best to set up the source in China, the best in China are beiyou, Tsinghua, and Shanghai Jiaotong University.
The procedure is as follows:
First, install the yum-fastestmirror plug-in and select the fastest source automatically.
# Yum install yum-fastestmirror-y
Under/etc/yum. repos. d, the content of the new file sjtuedu. repo is as follows:
Name = Fedora $ releasever-$ basearch-Updates
Baseurl = Signature/
# Items list = http://mirrors.fedoraproject.org/mirrorlist? Repo = fedora-$ releasever & arch = $ basearch & country = us
Enabled = 1
Gpgcheck = 1
Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file: // etc/pki/rpm-gpg/RPM-GPG-KEY file: // etc/pki/rpm-gpg/RPM-LIVNA-GPG-KEY
This RPM-LIVNA-GPG-KEY file is placed under/etc/pki/rpm-gpg/, the content can be
Ftp://ftp3.tsinghua.edu.cn/#/livnacan be downloaded.
While the RPM-GPG-KEY file in/etc/pki/rpm-gpg/, content in ftp://ftp.sjtu.edu.cn/freshrpmscan be found, but will cover the original, there is no relationship.
However, beiyou does not seem to need a KEY.
Now everything is OK.
Run the following command on the terminal,
Yum install fuse
It was very fast.
Sometimes it is prompted that there is a problem with the newly created file. You need to use a url such as http and ftp to carefully check your own file. Generally, there is no problem.
Modify the update source of fedora:
Then modify the two files.
# Gedit fedora. repo
After a text editor is displayed, delete all content. Replace it with the following content. You can also streamline the solution to the fastest source based on your own network speed.
Now YUM is basically OK. It is best to add a LIVNA source. The update speed has always been good.
You can manually create livna. repo or directly download the RPM package for installation.
Here I use the RPM package. The reason is convenience.
Select FC8 directly.
This is the file that will be automatically downloaded to the directory where your User File A is downloaded. You can delete it if you do not need it.
1. Add a large source for submission
Even if the yum-fastmirror plug-in is installed, is the update speed of Fedora 10 still unsatisfactory? Add the Fedora software warehouse of Shanghai Jiao Tong University in China! It is especially suitable for CERNET users.
Create a file with gedit and name it "sjtu. repo" (excluding quotation marks). The file content is as follows:
After this is done, cd is saved to the directory where you saved sjtu. repo, cp it to the/etc/yum. repos. d/directory, and re-create the yum cache.
# Cp sjtu. repo/etc/yum. repos. d
# Yum makecache
Package repository for rpm.livna.org:
Freshrpms.net package Repository:
Rpm? Ivh http://ftp.freshrpms.net/pub/fre... se-1.2-1.noarch.rpm
Update: fixed the case-sensitivity error in the above repo file. Felix of OwnLinux mentioned in today's article how to add the software warehouse of Shanghai Jiao Tong University, install yum-fastestmirror and axel Acceleration plug-in, which will greatly improve the download speed of Yum under Fedora 10, for more information, see.
Appendix axel usage:
Before you start, make sure that you have installed the following software to complete the installation.
Run the following command:
Yum-y install gcc make subversion
After yum makecache is executed
Run the following commands in sequence:
Yum-y install yum-fastestmirror
Svn co svn: // svn.debian.org/svn/axel/
Make & make install
Svn co http://cnfreesoft.googlecode.com/svn/trunk/axelget//etc/yum/axelget
If you use sudo to run yum, sh: axel: command not found appears in sudo.
Run the following command to solve the problem:
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
reliability of the article or any translations thereof. If you have any concerns or complaints relating to the article, please send an email, providing a detailed description of the concern or
complaint, to firstname.lastname@example.org. A staff member will contact you within 5 working days. Once verified, infringing content will be removed immediately.
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:
and provide relevant evidence. A staff member will contact you within 5 working days.