Installing Teamspeak 3 server Debain 9.3 (tested/working)

Last Tested: 03/25/2018


Prerequisites
yum update
yum install nano vim wget perl tar net-tools bzip2

User Account
useradd teamspeak
passwd teamspeak

Install TS3 Server
wget http://dl.4players.de/ts/releases/3.5.0/teamspeak3-server_linux_amd64-3.5.0.tar.bz2
tar -xvf teamspeak3-server_linux_amd64-3.5.0.tar.bz2
mv teamspeak3-server_linux_amd64 teamspeak3
cp -R teamspeak3 /home/teamspeak/
chown -R teamspeak:teamspeak /home/teamspeak/teamspeak3/

Starting Server
su - teamspeak
cd teamspeak3/
./ts3server_startscript.sh start

Admin / Password / One Time Token

After you run ts3server_minimal_runscript.sh you will be see some information on the screen.

Make note of the following. loginname | password | token

''''
------------------------------------------------------------------
                      I M P O R T A N T
------------------------------------------------------------------
               Server Query Admin Account created
         loginname= "serveradmin", password= "MZ6QGRen"
------------------------------------------------------------------

2015-05-17 20:09:02.812141|WARNING |Accounting    |   | Unable to find valid license key, falling back to limited functionality
2015-05-17 20:09:12.002630|INFO    |              |   | Puzzle precompute time: 9175
2015-05-17 20:09:12.003680|INFO    |FileManager   |   | listening on 0.0.0.0:30033
2015-05-17 20:09:12.007627|INFO    |VirtualSvrMgr |   | executing monthly interval
2015-05-17 20:09:12.007924|INFO    |VirtualSvrMgr |   | reset virtualserver traffic statistics
2015-05-17 20:09:12.170148|INFO    |VirtualServer |  1| listening on 0.0.0.0:9987
2015-05-17 20:09:12.170670|INFO    |VirtualServer |  1| client 'server'(id:0) added privilege key for servergroup 'Server Admin'(id:6)
2015-05-17 20:09:12.170726|WARNING |VirtualServer |  1| --------------------------------------------------------
2015-05-17 20:09:12.170773|WARNING |VirtualServer |  1| ServerAdmin privilege key created, please use the line below
2015-05-17 20:09:12.170807|WARNING |VirtualServer |  1| token=4OhYyu4MNyxezxs8rRT227zzqEjUPjUh4LdEQV4Q
2015-05-17 20:09:12.170838|WARNING |VirtualServer |  1| --------------------------------------------------------

------------------------------------------------------------------
                      I M P O R T A N T
------------------------------------------------------------------
      ServerAdmin privilege key created, please use it to gain
      serveradmin rights for your virtualserver. please
      also check the doc/privilegekey_guide.txt for details.

       token=4OhYyu4MNyxezxs8rRT227zzqEjUPjUh4LdEQV4Q
------------------------------------------------------------------

2015-05-17 20:09:12.179896|INFO    |CIDRManager   |   | updated query_ip_whitelist ips: 127.0.0.1,
2015-05-17 20:09:12.180424|INFO    |Query         |   | listening on 0.0.0.0:10011

Open the ports needed
firewall-cmd --zone=public --add-port=9987/udp --permanent
firewall-cmd --zone=public --add-port=10011/tcp --permanent
firewall-cmd --zone=public --add-port=30033/tcp --permanent
firewall-cmd --reload

Auto start server
nano /etc/crontab

Paste at the bottom of the file

@reboot teamspeak /home/ts3srv/teamspeak3-server_linux_amd64/ts3server_startscript.sh start

A Record

ts.somedomain.com

Connect to a server running on port 9988. Using ts1.somedomain.com

Service: _ts3
Protocol: _udp
Name: ts1
Priority: 1
Weight: 10
Port: 9988
Target: ts.somedomain.com