Jump to content


Tutorial info Visit support topic

  • Added on: Oct 12 2011 05:53 AM
  • Date Updated: Apr 02 2013 12:31 PM
  • Views: 17356
  • Video Runtime: 0.00
 


* * * * *
1 Ratings

Installing TeamSpeak 3 server on Linux

This tutorial will walk you through how to install Teamspeak 3 on a Linux Server.

Posted by killigan on Oct 12 2011 05:53 AM

You do not want to run teamspeak as the root user. We will start with creating a user, password and setting the file permissions correctly. You will need to login to your server using Putty or another ssh program. I personally use WinSCP and PuTTy.

useradd ts3user

You need to create a password for the user. You will need to enter the password 2 times.

passwd ts3user

You will need to change the file permissions for the user to 0755. You do this by running the following command.

chmod 755 /home/ts3user

I personally log out of puTTy at this point and then come back in and switch users.

Once the user is created and file permissions set you will need to switch to that user.

su ts3user

Once you switch, you will be in the users directory. Now you need to download the version of teamspeak you want to use. You can get that from http://www.teamspeak...page=downloads
I am using 64bit so I will use the following url.

http://teamspeak.gameserver.gamed.de/ts3/releases/3.0.7.1/teamspeak3-server_linux-amd64-3.0.7.1.tar.gz

To download the file simply copy the url and paste it into the command window by right clicking. You will need to use the wget command before the url. It will look like this.

wget http://teamspeak.gameserver.gamed.de/ts3/releases/3.0.7.1/teamspeak3-server_linux-amd64-3.0.7.1.tar.gz

Once the file is downloaded you need to unpack it.

tar -zxvf teamspeak3-server_linux-amd64-3.0.7.1.tar.gz

Now you need to delete the downloaded file.

rm teamspeak3-server_linux-amd64-3.0.7.1.tar.gz

We can now change the name of the folder so it is a little shorter.

mv teamspeak3-server_linux-amd64 teamspeak3-server

Now you will need to go into that directory.

cd teamspeak3-server

You do not have a ts3server.ini file yet so we need to create one. This is the file we will need to edit so we can change the ip address and ports if needed.

./ts3server_minimal_runscript.sh createinifile=1

You will get some information including your master token key. Copy it by highlighting it and using normal copy ctrl+c. Now you need to edit the ts3server.ini file. You can download this file from the root/home/ts3user/teamspeak3-server_linux-amd64 folder on your server. For starters, you just need to add the ip address for the voice connection. Upload the file and then start the server.

./ts3server_startscript.sh start

Note: I will follow this up with a video tutorial for those that prefer them.
Thanks,
killigan


Powered by Tutorials 1.5.0 © 2014, by Michael McCune