Last active
August 29, 2015 13:58
-
-
Save andrewkroh/10339105 to your computer and use it in GitHub Desktop.
How can we regularly update the system without internet connection?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://access.redhat.com/site/solutions/29269 | |
# register the system that is connected to RHN, directly or using a http proxy: | |
rhn_register --nox --proxy=1.2.3.4 | |
# or use | |
subscription-manager register --user --password --auto-allow ? | |
# sync updates from channels | |
reposync -p /somedir --repoid=rhel-x86_64-server-5 -l | |
createrepo /somdir | |
tar czf repo.tgz /somedir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment