User Tools

Site Tools


Sidebar

software:rhel_updating

update fetching

manual fetching

# register system
rhn_register --nox --proxy=1.2.3.4

yum -y install yum-utils

# sync updates
reposync -p /mnt        --repoid=rhel-x86_64-server-5 -l
reposync -p /mnt        --repoid=rhel-x86_64-server-vt-5 -l
reposync -p /mnt        --repoid=rhn-tools-rhel-x86_64-server-5 -l

mkdir -p /mnt/createrepo_cache
createrepo -c /mnt/createrepo_cache /mnt

# export resulting directory via yum
software/rhel_updating.txt ยท Last modified: 2015/08/11 20:32 (external edit)