Maintaining Yum Repo

From HyperSecurity Wiki
Jump to: navigation, search
  1. Login to Yum Repository Box:
    • ssh repo.hypersecuresolutions.com
  2. To force updates use the following command:
    • up2date -u
  3. Once logged in, type the following to copy over new RPM's to /var/www/html/rhel4/rhel/4/i386:
    • cp -u /var/spool/up2date/*.rpm /var/www/html/rhel4/rhel/4/i386
  4. Then type the following to updated yum archive:
    • yum-arch /var/www/html/rhel4/rhel/4/i386
  5. Thats it. Finish updating.