Use Axel to accelerate yum in fedora 8

Source: Internet
Author: User
Tags gpg iweb

Use Axel to accelerate yum in fedora 8

Using Axel to accelerate yum in fedora 8 -- significantly streamlined and updated


1. A. Download and compile the axel source code package
Download the latest Axel source package, http://wilmer.gaast.net/main.php/axel.html to the following site

. Go to the download directory:
$ Tar zxvf file name
$ CD decompressed directory
$./Configure -- i18n = 1
$ Make
$ Make install

B. The axel RPM package is available on the download site. I have not tried it. If you are interested, please try it.

2. The agent version is updated to 78. For more information, seeWq1977 brothers' post -- about Yum's too slow solution
Create a folder:
SVN Co http://cnfreesoft.googlecode.com/svn/trunk/axelget/ <your_path>/axelget
After obtaining the file, set the file axelget. put conf in/etc/Yum/pluginconf. d/directory, set axelget. put py in/usr/lib/Yum-plugins/, or make a link. I haven't had time to try it. I wonder if the directory identification problem has been solved, if you are interested, try it. I have already tried it and it runs very well. It is recommended that you use it. The original plug-in is outdated and inconvenient to use. Therefore, the related configuration method has been deleted.

4. Notes:
1. if an error occurs and the axel command cannot be found, edit ~ /. Bash_profile, change path to the following:
Path = $ path: $ home/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin

2. At http://mirrors.fedoraproject.org/publiclist/fedora/?releasever/$
Basearch/query available servers, probably because of Fedora 8
Just released, so some servers have not opened updates. If you are prompted that this directory is not available, we recommend you change the server or wait for a while to try again.

3. optional. Because the fastestmirror plug-in often cannot accurately measure the source with the fastest download speed, we recommend that you add a baseurl based on network conditions. You can add or remove the following parameters. If you modify the parameters properly, you can maintain the fastest download speed for a long time.

Edit related repo files, fedora. Repo and fedora-updates.repo
Instead of using the image list, add the backup storage as follows:
# Fedora. Repo FileCode:

[Fedora]
Name = fedora $ releasever-$ basearch
Failovermethod = Priority
# Baseurl = Signature/
Baseurl =
Bytes/
Bytes/
Bytes/
Bytes/
Bytes/
Bytes/
Bytes/
Bytes/
Bytes/
Bytes/
Bytes/
Bytes/
Bytes/
Bytes/
Bytes/
Bytes/
Bytes/
Http://fedora.developer.iweb.ca/releases/?releasever/everything/?basearch/ OS/
Bytes/
Bytes/
Bytes/
Http://mirrors.kernel.org/fedora/releases/?releasever/everything/?basearch/ OS/
Bytes/
Bytes/
Bytes/
Bytes/
Bytes/
Bytes/
Bytes/


# Items list = http://mirrors.fedoraproject.org/mirrorlist? Repo = fedora-$ releasever & arch = $ basearch
Enabled = 1
Gpgcheck = 1
Gpgkey = file: // etc/pki/rpm-GPG-key-fedora file: // etc/pki/rpm-GPG/RPM-GPG-KEY

# Fedora-updates.repo file code:

[Updates]
Name = fedora $ releasever-$ basearch-Updates
Failovermethod = Priority
Baseurl =
Http://download.fedora.redhat.com/pub/fedora/linux/updates/?releasever/#basearch/
Bytes/
Http://mirrors.cat.pdx.edu/fedora/linux/updates/?releasever/?basearch/
Http://ftp.iij.ad.jp/pub/linux/fedora/updates/?releasever/?basearch/
Ftp://ftp.iij.ad.jp/pub/linux/fedora/updates/?releasever/?basearch/
Http://developer.aarnet.edu.au/pub/fedora/linux/updates/?releasever/?basearch/
Http://developer.internode.on.net/pub/fedora/linux/updates/?releasever/?basearch/
Http://gulus.usherbrooke.ca/pub/distro/fedora/linux/updates/?releasever/#basearch/
Http://developer.karneval.cz/pub/linux/fedora/linux/updates/?releasever/?basearch/
Bytes/
Http://ftp-stud.hs-esslingen.de/pub/fedora/linux/updates/?releasever/?basearch/
Http://fedora.tu-chemnitz.de/pub/linux/fedora/linux/updates/?releasever/?basearch/
Bytes/
Http://ftp.uni-bayreuth.de/linux/fedora/linux/updates/?releasever/?basearch/
Bytes/
Bytes/
Http://limestone.uoregon.edu/ftp/fedora/linux/updates/?releasever/#basearch/
Http://fedora.developer.iweb.ca/updates/?releasever/?basearch/
Ftp://ftp.cse.buffalo.edu/pub/linux/fedora/linux/updates/?releasever/?basearch/
Http://developer.cc.vt.edu/pub/fedora/linux/updates/?releasever/?basearch/
Bytes/
Http://mirrors.kernel.org/fedora/updates/?releasever/?basearch/
Http://www.gtlib.gatech.edu/pub/fedora.redhat/linux/updates/?releasever/#basearch/
Http://ftp.linux.ncsu.edu/pub/fedora/linux/updates/?releasever/?basearch/
Http://ftp.iij.ad.jp/pub/linux/fedora/updates/?releasever/?basearch/
Ftp://ftp.iij.ad.jp/pub/linux/fedora/updates/?releasever/?basearch/
Bytes/
Http://ftp.rhnet.is/pub/fedora/linux/updates/?releasever/?basearch/
Http://developer.pacific.net.au/linux/fedora/linux/updates/?releasever/?basearch/

# Items list = http://mirrors.fedoraproject.org/mirrorlist? Repo = updates-released-F $ releasever & arch = $ basearch
Enabled = 1
Gpgcheck = 1
Gpgkey = file: // etc/pki/rpm-GPG-key-Fedora

Or download the repo file attachment 44894, back up the original file, and overwrite

Note: All the server images here are obtained from the official website and filtered. I hope they will be useful to you, at the same time, it is recommended that you only select the servers with the most
speed for yourself. The first server of baseurl is absolutely usable and secure, but the speed is relatively average, 50-kb/s can be changed to a faster server based on your actual situation
.

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.