Portal Home > Knowledgebase > Articles Database > Local Yum Mirror
Local Yum Mirror
Posted by Awmusic12635, 01-17-2013, 12:29 AM |
Hello,
I am looking to create a local yum mirror that my other servers can connect to and have the latest packages avaliable.
I have found a couple ways to accomplish is, reposync, rsync etc.
My question is what method would you recommend , why, and how would it be implemented. Keep in mind the packages must always be up to date.
Thank you
|
Posted by ServerNinja, 01-17-2013, 02:36 AM |
I would recommend reposync tool to create the yum repository mirror. To ensure that the packages in the repository are of the new version, you could try repomanage tool as well.
Please run the following command to install the reposync/repomanage tools:
#yum install yum-utils
|
Posted by BestServerSupport, 01-17-2013, 10:30 AM |
In case, if you are using CentOS then you can refer following URL to setup your own local repository:
http://wiki.centos.org/HowTos/CreateLocalMirror
|
Posted by m4rc3, 01-17-2013, 02:25 PM |
You could use mrepo, https://github.com/dagwieers/mrepo
It's pretty easy to setup
|
Add to Favourites Print this Article
Also Read