Tag Archives: freebsd

Avoiding the config menu when installing a FreeBSD port

Note to self: if you want to install a port from the FreeBSD ports collection and you want to avoid the configuration menu that some ports use, then set the BATCH build variable.

For example, to install Apache 2.2 with the default configuration, use this:

cd /usr/ports/www/apache22 && make BATCH=1 install clean

Handy for scripting. More detail in the [FreeBSD porter’s handbook][1]

[1]: http://www.freebsd.org/doc/en/books/porters-handbook/book.html#SLOW-USER-INPUT

Humour in FreeBSD man pages

Was reading the [tunefs man page][tunefs] today while working out how to enable ACLs for a filesystem in [FreeBSD][freebsd]. The last line made me laugh.

> You can tune a file system, but you can’t tune a fish.

The man pages are one of the BSD’s great strengths.

[tunefs]: http://www.freebsd.org/cgi/man.cgi?query=tunefs
[freebsd]: http://www.freebsd.org/