How to setup a TeamSpeak 3 server on Linux
This will walk you through the simple steps on how to setup a TeamSpeak 3 server on linux. This can be very useful if you wanted to run a TeamSpeak 3 server on a VPS and have complete control of it. Personally I like using a VPS Server to run TeamSpeak 3. It gives me complete control and I don’t need to rely on another provider. When I first went to install TeamSpeak 3 on a Linux server I found it was a little tricky. After a few rounds of trial and error I found a very simple process and was up and running in less than 10 minutes. Below are the simple steps I took to get my TeamSpeak 3 server up and running in a few minutes.
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.
Full Screencast on installing and setting up TS3 on a VPS with Auto Restart Script.
You can watch the video or you can read the basic install below.
The fist step is creating the user for your TS3 installation.
You need to create a password for the user. You will need to enter the password 2 times.
You will need to change the file permissions for the user to 0755. You do this by running the following command.
You now need to go into that directory
chmod 755 /home/ts3user
Once the user is created and file permissions set you will need to switch to that user.
Now you need to go into the directory
Once in the directory, 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 CentOs 6.3 so I will use the following url.
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.
Once the file is downloaded you need to unpack it.
tar -zxvf teamspeak3-server_linux-amd64-18.104.22.168.tar.gz
Now you need to delete the downloaded file.
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.
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.
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.
Your server is now running. You can stop, start and restart the server with the same command. You simply need to change the command at the end.
I hope this helps.