Teamspeak3 Server

From Amahi Wiki
Jump to: navigation, search

Purpose

This is a tutorial for installing Teamspeak 3 Server on Fedora. This has been tested and confirmed on Fedora 21 but should work on other Fedora versions as well as Ubuntu.

Create user

First either directly on the sever or via SSH login as root:

   su -

Then we will create a user for which teamspeak can operate solely under:

   sudo adduser teamspeak

Now switch to that user and access its home directory:

   su teamspeak
   cd /home/teamspeak

Download and install

Now we will download teamspeak 3 , unpack and remove the archive (please note you can adjust the version on the downloads for future updates):

32 Bit

   wget http://dl.4players.de/ts/releases/3.0.12.3/teamspeak3-server_linux-x86-3.0.12.3.tar.gz
   tar xzf teamspeak3-server_linux-x86-3.0.12.3.tar.gz
   cd teamspeak3-server_linux-x86
   cp * -R /home/teamspeak
   cd ..
   rm teamspeak3-server_linux-x86 -r
   rm teamspeak3-server_linux-x86-3.0.12.3.tar.gz


64Bit

   wget http://dl.4players.de/ts/releases/3.0.11.3/teamspeak3-server_linux-amd64-3.0.12.3.tar.gz
   tar xzf teamspeak3-server_linux-amd64-3.0.12.3.tar.gz
   cd teamspeak3-server_linux-amd64
   cp * -R /home/teamspeak
   cd ..
   rm teamspeak3-server_linux-amd64 -r
   rm teamspeak3-server_linux-amd64-3.0.12.3.tar.gz


Auto Start Server

Now we will setup teamspeak 3 server to autostart on reboot:

   crontab -e

Press insert

Now enter the following:

   @reboot /home/teamspeak/ts3server_startscript.sh start

Press :w (to save)

Press :q (to quit)


Now lets verify it was added correctly:

   crontab -l

Launch Server

Now we can start the server:

   ./ts3server_startscript.sh start

**IMPORTANT** Copy and paste to notepad the Server Query Admin Account details as well as the Security Token as these will be needed to gain access to your server.

Final Verification

Alright lets reboot:

   su 
   reboot now

Reconnect to server via SSH or directly on machine and enter the following to check the status:

   /home/teamspeak/ts3server_startscript.sh status

You should see: Server is running

Client Login

Now we can gain access to the server via teamspeak 3 client

Click on connect and your address will be the DNS amahi has provided. Enter the username you would like to use for the adminstartor of your server and hit connect. Upon connecting you will be asked for your token key enter it now. Now you should have access and be able to set a password and make other adjustments.


Port Forwarding

Now for anyone outside of your local network to gain access to your Teamspeak 3 server you will have to open up port ****.

That's it you should have a fully functioning teamspeak 3 server running.