Next: 21 Miscellaneous Services
Up: Redhat FAQ
Previous: 19 InstallingTomcat
Contents
Subsections
- If necessary create a directory structure
$ sudo mkdir -p /var/krud/fc3
- Insert CD
- Mount it
$ sudo mount /mnt/cdrom
- Copy the RPMS files. Use the release date as a target. For
example:
$ sudo rsync -vaP /mnt/cdrom/Fedora /var/krud/fc3/2005-02
- Eject CD
$ sudo eject
- Repeat from from Step 2 for each CD
- Create a package symlink
$ cd /var/krud/fc3
$ sudo ln -sf 2005-01 Fedora
- If this is the first time:
$ sudo ln -sf Fedora/RPMS core
- create the headers (this takes a few minutes)
$ cd core
$ sudo mkdir headers
$ sudo yum-arch .
- FC 3 changed the format for the headers so ue createrepo instead
$ cd core
$ sudo createrepo .
- Make sure /var/krud is acessible via http
$ sudo ln -sf /var/krud /var/www/html/krud
- Log onto the machine to be updated
- If necessary, edit /etc/yum.repos.d/fedora.repo to add krud/fc3/core
as a repository for [base]
baseurl=http://<server>/krud/fc3/core
- Change the Enabled = to 0 in any files not needed.
- Begin interactive update
$ sudo yum update .
- Or a non-interactive update
$ sudo yum -y update .
Next: 21 Miscellaneous Services
Up: Redhat FAQ
Previous: 19 InstallingTomcat
Contents
2005-03-20