next up previous contents
Next: 21 Miscellaneous Services Up: Redhat FAQ Previous: 19 InstallingTomcat   Contents

Subsections

20 KRUD Updates

20.1 Updates using yum and NFS

  1. If necessary create a directory structure
    $ sudo mkdir -p /var/krud/fc3
  2. Insert CD
  3. Mount it
    $ sudo mount /mnt/cdrom
  4. Copy the RPMS files. Use the release date as a target. For example: 
    $ sudo rsync -vaP /mnt/cdrom/Fedora /var/krud/fc3/2005-02
  5. Eject CD
    $ sudo eject
  6. Repeat from from Step 2 for each CD
  7. Create a package symlink
    $ cd /var/krud/fc3 
    $ sudo ln -sf 2005-01 Fedora
  8. If this is the first time: 
    $ sudo ln -sf Fedora/RPMS core
  9. create the headers (this takes a few minutes) 
    $ cd core 
    $ sudo mkdir headers 
    $ sudo yum-arch .
  10. FC 3 changed the format for the headers so ue createrepo instead
    $ cd core 
    $ sudo createrepo .
  11. Make sure /var/krud is acessible via http
    $ sudo ln -sf /var/krud /var/www/html/krud

20.1.1 Updating

  1. Log onto the machine to be updated

    1. 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
    2. Change the Enabled = to 0 in any files not needed.
  2. Begin interactive update
    $ sudo yum update .
  3. Or a non-interactive update
    $ sudo yum -y update .


next up previous contents
Next: 21 Miscellaneous Services Up: Redhat FAQ Previous: 19 InstallingTomcat   Contents
2005-03-20