I would like to set up one of my Gentoo systems as a binary host to
build and distribute packages that normally take longer to compile, like
libreoffice, firefox and thuderbird, to another Gentoo system of mine
with less RAM.

I've been following the instructions found here,
http://wiki.gentoo.org/wiki/Binary_package_guide.

What I've done so far on the binhost is:
(1). I've installed lighttpd and set 'server.document-root' to PKGDIR in
'/etc/lighttpd/lighttpd.conf'.
grep portage/packages /etc/lighttpd/lighttpd.conf
server.document-root = "/usr/portage/packages"
(2). I've built a libreoffice package using: 'quickpkg
app-office/libreoffice'.
ls /usr/portage/packages/
Packages  app-office
(3). As I attempted to access http://127.0.0.1/Packages, I got a 403
HTTP error returned. I guess that's because of the access permissions
for PKGDIR.
ls -ld /usr/portage/packages/
drwx------ 3 root root 4096 Jan 16 18:38 /usr/portage/packages/

If I understand it correctly, I have to decide on which protocol to use,
ftp, http, or ssh. Which one do folk here prefer, or would recommend?
The wiki article suggests setting up a binpkguser and adding a
client-root.id.rsa.pub to the binpkguser's authorized_keys, right? Does
that mean that a dedicated user has to be set up, instead of using my
current user account on the binhost?
|root # ||useradd -m -r -G portage -s /bin/bash binpkguser
root # ||echo clientA-root.id_rsa.pub >>
/home/binpkguser/.ssh/authorized_keys|

On the client system, all I have to do is set up PORTAGE_BINHOST in
'/etc/portage.make.conf' and emerge the binary packages desired. Is that
right?

Any other advise, and/or suggestions would be much appreciated.

Reply via email to