How can I duplicate a set of installed ports?

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Fri Jan 2 15:14:27 PST 2004


Martin Brecher <listuser at mb-itconsulting.com> writes:

> John Mills wrote:
> [...]
> > I have an installation I'm comfortable with, between those ports I
> > chose to install, those I chose _not_ to install, and those I went
> > around and added individually. Now I want to install the same set in
> > a number of other systems.
> [...]
> > The machines have 3.5" diskettes, _just_sufficient_ hard drives, netowrk
> > interface cards, and no CD-ROMs. They hang on a LAN served with DHCP.
> [...]
> > What are my options, and your recommendations?
> 
> Assuming all machines have similar installations of FreeBSD, you could
> just cp -Rp /usr/local to the other machines over the network -- or
> have it just NFS mounted (no local copy on each machine).
> Additionally, you would have to copy missing items from /var/db/pkg to
> the other machines. And possibly diff/merge some files in /etc (some
> ports may need additional user accounts, etc).

And the X11 tree, too...

It would probably be easiest to make packages of the ports, and
install them from a central server.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
		resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
		username/password "public"


More information about the freebsd-questions mailing list