This doc covers basic setup of a FreeBSD server. It gets all the core OS functionality on the box, but doesn't cover application software, etc.
Install FreeBSD, using the ISO disk images from http://www.freebsd.org. During the install, you should use these settings/defaults:
Basic software installation:
/usr/ports/net/cvsup-without-gui
ports-supfile
from another server (or use the sample file)cvsup ports-supfile
to download the latest stuffNow, install from ports:
/usr/ports/shells/bash
/usr/ports/net/mtr
(this will take forever because it installs perl, etc. as dependencies)/usr/ports/www/lynx
/usr/ports/net/ntp
(then copy /etc/ntp.conf
from another server and put ntpd_enable=“YES”
in /etc/rc.conf
)/usr/ports/ports-mgmt/port-maintenance-tools
(this is the port management meta package)/usr/ports/ports-mgmt/portaudit
/usr/ports/ports-mgmt/portupgrade
/usr/ports/editors/vim
/usr/ports/security/sudo
/usr/ports/ftp/wget
/usr/ports/ftp/curl
/usr/ports/sysutils/screen
/usr/ports/net/rsync
vipw
), and add at least a toor acct. This means copying the entry for root, and changing the shell to /usr/local/bin/bash
adduser
/etc/motd
/usr/local/bin/ports_sup.sh
or similar. Run this via cron.Finally, configure rest of server as desired/needed.