![]() All the downloaded packages will be inside this directory. In the targeted directory, there will be a new directory named after the Repository ID. # reposync -gpgcheck -l -repoid=rhel-6-server-rpms -download_path=/var/www/html Sync all the packages from a specified repository to a specified directory # reposync -gpgcheck -l -repoid= Note: Change to the repository you intend to sync Install the yum-utils and createrepo packages on the registered system. Modify repodata to identify which packages are security related.Create a repository that allows clients to install groups. ![]() # modifyrepo /var/repo/rhel-5-server-els-rpms/repodata/updateinfo.xml /var/repo/rhel-5-server-els-rpms/repodata/ # cp updateinfo.xml /var/repo/rhel-5-server-els-rpms/repodata/ # mv /var/cache/yum/rhel-5-server-els-rpms/ /tmp # find /var/cache/yum/ -name *updateinfo.xml* # createrepo -v /var/repo/rhel-5-server-els-rpms # reposync -gpgcheck -l -repoid=rhel-5-server-els-rpms -download_path=/var/repo -downloadcomps Need to download all packages / rpms from specific channel locallyįor RHEL 8 and 9 refer How to create a local mirror of the latest update for Red Hat Enterprise Linux 8 and 9 without using Satellite server?. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |