One thing he could have added...

Story: The Perfect Desktop - Fedora 7Total Replies: 1
Author Content
bigg

Jun 03, 2007
8:32 AM EDT
One thing to do after installing Fedora is adding mirrors. Otherwise, in my limited experience, adding/updating software is VERY slow.

I'm still trying to figure this out myself. I normally use Debian, but Fedora 7 is beautiful and it is the only distribution I have found that correctly identifies all the hardware on my wife's laptop and gives 21st century fonts at 1280x800 out of the box. At least with Fedora she will stop using Vista for internet commerce.

I don't know who this Falko guy is, but my thanks to him for putting together some good how-to's.
Aladdin_Sane

Jun 03, 2007
8:56 AM EDT
On recent Fedora or RHEL=>5, the mirrors are supported by YUM.

Here is my /etc/yum.repos.d/ directory for Fedora Core 6:

-rw-r--r-- 1 root root 558 May 30 04:56 atrpms.repo -rw-r--r-- 1 root root 1.1K Oct 15 2006 fedora-core.repo -rw-r--r-- 1 root root 1.8K Jan 9 16:33 fedora-development.repo -rw-r--r-- 1 root root 1.5K Oct 15 2006 fedora-extras-development.repo -rw-r--r-- 1 root root 981 Oct 15 2006 fedora-extras.repo -rw-r--r-- 1 root root 517 Oct 15 2006 fedora-legacy.repo -rw-r--r-- 1 root root 1.1K Jan 22 11:28 fedora-updates.repo -rw-r--r-- 1 root root 1.1K Oct 15 2006 fedora-updates-testing.repo -rw-r--r-- 1 root root 219 Dec 24 01:20 freshrpms.repo -rw-r--r-- 1 root root 1.9K Oct 15 2006 livna-devel.repo -rw-r--r-- 1 root root 1.8K Oct 15 2006 livna.repo -rw-r--r-- 1 root root 2.0K Oct 15 2006 livna-testing.repo -rw-r--r-- 1 root root 411 Dec 24 01:12 rpmforge.repo

Now, here is a sample .repo file, fedora-core.repo:

[core] name=Fedora Core $releasever - $basearch #baseurl= http://download.fedora.redhat.com/pub/fedora/linux/core/$rel... mirrorlist= http://mirrors.fedoraproject.org/mirrorlist?repo=core-$relea... enabled=1 gpgcheck=1 gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-debuginfo] name=Fedora Core $releasever - $basearch - Debug #baseurl= http://download.fedora.redhat.com/pub/fedora/linux/core/$rel... mirrorlist= http://mirrors.fedoraproject.org/mirrorlist?repo=core-debug-... enabled=0 gpgcheck=1 gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-source] name=Fedora Core $releasever - Source #baseurl= http://download.fedora.redhat.com/pub/fedora/linux/core/$rel... mirrorlist= http://mirrors.fedoraproject.org/mirrorlist?repo=core-source... enabled=0 gpgcheck=1 gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

(NOTE: This post will re-format the newlines improperly and cause other bad weirdness compared to my exact file.)

While Fedora 7 will be a bit different since core and extras merged, the "mirrorlist" parameter takes care of the mirrors needs.

YUM also has a plugin to determine the fastest mirror: I hate it because it seems like the fastest is also the most likely to be down when I want/need it.

Posting in this forum is limited to members of the group: [ForumMods, SITEADMINS, MEMBERS.]

Becoming a member of LXer is easy and free. Join Us!