Re: CentOS are Debian / Ubuntu mirror

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



At Mon, 19 Apr 2021 14:25:33 +0200 CentOS mailing list <centos@xxxxxxxxxx> wrote:

> 
> Thank you. This at least point me in the right direction. I don't quite
> want to setup 2 servers, or 2 VM's for this.
> 

Sure, of course.  I had the VM already setup for other reasons, so it was just 
easy to do "apt install debmirror" rather than chase down a debmirror 
tarball...  I'm sure a debmirror tarball is out there somewhere.  There might 
even be a debmirror RPM even...

> 
> On Mon, Apr 19, 2021 at 2:03 PM Robert Heller <heller@xxxxxxxxxxxx> wrote:
> 
> > At Mon, 19 Apr 2021 08:55:54 +0200 CentOS mailing list <centos@xxxxxxxxxx>
> > wrote:
> >
> > >
> > > Hi,
> > >
> > > Does anyone have some instructions on setting up a CentOS server as
> > mirror
> > > for Debian and Ubuntu distributions? I already setup a YUM mirror and
> > this
> > > works fairly well, but cannot seem to figure out how to mirror Debian and
> > > Ubuntu repositories.
> >
> > You need to grab a copy of debmirror, which is just a Perl script, so it
> > should work under CentOS. I don't know where to get a version as a tarball
> > --
> > I had an available VM running Ubuntu and just installed it there and NFS
> > mounted the mirror disk from the CentOS server. There is a config file for
> > debmirror to control where you mirror from and just what you mirror
> > (versions,
> > arches, etc.). There is a man page and and example config file.  You then
> > run
> > debmirror from crontab (eg every day).
> >
> > Unfortunately, the Debian flavor repositories are not structured to just
> > be
> > rsync'ed like the CentOS repositories.
> >
> > >
> > >
> > >
> >
> > --
> > Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
> > Deepwoods Software        -- Custom Software Services
> > http://www.deepsoft.com/  -- Linux Administration Services
> > heller@xxxxxxxxxxxx       -- Webhosting Services
> >
> > _______________________________________________
> > CentOS mailing list
> > CentOS@xxxxxxxxxx
> > https://lists.centos.org/mailman/listinfo/centos
> >
> 
> 

-- 
Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller@xxxxxxxxxxxx       -- Webhosting Services
                                                                       
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux