Difference between revisions of "Teamspeak3 Server"

From Amahi Wiki
Jump to: navigation, search
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
== Purpose ==
 
== 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.
+
This is a tutorial for installing [https://www.teamspeak.com/teamspeak3 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 ==
 
== Create user ==
First either directly on the sever or via SSH login as root:
+
[[Open Terminal as root]]:
    su -
 
  
Then we will create a user for which teamspeak can operate solely under:
+
* Create a user for which teamspeak can operate solely under:
     sudo adduser teamspeak
+
     adduser teamspeak
  
Now switch to that user and access its home directory:
+
* Switch to that user and access its home directory:
 
     su teamspeak
 
     su teamspeak
 
     cd /home/teamspeak
 
     cd /home/teamspeak
Line 18: Line 17:
 
Now we will download teamspeak 3 , unpack and remove the archive (please note you can adjust the version on the downloads for future updates):
 
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
+
<u>32-Bit:</u>
 
    
 
    
     wget http://dl.4players.de/ts/releases/3.0.12.3/teamspeak3-server_linux-x86-3.0.12.3.tar.gz
+
     wget <nowiki>http://dl.4players.de/ts/releases/3.0.12.3/teamspeak3-server_linux-x86-3.0.12.3.tar.gz</nowiki>
 
     tar xzf 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
 
     cd teamspeak3-server_linux-x86
Line 27: Line 26:
 
     rm teamspeak3-server_linux-x86 -r
 
     rm teamspeak3-server_linux-x86 -r
 
     rm teamspeak3-server_linux-x86-3.0.12.3.tar.gz
 
     rm teamspeak3-server_linux-x86-3.0.12.3.tar.gz
----
 
  
 
+
<u>64-Bit:</u>
64Bit
 
 
    
 
    
     wget http://dl.4players.de/ts/releases/3.0.11.3/teamspeak3-server_linux-amd64-3.0.12.3.tar.gz
+
     wget <nowiki>http://dl.4players.de/ts/releases/3.0.12.3/teamspeak3-server_linux-amd64-3.0.12.3.tar.gz</nowiki>
 
     tar xzf 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
 
     cd teamspeak3-server_linux-amd64
Line 39: Line 36:
 
     rm teamspeak3-server_linux-amd64 -r
 
     rm teamspeak3-server_linux-amd64 -r
 
     rm teamspeak3-server_linux-amd64-3.0.12.3.tar.gz
 
     rm teamspeak3-server_linux-amd64-3.0.12.3.tar.gz
 
  
 
== Auto Start Server ==
 
== Auto Start Server ==

Latest revision as of 20:15, 23 March 2016

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.