Fedora

Fedora at CSE

This page provides information useful if you are running Fedora at CSE.

Installation Media

You can get the Fedora installation CD/DVD media on the CSE Mirror (Note about DVD images on the mirror). Just follow the link to the latest version (currently 14), architecture (probably i386), then iso for CD images. For installation, we recommend that you peruse the official installation guide, which can be found at http://fedora.redhat.com/ and following the "Documentation" link. We also provide some basic instructions to help get you started with this machine at CSE. We also mirror the Linux documentation Project.

Updates and Maintenance

There are a couple of different common package management options for Fedora.

APT

We recommend that you point your apt sources at our mirror. This way you get all the latest updates without costing you any IPQ! Here's a sample configuration for your /etc/apt/sources.list file. Note that you may need to change 4 to another number if you're running a different release. # /etc/apt/sources.list for Fedora core 5 using CSE's mirror rpm http://mirror.cse.unsw.edu.au/pub/fedora 5/i386 os updates stable rpm-src http://mirror.cse.unsw.edu.au/pub/fedora 5/i386 os updates stable (Note: This example hasn't been tested. Please let ss@cse know if it works (or not) for you!).

YUM

Configure Yum to load updates from the CSE mirror

By default, yum is configured to use package archives located on mirror servers outside of UNSW. So, before doing any updates we recommend the following change to point to the CSE mirror. yum's package archive configuration files are contained in the directory /etc/yum.repos.d. In this directory you'll find a file called fedora-updates.repo. Using your favourite editor edit the first baseurl and mirrorlist lines. Put a # at the beginning of the mirrorlist line to make yum ignore it. Change the baseurl line to this: baseurl=http://mirror.cse.unsw.edu.au/pub/fedora-updates/$releasever/$basearch/ These changes will point yum to CSE's mirror for updates.

Running Yum to update packages

Next, in a Terminal window (Applications--Terminal), run "yum -y update". This will install all the most recent Fedora updates for your computer. Write this command down somewhere convenient and run it at regular intervals, like weekly, to ensure that your computer has all the latest patches. It's usually wise to reboot your computer after each update to ensure that new and patched libraries and services are restarted. Do so now. After this your computer is all ready for you.

Automatic updates with yum

You can use cron to configure your computer to run yum and install updates automatically. To do this log in to your computer as root and run crontab -e in a terminal window to edit root's existing crontab. Usually vi is root's default editor, if you prefer another editor you will have to set and export $EDITOR. Add a line similar to the following to the crontab and then save it: 30 3 * * 0 yum -y update This will run yum to install the updates at 3:30AM each Sunday morning. Your computer must be left on at this time for this to work. If you want to set another time for the update, consult the manpage with man 5 crontab.

Support

You may find help at the SupportForum. COMPSOC may also provide help with problems if you ask nicely. Externally, there's the official Fedora documentation and the Unofficial Fedora FAQ.

Installation Guidance

You can find a separate guide with specific details for configuring and operating your Fedora Core 5 installation here at CSE at the URL below. It includes how to configure printing to CSE's printers, how to access your CSE home directory via the network, and how to use CSE's own mirror server to install updates and patches. Installing Fedora (being constructed from) http://www.cse.unsw.edu.au/~csg/installing_fedora_5_at_cse/
Last edited by Kam Hoong Cheong 11/04/2011

Tags for this page:

fedora, linux, distro