Hi all, I have four servers (one with redhat 7.3, two with CentOS 3.4 and one with CentOS 4 for testing). I would like to do a partial package mirror with os, updates, contrib branches and so on. Anybody knows if exists any tool for redhat based distros, like apt-proxy in debian world ( that donwloads packages on demmand), that supports this feature?? I see yam tool from dag repository, but it needs that do a full mirror ... and I don?t have as much disk space. Thank you for your _________________________________________________________ Do You Yahoo!? Informaci?n de Estados Unidos y Am?rica Latina, en Yahoo! Noticias. Vis?tanos en http://noticias.espanol.yahoo.com
Quick answer to get you going. Install yum-arch. Setup your partial mirror in a directory /path/to/mirror. Run yum-arch -v /path/to/mirror to regenerate the headers. You must provide access to via http or https. (Is ftp an option? I don''t know) Put an entry in yum.conf on your clients that points to your local mirror. e.g. [org-local1] name=Organization Repository #1 baseurl=https://mirror.example.com/path/to/repo/ run `yum list` and ensure your client sees the repo and headers from org-local1 You get the idea? -----Original Message----- From: centos-bounces@caosity.org [mailto:centos-bounces@caosity.org] On Behalf Of User Lists Sent: Friday, February 25, 2005 4:05 PM To: centos@caosity.org Subject: [Centos] Packages on demmand Hi all, I have four servers (one with redhat 7.3, two with CentOS 3.4 and one with CentOS 4 for testing). I would like to do a partial package mirror with os, updates, contrib branches and so on. Anybody knows if exists any tool for redhat based distros, like apt-proxy in debian world ( that donwloads packages on demmand), that supports this feature?? I see yam tool from dag repository, but it needs that do a full mirror ... and I don?t have as much disk space. Thank you for your _________________________________________________________ Do You Yahoo!? Informaci?n de Estados Unidos y Am?rica Latina, en Yahoo! Noticias. Vis?tanos en http://noticias.espanol.yahoo.com _______________________________________________ CentOS mailing list CentOS@caosity.org http://lists.caosity.org/mailman/listinfo/centos
Yes, but one more question: with yum-arch I can not download rpm packages when client do the request, correct?? I need this feature: when client request a package, server do the download automatically from selected mirror and then forward this package to the client, like apt-proxy does. With this option, I have only packages that I need on the yum server without doing full mirror from Internet servers ... --- "Foster, Mark" <Foster.M@portseattle.org> escribi?:> Quick answer to get you going. > Install yum-arch. > Setup your partial mirror in a directory > /path/to/mirror. > Run yum-arch -v /path/to/mirror to regenerate the > headers. > You must provide access to via http or https. (Is > ftp an option? I don''t know) > Put an entry in yum.conf on your clients that points > to your local mirror. > e.g. > [org-local1] > name=Organization Repository #1 > baseurl=https://mirror.example.com/path/to/repo/ > > run `yum list` and ensure your client sees the repo > and headers from org-local1 > You get the idea? > > -----Original Message----- > From: centos-bounces@caosity.org > [mailto:centos-bounces@caosity.org] On Behalf Of > User Lists > Sent: Friday, February 25, 2005 4:05 PM > To: centos@caosity.org > Subject: [Centos] Packages on demmand > > Hi all, > > I have four servers (one with redhat 7.3, two with > CentOS 3.4 and one with CentOS 4 for testing). I > would like to do a partial package mirror with os, > updates, contrib branches and so on. Anybody knows > if exists any tool for redhat based distros, like > apt-proxy in debian world ( that donwloads packages > on demmand), that supports this feature?? > > I see yam tool from dag repository, but it needs > that do a full mirror ... and I don?t have as much > disk space. > > Thank you for your > >_________________________________________________________> Do You Yahoo!? > Informaci?n de Estados Unidos y Am?rica Latina, en > Yahoo! Noticias. > Vis?tanos en http://noticias.espanol.yahoo.com > _______________________________________________ > CentOS mailing list > CentOS@caosity.org > http://lists.caosity.org/mailman/listinfo/centos > _______________________________________________ > CentOS mailing list > CentOS@caosity.org > http://lists.caosity.org/mailman/listinfo/centos >_________________________________________________________ Do You Yahoo!? Informaci?n de Estados Unidos y Am?rica Latina, en Yahoo! Noticias. Vis?tanos en http://noticias.espanol.yahoo.com
have you tried simply making /var/cache/yum on all the computers point to the same spot (via nfs or samba or whatever)...? Assuming you never run yum clean I think this should work okay (except possibly for some headers being redownloaded). Cheers, MaZe. On Mon, 28 Feb 2005, User Lists wrote:> Yes, but one more question: with yum-arch I can not > download rpm packages when client do the request, > correct?? > > I need this feature: when client request a package, > server do the download automatically from selected > mirror and then forward this package to the client, > like apt-proxy does. > > With this option, I have only packages that I need on > the yum server without doing full mirror from Internet > servers ... > > --- "Foster, Mark" <Foster.M@portseattle.org> > escribi?: > > Quick answer to get you going. > > Install yum-arch. > > Setup your partial mirror in a directory > > /path/to/mirror. > > Run yum-arch -v /path/to/mirror to regenerate the > > headers. > > You must provide access to via http or https. (Is > > ftp an option? I don''t know) > > Put an entry in yum.conf on your clients that points > > to your local mirror. > > e.g. > > [org-local1] > > name=Organization Repository #1 > > baseurl=https://mirror.example.com/path/to/repo/ > > > > run `yum list` and ensure your client sees the repo > > and headers from org-local1 > > You get the idea? > > > > -----Original Message----- > > From: centos-bounces@caosity.org > > [mailto:centos-bounces@caosity.org] On Behalf Of > > User Lists > > Sent: Friday, February 25, 2005 4:05 PM > > To: centos@caosity.org > > Subject: [Centos] Packages on demmand > > > > Hi all, > > > > I have four servers (one with redhat 7.3, two with > > CentOS 3.4 and one with CentOS 4 for testing). I > > would like to do a partial package mirror with os, > > updates, contrib branches and so on. Anybody knows > > if exists any tool for redhat based distros, like > > apt-proxy in debian world ( that donwloads packages > > on demmand), that supports this feature?? > > > > I see yam tool from dag repository, but it needs > > that do a full mirror ... and I don?t have as much > > disk space. > > > > Thank you for your > > > > > _________________________________________________________ > > Do You Yahoo!? > > Informaci?n de Estados Unidos y Am?rica Latina, en > > Yahoo! Noticias. > > Vis?tanos en http://noticias.espanol.yahoo.com > > _______________________________________________ > > CentOS mailing list > > CentOS@caosity.org > > http://lists.caosity.org/mailman/listinfo/centos > > _______________________________________________ > > CentOS mailing list > > CentOS@caosity.org > > http://lists.caosity.org/mailman/listinfo/centos > > > > _________________________________________________________ > Do You Yahoo!? > Informaci?n de Estados Unidos y Am?rica Latina, en Yahoo! Noticias. > Vis?tanos en http://noticias.espanol.yahoo.com > _______________________________________________ > CentOS mailing list > CentOS@caosity.org > http://lists.caosity.org/mailman/listinfo/centos >
Yes, I have already thought about that.. But every host has different packages installed (except common pacakges like glibc, kernheaders, etc)..... --- Maciej ?enczykowski <maze@cela.pl> escribi?:> have you tried simply making /var/cache/yum on all > the computers point to > the same spot (via nfs or samba or whatever)...? > Assuming you never run > yum clean I think this should work okay (except > possibly for some headers > being redownloaded). > > Cheers, > MaZe. > > On Mon, 28 Feb 2005, User Lists wrote: > > > Yes, but one more question: with yum-arch I can > not > > download rpm packages when client do the request, > > correct?? > > > > I need this feature: when client request a > package, > > server do the download automatically from selected > > mirror and then forward this package to the > client, > > like apt-proxy does. > > > > With this option, I have only packages that I need > on > > the yum server without doing full mirror from > Internet > > servers ... > > > > --- "Foster, Mark" <Foster.M@portseattle.org> > > escribi?: > > > Quick answer to get you going. > > > Install yum-arch. > > > Setup your partial mirror in a directory > > > /path/to/mirror. > > > Run yum-arch -v /path/to/mirror to regenerate > the > > > headers. > > > You must provide access to via http or https. > (Is > > > ftp an option? I don''t know) > > > Put an entry in yum.conf on your clients that > points > > > to your local mirror. > > > e.g. > > > [org-local1] > > > name=Organization Repository #1 > > > baseurl=https://mirror.example.com/path/to/repo/ > > > > > > run `yum list` and ensure your client sees the > repo > > > and headers from org-local1 > > > You get the idea? > > > > > > -----Original Message----- > > > From: centos-bounces@caosity.org > > > [mailto:centos-bounces@caosity.org] On Behalf Of > > > User Lists > > > Sent: Friday, February 25, 2005 4:05 PM > > > To: centos@caosity.org > > > Subject: [Centos] Packages on demmand > > > > > > Hi all, > > > > > > I have four servers (one with redhat 7.3, two > with > > > CentOS 3.4 and one with CentOS 4 for testing). I > > > would like to do a partial package mirror with > os, > > > updates, contrib branches and so on. Anybody > knows > > > if exists any tool for redhat based distros, > like > > > apt-proxy in debian world ( that donwloads > packages > > > on demmand), that supports this feature?? > > > > > > I see yam tool from dag repository, but it > needs > > > that do a full mirror ... and I don?t have as > much > > > disk space. > > > > > > Thank you for your > > > > > > > > >_________________________________________________________> > > Do You Yahoo!? > > > Informaci?n de Estados Unidos y Am?rica Latina, > en > > > Yahoo! Noticias. > > > Vis?tanos en http://noticias.espanol.yahoo.com > > > _______________________________________________ > > > CentOS mailing list > > > CentOS@caosity.org > > > http://lists.caosity.org/mailman/listinfo/centos > > > _______________________________________________ > > > CentOS mailing list > > > CentOS@caosity.org > > > http://lists.caosity.org/mailman/listinfo/centos > > > > > > > >_________________________________________________________> > Do You Yahoo!? > > Informaci?n de Estados Unidos y Am?rica Latina, en > Yahoo! Noticias. > > Vis?tanos en http://noticias.espanol.yahoo.com > > _______________________________________________ > > CentOS mailing list > > CentOS@caosity.org > > http://lists.caosity.org/mailman/listinfo/centos > > > _______________________________________________ > CentOS mailing list > CentOS@caosity.org > http://lists.caosity.org/mailman/listinfo/centos >_________________________________________________________ Do You Yahoo!? Informaci?n de Estados Unidos y Am?rica Latina, en Yahoo! Noticias. Vis?tanos en http://noticias.espanol.yahoo.com
It might be a silly question.... but why not just use a HTTP Proxy/Cache ... this will store packages for you. ;) On Tue, 1 Mar 2005 02:28:01 -0600 (CST), User Lists <clopmz@yahoo.com> wrote:> Yes, I have already thought about that.. But every > host has different packages installed (except common > pacakges like glibc, kernheaders, etc)..... > > --- Maciej ?enczykowski <maze@cela.pl> escribi?: > > have you tried simply making /var/cache/yum on all > > the computers point to > > the same spot (via nfs or samba or whatever)...? > > Assuming you never run > > yum clean I think this should work okay (except > > possibly for some headers > > being redownloaded). > > > > Cheers, > > MaZe. > > > > On Mon, 28 Feb 2005, User Lists wrote: > > > > > Yes, but one more question: with yum-arch I can > > not > > > download rpm packages when client do the request, > > > correct?? > > > > > > I need this feature: when client request a > > package, > > > server do the download automatically from selected > > > mirror and then forward this package to the > > client, > > > like apt-proxy does. > > > > > > With this option, I have only packages that I need > > on > > > the yum server without doing full mirror from > > Internet > > > servers ... > > > > > > --- "Foster, Mark" <Foster.M@portseattle.org> > > > escribi?: > > > > Quick answer to get you going. > > > > Install yum-arch. > > > > Setup your partial mirror in a directory > > > > /path/to/mirror. > > > > Run yum-arch -v /path/to/mirror to regenerate > > the > > > > headers. > > > > You must provide access to via http or https. > > (Is > > > > ftp an option? I don''t know) > > > > Put an entry in yum.conf on your clients that > > points > > > > to your local mirror. > > > > e.g. > > > > [org-local1] > > > > name=Organization Repository #1 > > > > baseurl=https://mirror.example.com/path/to/repo/ > > > > > > > > run `yum list` and ensure your client sees the > > repo > > > > and headers from org-local1 > > > > You get the idea? > > > > > > > > -----Original Message----- > > > > From: centos-bounces@caosity.org > > > > [mailto:centos-bounces@caosity.org] On Behalf Of > > > > User Lists > > > > Sent: Friday, February 25, 2005 4:05 PM > > > > To: centos@caosity.org > > > > Subject: [Centos] Packages on demmand > > > > > > > > Hi all, > > > > > > > > I have four servers (one with redhat 7.3, two > > with > > > > CentOS 3.4 and one with CentOS 4 for testing). I > > > > would like to do a partial package mirror with > > os, > > > > updates, contrib branches and so on. Anybody > > knows > > > > if exists any tool for redhat based distros, > > like > > > > apt-proxy in debian world ( that donwloads > > packages > > > > on demmand), that supports this feature?? > > > > > > > > I see yam tool from dag repository, but it > > needs > > > > that do a full mirror ... and I don?t have as > > much > > > > disk space. > > > > > > > > Thank you for your > > > > > > > > > > > > > > _________________________________________________________ > > > > Do You Yahoo!? > > > > Informaci?n de Estados Unidos y Am?rica Latina, > > en > > > > Yahoo! Noticias. > > > > Vis?tanos en http://noticias.espanol.yahoo.com > > > > _______________________________________________ > > > > CentOS mailing list > > > > CentOS@caosity.org > > > > http://lists.caosity.org/mailman/listinfo/centos > > > > _______________________________________________ > > > > CentOS mailing list > > > > CentOS@caosity.org > > > > http://lists.caosity.org/mailman/listinfo/centos > > > > > > > > > > > > > _________________________________________________________ > > > Do You Yahoo!? > > > Informaci?n de Estados Unidos y Am?rica Latina, en > > Yahoo! Noticias. > > > Vis?tanos en http://noticias.espanol.yahoo.com > > > _______________________________________________ > > > CentOS mailing list > > > CentOS@caosity.org > > > http://lists.caosity.org/mailman/listinfo/centos > > > > > _______________________________________________ > > CentOS mailing list > > CentOS@caosity.org > > http://lists.caosity.org/mailman/listinfo/centos > > > > _________________________________________________________ > Do You Yahoo!? > Informaci?n de Estados Unidos y Am?rica Latina, en Yahoo! Noticias. > Vis?tanos en http://noticias.espanol.yahoo.com > _______________________________________________ > CentOS mailing list > CentOS@caosity.org > http://lists.caosity.org/mailman/listinfo/centos >