GNU/Linux TeamSpeak 3 Server Tutorial
Written by: Rodo Abad
Posted on: Dec 23, 2009 04:34:04 AM

GNU/Linux TeamSpeak 3 Server TutorialTeamSpeak is a VOIP software that allows users to chat on a channel with other users. On December 2009, TeamSpeak 3 beta was released to the public. Here's a tutorial on how to install, setup and run a 64-bit GNU/Linux TeamSpeak 3 server.

First off I'm going to assume that you're not logged in as a super user (root) and that you're already logged in to the user account you want to use for your TS3 installation. So the first step would be creating a directory for your TS3 installation.

mkdir teamspeak3

Then go that directory...

cd teamspeak3

We then download the latest version of TS3 using wget (for this tutorial, the latest version is 3.0.0 beta5).

wget http://ftp.4players.de/pub/hosted/ts3/releases/beta-5/teamspeak3-server_linux-amd64-3.0.0-beta5.tar.gz

We then unpack it using tar.

tar zxvf teamspeak3-server_linux-amd64-3.0.0-beta5.tar.gz

NOTE: if you're wondering what the letters mean, z stands for gzip/gunzip (.gz), x stands for extract, v stands for verbose, and f stands for filename.

Go to the directory which in this case is teamspeak3-server_linux-amd64.

cd teamspeak3-server_linux-amd64

There isn't any ts3server.ini file created yet so let's create one. This way we'll be able to change the IP TS3 is binded too and its ports.

./ts3server_linux_amd64 createinifile=1

Now close it by pressing Ctrl-C. Don't forget to copy/paste the admin login and password since you'll need it later. it looks like this.

------------------------------------------------------------------
                      I M P O R T A N T
------------------------------------------------------------------
              Server Query Admin Acccount created
         loginname= "serveradmin", password= "42ds23ak"
------------------------------------------------------------------

Now that youv'e setup everything (including your license key), it's time to start TS3 using screen so that it runs in the background. Don't worry you can switch your to it anytime you want.

Let's first create a file. I named mine ts3-server.

vi ts3-server

Add the following line.

screen -A -m -d -S ts3-server ./ts3server_linux_amd64

Save your file and then chmod it so it's recognized as an executable by your system.

chmod +x ts3_run

To go back to your TS3's screen, just type...

screen -r ts3-server

To close your TS3 screen without closing your server, just type...

Ctrl-A-D

NOTE: Before you tell everyone that you've just finished setting up your TS3 server, make sure that youv'e opened up the ports on your firewall otherwise no one would be able to connect to it.