View previous topic :: View next topic |
Author |
Message |
JeffH Guest
|
Posted: Fri Apr 19, 2002 9:37 pm Post subject: Downloading Gentoo Packages from arbitrary location |
|
|
I need help doing two things: 1) How would I go about making a local "mirror" of the Gentoo package source from which installations are downloaded (i.e., rsync or ftp from where?) and 2) how would I point an installation to my mirror instead of the original? I expect to try Gentoo installs several times and I want to save myself the download time.
Thanks,
- Jeff |
|
Back to top |
|
|
betatim n00b
Joined: 18 Apr 2002 Posts: 28
|
Posted: Fri Apr 19, 2002 9:51 pm Post subject: |
|
|
if you put your downloaded stuff onto a local ftpd its quite easy to persuade gentoo from going there first and then looking on the big mirror. just add your local ftp BEFORE the official mirror in your /etc/make.conf mirror list _________________ Never underestimate the power of stupid people in large groups. |
|
Back to top |
|
|
Guest
|
Posted: Fri Apr 19, 2002 10:20 pm Post subject: |
|
|
OK, Here's what I see when I peer into the install CD's "stage1" tarball and look into /etc/make.conf:
# The main Gentoo Linux source mirror; specify as many space-separated mirrors
# as you like.
GENTOO_MIRRORS="http://www.ibiblio.org/gentoo"
# The main Gentoo Linux Portage server; specify a single Portage server.
SYNC="rsync://cvs.gentoo.org/gentoo-x86-portage"
# An alternate download server if you prefer anoncvs. emerge dev-util/cvs
# for cvs support in emerge. The password for this CVS server is empty --
# just hit Enter.
#SYNC="cvs://:pserver:anonymous@gentoo.org:/home/anoncvs"
1. Must my GENTOO_MIRRORS consist of http servers or can I specify an ftp server and path there (e.g., GENTOO_MIRRORS="ftp://192.168.32.35/pub/gentoo http://www.ibiblio.org/gentoo")? I assume that I could use wget to pull down the contents of http://www.ibiblio.org/gentoo regardless of whether I serve it out via http or ftp.
2. Must I also establish a mirror for SYNC. or can I just leave that like it is (esp. if it's not used much)? |
|
Back to top |
|
|
Guest
|
Posted: Fri Apr 19, 2002 10:40 pm Post subject: |
|
|
OK, I tried using wget to pull down the content for my mirror and it appears to have worked except for one rather critical thing: the binaries aren't being pulled down. I can't seem to find any wget options that change the omissive behavior. What's my next move?
- Jeff |
|
Back to top |
|
|
Guest
|
Posted: Fri Apr 19, 2002 11:07 pm Post subject: |
|
|
Looks like I'm doing better by abandoning wget and using ncftp to pull down the directories, starting with "distfiles." Are the other ones besides "distfiles" necessary for my mirror (I already have the CD burnt) or can I stop there as long as I make my "gentoo-sources" link? |
|
Back to top |
|
|
fghellar Bodhisattva
Joined: 10 Apr 2002 Posts: 856 Location: Porto Alegre, BR
|
Posted: Fri Apr 19, 2002 11:23 pm Post subject: |
|
|
All you have to do is Code: | wget -np --mirror http://www.ibiblio.org/gentoo/distfiles/ |
_________________ | www.gentoo.org | www.tldp.org | www.google.com | |
|
Back to top |
|
|
Guest
|
Posted: Sat Apr 20, 2002 2:15 am Post subject: |
|
|
fghellar -
Thanks for the info. As I type this, I have ncftp pulling down the content of ftp://metalab.unc.edu/.../distfiles, which is where I get shunted to. Anyway, now that I seem to have a path forward on getting the files down in order to mirror them, I stillhave the question of whether or not I can only serve them out via http as opposed to ftp. That is, can I do something like this in my make.conf:
Code: | GENTOO_MIRRORS="ftp://192.168.32.35/pub/gentoo http://www.ibiblio.org/gentoo" |
where "192.168.32.35" is my intranet ftp server?
- Jeff |
|
Back to top |
|
|
fghellar Bodhisattva
Joined: 10 Apr 2002 Posts: 856 Location: Porto Alegre, BR
|
|
Back to top |
|
|
betatim n00b
Joined: 18 Apr 2002 Posts: 28
|
Posted: Sat Apr 20, 2002 6:27 am Post subject: |
|
|
the danish mirror is ftp://sunsite.dk so i don't think there should be any trouble either _________________ Never underestimate the power of stupid people in large groups. |
|
Back to top |
|
|
|