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
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.
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
2011/4/3 Fidel Dominguez-Valero fdvalero@gmail.com:
Yes, I know that, but I want to download for make a local repository
just use reposync to mirror it to local repository.
-- Eero
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 fdvalero@gmail.com:
Yes, I know that, but I want to download for make a local repository
just use reposync to mirror it to local repository.
-- Eero
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 fdvalero@gmail.com:
Yes, I know that, but I want to download for make a local repository
just use reposync to mirror it to local repository.
-- Eero
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.
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.
At Sun, 03 Apr 2011 14:12:55 -0400 CentOS mailing list centos@centos.org 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
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 centos@centos.org 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
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.
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.2M rpmforge/i386/repodata 5.6G rpmforge/i386/RPMS 5.6G rpmforge/i386 6.0M rpmforge/x86_64/repodata 5.2G rpmforge/x86_64/RPMS 5.2G rpmforge/x86_64 11G rpmforge/
Tia, ak.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
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.6G el5-i386 5.2G el5-x86_64