I've been looking for posts about installing TSS on FreeBSD, and I couldn't see anyone describing the way I normally do it. So, I thought I'd describe my procedure for a clean TeamSpeak on FreeBSD install.
This quick guide presumes your FreeBSD box is
only going to be used as a TeamSpeak server. If it's also going to be a gateway/NAT/firewall/etc., then you probably want to spend some time locking it down before, and after, installing TS.
- Install the latest FreeBSD stable release from a bootable CD.
- Login and install the cvsup package,
- pkg_add -r cvsup-without-gui (compiling cvsup builds Modula-3, which takes a LONG time, so I use the package)
- Launch cvsup to update your ports,
- cvsup -L 2 -h cvsup.FreeBSD.org /usr/share/examples/cvsup/ports-supfile
- Install the amazing "portupgrade" utilities,
- cd /usr/ports/sysutils/portupgrade
- Update the ports/packages database so all ports are fresh and indexed,
- Install TeamSpeak using the portupgrade utils. "portinstall" will download and compile TeamSpeak, as well as any dependencies...
- portinstall teamspeak_server
- ... grab yourself a brew/snack/movie, while that builds...
- Edit rc.conf to launch TSS at startup,
- teamspeak_enable="YES" <- ( Add that line in rc.conf )
- Reboot,
- During startup, you should see TeamSpeak server startup if all has gone well... Yay!
- Login and check the TS log file to get your passwords. The log is in the same place as the binary, which normally puts it at...
- cat /usr/local/lib/teamspeak_server/server.log
- Jump on another computer and connect to the web admin interface! That's it!
I can't stress enough how good those portupgrade utils are. They take all the work out of building and installing software from source. More importantly, when combined with CVSup, it's extremely easy to keep your software up-to-date with the latest patches and dependencies. Compiling and installing software is as easy as
looking up what you want in the port system, and just telling
portinstall to build it.
Since that was all so easy, you probably want to jump in and
build an optimised kernel for your new system! Go!
Kord