Remote Gentoo Portage

I like the idea of having remote portage in a company. Servers environment and internal strategy can grow so much that you need speed up syncing and downloading the packages. Also to have owe portage category with internal utils apps, this give yoyu ability to emerge or upgrade your app on individual servers much faster.

So go ahead and make your gentoo portage.!

Setting Portage Server

vi /etc/rsync/rsyncd.conf or /etc/rsyncd.conf
pid file = /var/run/rsyncd.pid
use chroot = yes
read only = yes

#motd file = /etc/rsyncd.motd

[gentoo-portage]
#modern versions of portage use this entry
        path = /usr/portage
        comment = Gentoo Linux Portage tree mirror
        exclude = distfiles/ packages

option: vi /etc/rsyncd.motd

Hello Message

vi /etc/conf.d/rsyncd

RSYNC_OPTS="--config /etc/rsyncd.conf --address YOUR_IP_MACHINE"

Start RSYNCD daemon and add to start up

/etc/init.d/rsyncd start
rc-update add rsyncd default

setting clients servers to point to new new portage server [vi /etc/make.conf]

SYNC="rsync://YourMirrorHere.com/gentoo-portage"
Printed from: http://www.maugustyniak.com/2010/06/remote-gentoo-portage/ .
© misiek303 2010.

Related Post

Leave a Reply