Kordau
06-01-2007, 23:13
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 (http://www.freebsd.org/releases/) from a bootable CD.
Login and install the cvsup (http://www.uk.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html) 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 (http://www.freebsd.org/cgi/url.cgi?ports/sysutils/portupgrade/pkg-descr)" utilities,
cd /usr/ports/sysutils/portupgrade
make install clean
Update the ports/packages database so all ports are fresh and indexed,
pkgdb -F
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,
vi /etc/rc.conf
teamspeak_enable="YES" <- ( Add that line in rc.conf )
Reboot,
shutdown -r now
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!
http://10.10.10.11:14534 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 (http://www.uk.freebsd.org/ports/), and just telling portinstall to build it (http://www.freebsd.org/cgi/man.cgi?query=portupgrade&sektion=1&manpath=FreeBSD+6.1-RELEASE+and+Ports).
Since that was all so easy, you probably want to jump in and build an optimised kernel for your new system (http://www.uk.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-custom-kernel.html)! Go!
Kord
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 (http://www.freebsd.org/releases/) from a bootable CD.
Login and install the cvsup (http://www.uk.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html) 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 (http://www.freebsd.org/cgi/url.cgi?ports/sysutils/portupgrade/pkg-descr)" utilities,
cd /usr/ports/sysutils/portupgrade
make install clean
Update the ports/packages database so all ports are fresh and indexed,
pkgdb -F
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,
vi /etc/rc.conf
teamspeak_enable="YES" <- ( Add that line in rc.conf )
Reboot,
shutdown -r now
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!
http://10.10.10.11:14534 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 (http://www.uk.freebsd.org/ports/), and just telling portinstall to build it (http://www.freebsd.org/cgi/man.cgi?query=portupgrade&sektion=1&manpath=FreeBSD+6.1-RELEASE+and+Ports).
Since that was all so easy, you probably want to jump in and build an optimised kernel for your new system (http://www.uk.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-custom-kernel.html)! Go!
Kord