Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage "Central Station". Is it possible?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
faz
n00b
n00b


Joined: 02 Nov 2002
Posts: 73
Location: the Netherlands

PostPosted: Fri Apr 04, 2003 12:05 pm    Post subject: Portage "Central Station". Is it possible? Reply with quote

Hi all,

I'm in the process of building a gentoo based server. This one is constantly hooked up to the Internet. All my other Gentoo systems communicate thru that server with everything else.

I want to give this server as a sort of "Portage Central Station" role. This is the idea:

- Let a crontab job "emerge rsync" every 24h or so.
- Prefetch all new stuff without building it
- All Gentoo "workstations" have their DISTDIR pointing at the distfiles dir on the server
- All Gentoo "workstations" share a common repository of ebuilds, so a rsync on the server will be sufficient.

The first three are possible, i know for sure.
The last one i don't know. Can I just reroute PORTDIR to the central server to be shared there or are their other things in PORTDIR that can't be shared. I'm thinking of the world file. If so, is there a way to put does apart somehow.

I'm not a portage expert, be this setup would cut be most ideal. Also for administrators of "real company's" with lot's of workstations

Thanks for any hints on this
Back to top
View user's profile Send private message
fifo
Guru
Guru


Joined: 14 Jan 2003
Posts: 437

PostPosted: Fri Apr 04, 2003 4:23 pm    Post subject: Reply with quote

I haven't tried it, but you should be able to just share the whole portage tree (/usr/portage/) between machines. This is what's updated by "emerge sync". All the per machine files (like the world file) are stored under /var/cache/edb/ and /var/db/.
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Fri Apr 04, 2003 4:47 pm    Post subject: Reply with quote

I'm sharing /usr/portage over an NFS share; so: the portage tree, the distfiles and the packages I built (emerge -b) are stored there as well.
3 Machines use it problem free.


Last edited by AlterEgo on Fri Apr 04, 2003 6:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
faz
n00b
n00b


Joined: 02 Nov 2002
Posts: 73
Location: the Netherlands

PostPosted: Fri Apr 04, 2003 6:25 pm    Post subject: Reply with quote

Thanks guys, i'll try it :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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