[Cialug] Building a Server with FreeBSD 7

Todd Walton tdwalton at gmail.com
Sun Jun 8 12:03:08 CDT 2008


I'm installing FreeBSD for the first time, using "Building a Server
with FreeBSD 7" by Bryan Hong from No Starch Press.  I've come to two
mistakes.

Firstly, he suggested inverting the normal path, i.e. putting the
/usr/local stuff at the front.  His reasoning is that if you install
programs, you want their executables to run when you type that
command.  But if FreeBSD has a command by the same name, and you
hadn't inverted the path, then that would run instead.  Right off,
this triggers my wary-meter.  Is that advisable?  But I did it anyway.
 When I logged out and then back in (could I have sourced ~/.cshrc
instead?) I get a % prompt instead of hostname and #, and 'echo $path'
lists /usr/locals at the end anyway.  So I undid that change.

Secondly, after configuring sshd he said to run '/usr/rc.d/sshd
restart'.  Nonesuch file exists.  It's in /etc/rc.d rather than
/usr/rc.d.  I'm running the very version he says to be running.
Wouldn't an editor have caught that?

So far I like the book.  I really like the task based approach.

-todd


More information about the Cialug mailing list