Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Downloading Gentoo Packages from arbitrary location
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
JeffH
Guest





PostPosted: Fri Apr 19, 2002 9:37 pm    Post subject: Downloading Gentoo Packages from arbitrary location Reply with quote

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
n00b


Joined: 18 Apr 2002
Posts: 28

PostPosted: Fri Apr 19, 2002 9:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Guest






PostPosted: Fri Apr 19, 2002 10:20 pm    Post subject: Reply with quote

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






PostPosted: Fri Apr 19, 2002 10:40 pm    Post subject: Reply with quote

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






PostPosted: Fri Apr 19, 2002 11:07 pm    Post subject: Reply with quote

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
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Fri Apr 19, 2002 11:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Guest






PostPosted: Sat Apr 20, 2002 2:15 am    Post subject: Reply with quote

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
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Sat Apr 20, 2002 3:21 am    Post subject: Reply with quote

I'm not aware of any reason why you cannot use ftp.
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
betatim
n00b
n00b


Joined: 18 Apr 2002
Posts: 28

PostPosted: Sat Apr 20, 2002 6:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum