LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices

Reply
 
LinkBack Search this Thread
Old 11-13-2004, 08:12 AM   #1
yeehi
Member
 
Registered: May 2004
Distribution: Debian Wheezy, Parabola, Trisquel
Posts: 78

Rep: Reputation: 15
How do I configure yum for local mirrors


I want to use local mirrors because it is a LOT faster, I hear.
However, in the examples I have seen i can't follow how they derive the repository details from what is listed as a mirror.

For example, for people in the west coast in america i see this listed as a mirror:

ftp://limestone.uoregon.edu/fedora/

But somehow from the above they derive the folowing to type into a yum.conf :

http://limestone.uoregon.edu/ftp/fedora/3/$ARCH/os/

My question:

What do I type for a japanese mirror?
How is this derived?

PS, should I not include DAG and freshrpms as repositories if i am using fedoraus too?
 
Old 11-13-2004, 08:43 AM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 46
Start by clicking over to the mirror list... << http://fedora.redhat.com/download/mirrors.html >>.

Scroll down to "Asia/Pacific" / "Japan".

Click one of the mirror links... << http://ftp.kddilabs.jp/Linux/packages/fedora/core/ >>.

Click the version number you have; "1", "2", or "3".

Click the architechture you have; "i386" or "x86_64".

Click "OS".

You should now be in the base directory. You can copy the full address into your yum.conf file. You don't need to use the $ARCH and $VERSION variables in your listings.

You'll also want to go back to the original mirror link, and do the same, but clicking "updates" first, then the version number and architechture. This will give you the address to put into yum.conf to get the updates.
 
Old 11-13-2004, 08:57 AM   #3
yeehi
Member
 
Registered: May 2004
Distribution: Debian Wheezy, Parabola, Trisquel
Posts: 78

Original Poster
Rep: Reputation: 15
Ranger Nemo, thank you so much for helping me so soon.

I followed your instructions but I still can't understand what to type in the yum.conf because I can't make the leap from

You should now be in the base directory. You can copy the full address into your yum.conf file.

to what i paste into yum.conf. Also there are some other lines that i need to include in yum.conf, eg. the name of the repository and I can't see where i find that.

When I go through the tree again clicking updates first i end up without finding an os folder and so i don't know what url to use.

I am sorry to ask but could you or somebody please paste in what I would use to add the kdd repository at:

http://ftp.kddilabs.jp/Linux/packages/fedora/core/
 
Old 11-13-2004, 08:45 PM   #4
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 46
Code:
[fc2-base]
name=Fedora Core 2 -- Base RPMs
baseurl=http://ftp.kddilabs.jp/Linux/packages/fedora/core/2/i386/os
        ftp://ftp.kddilabs.jp/Linux/packages/fedora/core/2/i386/os
        ftp://ftp.sfc.wide.ad.jp/pub/Linux/Fedora/2/i386/os
        ftp://ftp.riken.go.jp/pub/Linux/fedora/core/2/i386/os

[fc2-updates]
name=Fedora Core 2 -- Updated RPMs
baseurl=http://ftp.kddilabs.jp/Linux/packages/fedora/core/updates/2/i386
        ftp://ftp.kddilabs.jp/Linux/packages/fedora/core/updates/2/i386
        ftp://ftp.sfc.wide.ad.jp/pub/Linux/Fedora/updates/2/i386
        ftp://ftp.riken.go.jp/pub/Linux/fedora/core/updates/2/i386
Since you have FC2 listed, that's what I used above. If that's not right, change the /2/ to /1/ or /3/ , depending on what version you have.

I added the other Japan sites as roll-over repos... If you run yum and it can't reach the first site, it will roll-over to the second, then the next if need-be, and so on. You can add more, or remove some, if you want.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Do I need to add mirrors/repos to yum? Virp00 Fedora 4 03-14-2005 08:04 PM
FC3 Yum/Apt Mirrors Cypionate Fedora 7 11-14-2004 03:41 AM
Your Fedora Core 3 yum.conf using mirrors yeehi Fedora - Installation 0 11-13-2004 09:25 AM
Where are alternative FC2 mirrors for yum? Schmurff Fedora 1 09-29-2004 09:21 AM
Fedora Core 2 yum Mirrors? Zaskar Fedora 3 02-27-2004 01:51 AM


All times are GMT -5. The time now is 04:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration