=====RedHat Repository===== ====Local Repository==== [[linux:redhat:Local-repo]] Instruction on setting up a local repo on a server in your local network using your DVD [[linux:redhat:repodata]] Details on how to create a local repository This downloads patches from RedHat Network [[https://access.redhat.com/solutions/328863 | redhat article on how to do this]] ====Updating an Repository==== Here is a script I have used to download patdches and to update the yum repository. This is for RHEL 6.4 #! /bin/bash date >> /root/Desktop/repoupdate.txt cd / reposync -p /mnt --repoid=rhel-x86_64-server-6.4.z -l echo "patches downloaded" >> /root/Desktop/repoupdate.txt cd /var/www/html/rhel64/ createrepo . echo "repo sync" >> /root/Desktop/repoupdate.txt echo "---------" >> /root/Desktop/repoupdate.txt