Re: [CentOS] Download the repo DAG of CentOS 5.5
On 03/04/11 20:45, Fidel Dominguez-Valero wrote: > ok, could you help me to do that? [root@server ~]# man reposync kind regards, David Sommerseth > On Sun, 2011-04-03 at 21:36 +0300, Eero Volotinen wrote: >> 2011/4/3 Fidel Dominguez-Valero : >>> Yes, I know that, but I want to download for make a local repository >> >> just use reposync to mirror it to local repository. >> >> -- >> Eero ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Download the repo DAG of CentOS 5.5
Fidel Dominguez-Valero wrote on Sun, 03 Apr 2011 14:45:41 -0400: > ok, could you help me to do that? Is there anything you do not need help with? Kai ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Download the repo DAG of CentOS 5.5
On Mon, Apr 04, 2011 at 11:21:23AM +1000, Anthony K wrote: > Just out of curiosity, how much hdd space is consumed to mirror > rpmforge? I have a local CentOS mirror for my users that consumes ~18GB > (or 19,124,934,894 bytes as of this - 4/4/2011 - morning to be precise) > for "os updates centosplus extras addons" for both i386 and x86_64! My mirror of rpmforge, created with rsync --delete -rlptDzH rsync://apt.sw.be/pub/freshrpms/pub/dag/redhat/el5/en/i386/dag/ el5-i386 rsync --delete -rlptDzH rsync://apt.sw.be/pub/freshrpms/pub/dag/redhat/el5/en/x86_64/dag/ el5-x86_64 % du -hs el* 5.6Gel5-i386 5.2Gel5-x86_64 -- rgds Stephen ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Download the repo DAG of CentOS 5.5
On Mon, 2011-04-04 at 11:21 +1000, Anthony K wrote: > On 4/04/2011 5:21 AM, Robert Heller wrote: > > rpmforge.sh: > > > > #!/bin/bash > > there=`dirname $0` > > here=`pwd` > > cd $there > > there=`pwd` > > cd $here > > rootdir=`dirname $there` > > export RSYNCSERVER="rsync://apt.sw.be/pub/freshrpms/pub/dag/redhat/" > > export RSYNCCMD="rsync -avP --delete" > > $RSYNCCMD $RSYNCSERVER/el5/en/x86_64/rpmforge/ $rootdir/rpmforge/el5/x86_64/ > > #$RSYNCCMD $RSYNCSERVER/el5/en/i386/rpmforge/ $rootdir/rpmforge/el5/i386/ > > Just out of curiosity, how much hdd space is consumed to mirror > rpmforge? I have a local CentOS mirror for my users that consumes ~18GB > (or 19,124,934,894 bytes as of this - 4/4/2011 - morning to be precise) > for "os updates centosplus extras addons" for both i386 and x86_64! fidel@xxx:~/Downloads/Centos/5.5$ du -h rpmforge/ 6.2Mrpmforge/i386/repodata 5.6Grpmforge/i386/RPMS 5.6Grpmforge/i386 6.0Mrpmforge/x86_64/repodata 5.2Grpmforge/x86_64/RPMS 5.2Grpmforge/x86_64 11G rpmforge/ > > > Tia, > ak. > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Download the repo DAG of CentOS 5.5
On 4/04/2011 5:21 AM, Robert Heller wrote: > rpmforge.sh: > > #!/bin/bash > there=`dirname $0` > here=`pwd` > cd $there > there=`pwd` > cd $here > rootdir=`dirname $there` > export RSYNCSERVER="rsync://apt.sw.be/pub/freshrpms/pub/dag/redhat/" > export RSYNCCMD="rsync -avP --delete" > $RSYNCCMD $RSYNCSERVER/el5/en/x86_64/rpmforge/ $rootdir/rpmforge/el5/x86_64/ > #$RSYNCCMD $RSYNCSERVER/el5/en/i386/rpmforge/ $rootdir/rpmforge/el5/i386/ Just out of curiosity, how much hdd space is consumed to mirror rpmforge? I have a local CentOS mirror for my users that consumes ~18GB (or 19,124,934,894 bytes as of this - 4/4/2011 - morning to be precise) for "os updates centosplus extras addons" for both i386 and x86_64! Tia, ak. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Download the repo DAG of CentOS 5.5
thanks, rpmforge.sh is really that I need On Sun, 2011-04-03 at 15:21 -0400, Robert Heller wrote: > At Sun, 03 Apr 2011 14:12:55 -0400 CentOS mailing list > wrote: > > > > > hello > > somebody might help to create a script to download the repo DAG of > > CentOS 5.5 to my PC. I already did with OS, Update, and Extras packages. > > I want to do with DAG repository. > > > > I tried but I don't know much about scripts. > > Thanks > > Fidel > > I use a thumb drive to 'mirror' the centos, epel, and rpmforge repos: > > mkdirs.sh: > #!/bin/bash > there=`dirname $0` > here=`pwd` > cd $there > there=`pwd` > cd $here > rootdir=`dirname $there` > mkdir -vp $rootdir/adobe/linux/i386/ > mkdir -vp $rootdir/centos/5/addons/x86_64/ > mkdir -vp $rootdir/centos/5/addons/i386 > mkdir -vp $rootdir/centos/5/centosplus/x86_64/ > mkdir -vp $rootdir/centos/5/centosplus/i386 > mkdir -vp $rootdir/centos/5/contrib/x86_64/ > mkdir -vp $rootdir/centos/5/contrib/i386 > mkdir -vp $rootdir/centos/5/extras/x86_64/ > mkdir -vp $rootdir/centos/5/extras/i386 > mkdir -vp $rootdir/centos/5/os/x86_64/ > mkdir -vp $rootdir/centos/5/os/i386 > mkdir -vp $rootdir/centos/5/updates/x86_64/ > mkdir -vp $rootdir/centos/5/updates/i386 > mkdir -vp $rootdir/epel/5/x86_64/ > mkdir -vp $rootdir/epel/5/i386/ > mkdir -vp $rootdir/rpmforge/el5/x86_64/ > mkdir -vp $rootdir/rpmforge/el5/i386/ > > centos.sh: > #!/bin/bash > there=`dirname $0` > here=`pwd` > cd $there > there=`pwd` > cd $here > rootdir=`dirname $there` > export RSYNCSERVER="rsync://mirror.clarkson.edu/centos" > export RSYNCCMD="rsync -avP --delete" > $RSYNCCMD $RSYNCSERVER/5/addons/x86_64/ $rootdir/centos/5/addons/x86_64/ > #$RSYNCCMD $RSYNCSERVER/5/addons/i386/ $rootdir/centos/5/addons/i386/ > $RSYNCCMD $RSYNCSERVER/5/centosplus/x86_64/ > $rootdir/centos/5/centosplus/x86_64/ > #$RSYNCCMD $RSYNCSERVER/5/centosplus/i386/ $rootdir/centos/5/centosplus/i386/ > $RSYNCCMD $RSYNCSERVER/5/contrib/x86_64/ $rootdir/centos/5/contrib/x86_64/ > #$RSYNCCMD $RSYNCSERVER/5/contrib/i386/ $rootdir/centos/5/contrib/i386/ > $RSYNCCMD $RSYNCSERVER/5/extras/x86_64/ $rootdir/centos/5/extras/x86_64/ > #$RSYNCCMD $RSYNCSERVER/5/extras/i386/ $rootdir/centos/5/extras/i386/ > #$RSYNCCMD $RSYNCSERVER/5/os/x86_64/ $rootdir/centos/5/os/x86_64/ > #$RSYNCCMD $RSYNCSERVER/5/os/i386/ $rootdir/centos/5/os/i386/ > $RSYNCCMD $RSYNCSERVER/5/updates/x86_64/ $rootdir/centos/5/updates/x86_64/ > #$RSYNCCMD $RSYNCSERVER/5/updates/i386/ $rootdir/centos/5/updates/i386/ > > > epel.sh: > #!/bin/bash > there=`dirname $0` > here=`pwd` > cd $there > there=`pwd` > cd $here > rootdir=`dirname $there` > export RSYNCSERVER="rsync://mirrors.servercentral.net/fedora-epel" > export RSYNCCMD="rsync -avP --delete" > $RSYNCCMD --exclude=/debug/ $RSYNCSERVER/5/x86_64/ $rootdir/epel/5/x86_64/ > > rpmforge.sh: > > #!/bin/bash > there=`dirname $0` > here=`pwd` > cd $there > there=`pwd` > cd $here > rootdir=`dirname $there` > export RSYNCSERVER="rsync://apt.sw.be/pub/freshrpms/pub/dag/redhat/" > export RSYNCCMD="rsync -avP --delete" > $RSYNCCMD $RSYNCSERVER/el5/en/x86_64/rpmforge/ $rootdir/rpmforge/el5/x86_64/ > #$RSYNCCMD $RSYNCSERVER/el5/en/i386/rpmforge/ $rootdir/rpmforge/el5/i386/ > > I use two 16G thumb drives, one for the i386 repos and one for the > x86_64 repos. I don't bother with the base repo: when there is a point > release, I download the DVD iso(s) and park them on my main machine, > mount them loopback, and nfs export them. I use thumb drives for the > various updates, because that lets me go somewhere with high-speed > internet and update them. > > > > > > ___ > > CentOS mailing list > > CentOS@centos.org > > http://lists.centos.org/mailman/listinfo/centos > > > > > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Download the repo DAG of CentOS 5.5
At Sun, 03 Apr 2011 14:12:55 -0400 CentOS mailing list wrote: > > hello > somebody might help to create a script to download the repo DAG of > CentOS 5.5 to my PC. I already did with OS, Update, and Extras packages. > I want to do with DAG repository. > > I tried but I don't know much about scripts. > Thanks > Fidel I use a thumb drive to 'mirror' the centos, epel, and rpmforge repos: mkdirs.sh: #!/bin/bash there=`dirname $0` here=`pwd` cd $there there=`pwd` cd $here rootdir=`dirname $there` mkdir -vp $rootdir/adobe/linux/i386/ mkdir -vp $rootdir/centos/5/addons/x86_64/ mkdir -vp $rootdir/centos/5/addons/i386 mkdir -vp $rootdir/centos/5/centosplus/x86_64/ mkdir -vp $rootdir/centos/5/centosplus/i386 mkdir -vp $rootdir/centos/5/contrib/x86_64/ mkdir -vp $rootdir/centos/5/contrib/i386 mkdir -vp $rootdir/centos/5/extras/x86_64/ mkdir -vp $rootdir/centos/5/extras/i386 mkdir -vp $rootdir/centos/5/os/x86_64/ mkdir -vp $rootdir/centos/5/os/i386 mkdir -vp $rootdir/centos/5/updates/x86_64/ mkdir -vp $rootdir/centos/5/updates/i386 mkdir -vp $rootdir/epel/5/x86_64/ mkdir -vp $rootdir/epel/5/i386/ mkdir -vp $rootdir/rpmforge/el5/x86_64/ mkdir -vp $rootdir/rpmforge/el5/i386/ centos.sh: #!/bin/bash there=`dirname $0` here=`pwd` cd $there there=`pwd` cd $here rootdir=`dirname $there` export RSYNCSERVER="rsync://mirror.clarkson.edu/centos" export RSYNCCMD="rsync -avP --delete" $RSYNCCMD $RSYNCSERVER/5/addons/x86_64/ $rootdir/centos/5/addons/x86_64/ #$RSYNCCMD $RSYNCSERVER/5/addons/i386/ $rootdir/centos/5/addons/i386/ $RSYNCCMD $RSYNCSERVER/5/centosplus/x86_64/ $rootdir/centos/5/centosplus/x86_64/ #$RSYNCCMD $RSYNCSERVER/5/centosplus/i386/ $rootdir/centos/5/centosplus/i386/ $RSYNCCMD $RSYNCSERVER/5/contrib/x86_64/ $rootdir/centos/5/contrib/x86_64/ #$RSYNCCMD $RSYNCSERVER/5/contrib/i386/ $rootdir/centos/5/contrib/i386/ $RSYNCCMD $RSYNCSERVER/5/extras/x86_64/ $rootdir/centos/5/extras/x86_64/ #$RSYNCCMD $RSYNCSERVER/5/extras/i386/ $rootdir/centos/5/extras/i386/ #$RSYNCCMD $RSYNCSERVER/5/os/x86_64/ $rootdir/centos/5/os/x86_64/ #$RSYNCCMD $RSYNCSERVER/5/os/i386/ $rootdir/centos/5/os/i386/ $RSYNCCMD $RSYNCSERVER/5/updates/x86_64/ $rootdir/centos/5/updates/x86_64/ #$RSYNCCMD $RSYNCSERVER/5/updates/i386/ $rootdir/centos/5/updates/i386/ epel.sh: #!/bin/bash there=`dirname $0` here=`pwd` cd $there there=`pwd` cd $here rootdir=`dirname $there` export RSYNCSERVER="rsync://mirrors.servercentral.net/fedora-epel" export RSYNCCMD="rsync -avP --delete" $RSYNCCMD --exclude=/debug/ $RSYNCSERVER/5/x86_64/ $rootdir/epel/5/x86_64/ rpmforge.sh: #!/bin/bash there=`dirname $0` here=`pwd` cd $there there=`pwd` cd $here rootdir=`dirname $there` export RSYNCSERVER="rsync://apt.sw.be/pub/freshrpms/pub/dag/redhat/" export RSYNCCMD="rsync -avP --delete" $RSYNCCMD $RSYNCSERVER/el5/en/x86_64/rpmforge/ $rootdir/rpmforge/el5/x86_64/ #$RSYNCCMD $RSYNCSERVER/el5/en/i386/rpmforge/ $rootdir/rpmforge/el5/i386/ I use two 16G thumb drives, one for the i386 repos and one for the x86_64 repos. I don't bother with the base repo: when there is a point release, I download the DVD iso(s) and park them on my main machine, mount them loopback, and nfs export them. I use thumb drives for the various updates, because that lets me go somewhere with high-speed internet and update them. > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > > -- Robert Heller -- 978-544-6933 / hel...@deepsoft.com Deepwoods Software-- http://www.deepsoft.com/ () ascii ribbon campaign -- against html e-mail /\ www.asciiribbon.org -- against proprietary attachments ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Download the repo DAG of CentOS 5.5
On 4/3/2011 2:33 PM, Fidel Dominguez-Valero wrote: > Yes, I know that, but I want to download for make a local repository My apologies, Fidel. I didn't pick up on that when I read your post. Install yum-utils, which will provide reposync. Of course install the rpmforge repo RPM. For an initial download: # reposync -g -r rpmforge -p /local/destination/directory The man page is pretty straightforward, you should be able to whip up a cron job to keep the local repo up to date. W. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Download the repo DAG of CentOS 5.5
ok, could you help me to do that? On Sun, 2011-04-03 at 21:36 +0300, Eero Volotinen wrote: > 2011/4/3 Fidel Dominguez-Valero : > > Yes, I know that, but I want to download for make a local repository > > just use reposync to mirror it to local repository. > > -- > Eero ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Download the repo DAG of CentOS 5.5
On 4/3/2011 2:33 PM, Fidel Dominguez-Valero wrote: > Yes, I know that, but I want to download for make a local repository > > On Sun, 2011-04-03 at 14:25 -0400, Winter wrote: >> On 4/3/2011 2:12 PM, Fidel Dominguez-Valero wrote: >>> hello >>> somebody might help to create a script to download the repo DAG of >>> CentOS 5.5 to my PC. I already did with OS, Update, and Extras packages. >>> I want to do with DAG repository. >>> >>> I tried but I don't know much about scripts. >>> Thanks >>> Fidel >> >> Hello Fidel, >> >> This should help you out: >> >> http://dag.wieers.com/rpm/FAQ.php#B1 >> >> >> W. >> ___ >> CentOS mailing list >> CentOS@centos.org >> http://lists.centos.org/mailman/listinfo/centos > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos look up how to build a centos mirror and simply sub in the dag repo. NO scripting involved. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Download the repo DAG of CentOS 5.5
2011/4/3 Fidel Dominguez-Valero : > Yes, I know that, but I want to download for make a local repository just use reposync to mirror it to local repository. -- Eero ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Download the repo DAG of CentOS 5.5
Yes, I know that, but I want to download for make a local repository On Sun, 2011-04-03 at 14:25 -0400, Winter wrote: > On 4/3/2011 2:12 PM, Fidel Dominguez-Valero wrote: > > hello > > somebody might help to create a script to download the repo DAG of > > CentOS 5.5 to my PC. I already did with OS, Update, and Extras packages. > > I want to do with DAG repository. > > > > I tried but I don't know much about scripts. > > Thanks > > Fidel > > > Hello Fidel, > > This should help you out: > > http://dag.wieers.com/rpm/FAQ.php#B1 > > > W. > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Download the repo DAG of CentOS 5.5
yes, I know that but I want to download for make a local repository On Sun, 2011-04-03 at 18:16 +, aly.khi...@gmail.com wrote: > I believe there is a rpm available from the DAG site, that will install the > .repo file and setup everything you need to access the repo > > > Ak > > --Original Message-- > From: Fidel Dominguez-Valero > Sender: centos-boun...@centos.org > To: centos@centos.org > ReplyTo: CentOS mailing list > Subject: [CentOS] Download the repo DAG of CentOS 5.5 > Sent: Apr 3, 2011 2:12 PM > > hello > somebody might help to create a script to download the repo DAG of > CentOS 5.5 to my PC. I already did with OS, Update, and Extras packages. > I want to do with DAG repository. > > I tried but I don't know much about scripts. > Thanks > Fidel > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > > > Sent from my BlackBerry device on the Rogers Wireless Network > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Download the repo DAG of CentOS 5.5
On 4/3/2011 2:12 PM, Fidel Dominguez-Valero wrote: > hello > somebody might help to create a script to download the repo DAG of > CentOS 5.5 to my PC. I already did with OS, Update, and Extras packages. > I want to do with DAG repository. > > I tried but I don't know much about scripts. > Thanks > Fidel Hello Fidel, This should help you out: http://dag.wieers.com/rpm/FAQ.php#B1 W. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Download the repo DAG of CentOS 5.5
I believe there is a rpm available from the DAG site, that will install the .repo file and setup everything you need to access the repo Ak --Original Message-- From: Fidel Dominguez-Valero Sender: centos-boun...@centos.org To: centos@centos.org ReplyTo: CentOS mailing list Subject: [CentOS] Download the repo DAG of CentOS 5.5 Sent: Apr 3, 2011 2:12 PM hello somebody might help to create a script to download the repo DAG of CentOS 5.5 to my PC. I already did with OS, Update, and Extras packages. I want to do with DAG repository. I tried but I don't know much about scripts. Thanks Fidel ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Sent from my BlackBerry device on the Rogers Wireless Network ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Download the repo DAG of CentOS 5.5
hello somebody might help to create a script to download the repo DAG of CentOS 5.5 to my PC. I already did with OS, Update, and Extras packages. I want to do with DAG repository. I tried but I don't know much about scripts. Thanks Fidel ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos