rha.uwaterloo.ca
or mirror.cscf.uwaterloo.ca
. See also attached files (scroll to the bottom) for some example yum repo files.
The simplest approach (as of Fedora Core 4) is to put the following in /etc/yum.repos.d/fedora-updates.repo
[updates-released] name=Fedora Core $releasever - $basearch - Released Updates baseurl=ftp://mirror.cscf.uwaterloo.ca/fedora/linux/core/updates/$releasever/$basearch enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedoraand the following in
/etc/yum.repos.d/fedora-extras.repo
[extras] name=Fedora Extras $releasever - $basearch baseurl=ftp://mirror.cscf.uwaterloo.ca/fedora-linux-extras/$releasever/$basearch enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras gpgcheck=1According to your preferences, all related repositories can be grouped into a single file.
Older versions of Fedora Core use a single /etc/yum.conf
file.
Sample yum.conf
using local repositories at rha.uwaterloo.ca
:
[main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 [Local-base] name=Red Hat Linux $releasever - $basearch - UW Base baseurl=http://rha.uwaterloo.ca/linux/RedHat-distros/$releasever/Fedora/RPMS [Local-updates] name=Red Hat Linux $releasever - UW Updates baseurl=http://rha.uwaterloo.ca/linux/RedHat-updates/$releasever/ # Broken at least as of 10 February 2005 #[Local-addons] #name=UW-isms repository #baseurl=http://rha.uwaterloo.ca/yum ##EXTRA repositories #[dag] #name=Dag RPM Repository for Fedora Core #baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag
Certain Debian afficionados (who are suspected granola and bean sprout munchers) are, for technical reasons, of the humble opinion that yum sucks, despite its ease of use for the non-specialist. One can do yum install apt
with the above yum.conf, and get yummy apt. Try the following in /etc/apt/sources.list
:
rpm http://redhat-archive.uwaterloo.ca/apt fedora/3/i386 os updates uw
where the digit fedora/3
matches your FC release. One can get brave and try upgrading a system in-place by incrementing this digit. (Decrementing it is not at all recommended.) After that, you can pretend it's a Debian system that uses rpm.
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co madwifi cd madwifi make clean make sudo make install modprobe ath_pci
You may have difficulty with Apache if you've enabled Selinux. I found that system-config-securitylevel
was somewhat counterintuitive in that if you check everything under the httpd dropdown, it won't work as expected. Rather, just check "Disable selinux for httpd" and leave it at that. That's probably not very safe, but it seems to let everything Just Work, anyway. For light-duty workstations, is selinux really best anyway? See attached image.
I | Attachment | History | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|---|
![]() |
selinux_httpd.png | r1 | manage | 35.5 K | 2005-03-07 - 15:16 | MikePatterson | What selinux control panel looks like with httpd working |
![]() |
yum.conf.uber | r1 | manage | 0.6 K | 2004-08-18 - 19:39 | MikePatterson | uber's yum.conf as of June 2004 |
![]() |
yum_repos_FC5.tgz | r1 | manage | 1.4 K | 2006-09-19 - 10:18 | MikePatterson | Untar from /etc to use mirror.cs for your YUM repos in FC5 |