Hello guy
Could you tell me if there is a tool in the RedHat/Centos World where we can import/mirror External Repositories? In Ubuntu there is the apt-mirror tool where you can mirror external repositories(not the only ones provided by Canonical).
I've just read the command reposync but it is seem valid only to mirror the offcial repo, not generic one(ie mirroriring the webmin repos). Is it correct? or i'm wrong.
The Idea is to build a Repo Server(Ubuntu - RedHat -Centos) Internally...
Any Advice
mirror external repositories
Re: mirror external repositories
You can use reposync for any repo that is configured on your system. You can also use rsync which has the benefit - if you are mirroring the entire repo - of not needing to run createrepo afterwards as it will also pull down the metadata from the remote repo.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: mirror external repositories
You can use reposync to mirror any repository you have installed. reposync --repoid=whatever --download_path=/some/where
Re: mirror external repositories
The -n flag is useful as well. Only takes the latest version.
Re: mirror external repositories
TANKS Guys!!!.....i can also sync ubuntu Repos?
Re: mirror external repositories
i was trying some tentative but no success so i will ask again your help. If i want to mirror locally this repos
What i need to to run with reposync
Code: Select all
[Webmin]
name=Webmin Distribution Neutral
[b]#baseurl=http://download.webmin.com/download/yum[/b]
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1
Re: mirror external repositories
I wrote this a while ago, but it's still very applicable to your question: http://nuxref.com/2016/10/06/hosting-rpm-repository/