The Gentoo Server

Cardoe wrote this in the late evening:

So here’s what I want to do. I want to put 2 Gentoo boxes in the office. But I don’t want to emerge sync or anything. In fact, I’d be more then happy if they didn’t have a Portage tree on them. Basically I want what I think a couple of business would want. I want a centralized box (a 3rd box) that would be my compile server and then it would share out the packages. And I could integrate some configuration options or /etc/ files. I dunno.

Right now what I have is a box that builds binary packages and hosts Apache with a special alias for http://mybox.com/pkg/ to point to /usr/portage/packages/ and then on the other boxes their /etc/make.conf is setup for binary pulls from http://mybox.com/pkg/ and I just run emerge -gKuD world on the other boxes. But this still requires a bunch of manual work. Just looking to cut down the manual work of editing the scripts and files. I was kind of thinking of having a SVN repo of my scripts as templates and some integrator program and replaces the variables with the necessary values when it installs.

Lemme know how you do it.

2 Responses to “The Gentoo Server”

  1. lotso Says:

    There are a couple of ways to do it.

    1. Use a NFS shared of /usr/portage for all the boxes based on the build box.
    2. set up an apache shared folder for the packages and put
    PORTAGE_BINHOST=”http://path/to/server/packages”
    3. Set up a cron-job that does the automatic updates

  2. Buzzing Bye » Gentoo Dev Thinks Like Eric and I Says:

    […] rly morning

    Apparently Gentoo Developer Doug Goldstein has had the same problem on his mind as Eric and I. How do you efficiently support an architecture of Gentoo […]

Leave a Reply