Teamspeak3 Server

From Amahi Wiki
Revision as of 20:15, 23 March 2016 by Bigfoot65 (talk | contribs) (→‎Download and install)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Open Terminal as root:

  • Create a user for which teamspeak can operate solely under:
   adduser teamspeak
  • 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

64-Bit:

   wget http://dl.4players.de/ts/releases/3.0.12.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 9987.

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