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
Second:
Under/etc/yum. repos. d, the content of the new file sjtuedu. repo is as follows:
[Sjtuedu]
Name = Fedora $ releasever-$ basearch-Updates
Baseurl = Signature/
Ftp://ftp.bupt.edu.cn/pub/#/fedora/linux/updates/?releasever/?basearch/
Ftp://ftp.bupt.edu.cn/pub/#/fedora/linux/updates/?releasever/srpms/
# Items list = http://mirrors.fedoraproject.org/mirrorlist? Repo = fedora-$ releasever & arch = $ basearch & country = us
Ftp://ftp3.tsinghua.edu.cn/#/livna/fedora/updates/?releasever/#basearch/
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.
Logon address:
Rpm.livna.org
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
Enjoy!
Source update:
Package repository for rpm.livna.org:
Rpm-ivh http://livna-dl.reloumirrors.net/livna-release.noarch.rpm
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/
Cd./axel/trunk
./Configure
Make & make install
Svn co http://cnfreesoft.googlecode.com/svn/trunk/axelget//etc/yum/axelget
Cd/etc/yum/pluginconf. d/
Ln-s/etc/yum/axelget. conf.
Cd/usr/lib/yum-plugins/
Ln-s/etc/yum/axelget. py.
If you use sudo to run yum, sh: axel: command not found appears in sudo.
Run the following command to solve the problem:
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.