View previous topic :: View next topic |
Author |
Message |
faz n00b
Joined: 02 Nov 2002 Posts: 73 Location: the Netherlands
|
Posted: Fri Apr 04, 2003 12:05 pm Post subject: Portage "Central Station". Is it possible? |
|
|
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 |
|
|
fifo Guru
Joined: 14 Jan 2003 Posts: 437
|
Posted: Fri Apr 04, 2003 4:23 pm Post subject: |
|
|
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 |
|
|
AlterEgo Veteran
Joined: 25 Apr 2002 Posts: 1619
|
Posted: Fri Apr 04, 2003 4:47 pm Post subject: |
|
|
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 |
|
|
faz n00b
Joined: 02 Nov 2002 Posts: 73 Location: the Netherlands
|
Posted: Fri Apr 04, 2003 6:25 pm Post subject: |
|
|
Thanks guys, i'll try it |
|
Back to top |
|
|
|