I am going to share my personal experience of installing TeamSpeak 3 on a Linux based server. This could be a VPS or Dedicated server, no matter which one. Personally I am not a gamer, but a friend of mine who regularly plays asked me to install TeamSpeak 3 on his VPS. Actually, TeamSpeak 3 is not complicated to install, but if you’ve never dealt with Linux before or if you have a very minor experience with Linux, you may find this guide useful.
Before I explain how to install TeamSpeak 3, I would like to say that there are several different options to configure this program with different databases such as MySQL or PgSQL, but in this article I will explain how to do a basic installation of TeamSpeak 3 with the default LiteSQL database that comes with software package.
So let’s start our basic installation of TeamSpeak 3 on Linux server from the very beginning.
Step 1. Preparation
As a first step let’s download the latest version of TeamSpeak 3 server side application from their official website. You can download it here: http://www.teamspeak.com/?page=downloads
Just find the Linux section and select ‘Server amd64′, if you have a Linux 64 bit OS or Server x86 if you have a regular 32bit OS.
To find which OS is installed on your server, execute the following command via SSH:
This should display a current version of your OS.
When you found what OS is installed on your server, please go ahead and start downloading.
Step 2. Downloading
To download package from the command line, use following command:
Just replace ‘url’ with the actual download link.
Step 3. Installation
Once the TeamSpeak 3 package is downloaded, execute the command below:
#tar xvfz teamspeak3-server_linux-xxx-xx-x-x-x.tar.gz
Just replace ‘xxx’ with your actual TeamSpeak version, since this could be changed after the update of current TeamSpeak version. The above mentioned command will unzip the installation package to stand alone folder.
This will bring you to the installation folder.
Now you need to upload the license key in this folder (contact TeamSpeak representative if you need to obtain a TeamSpeak license). You can use the above mentioned command ‘wget’ + ‘url’ or simply create a file licensekey.dat and insert your license key there.
At this point you are ready to install your TeamSpeak 3 server with the basic predefault settings. Execute the following command to start the installation:
If no error happened, you will see something similar:
I M P O R T A N T
Server Query Admin Acccount created
loginname= “serveradmin”, password= “xxxxxx”
——————————————————————2012-02-10 13:13:45.757107|INFO |Accounting | | Licensing Information
2012-02-10 13:13:45.757292|INFO |Accounting | | type : Non-profit
2012-02-10 13:13:45.757440|INFO |Accounting | | starting date : Fri Feb 10 00:00:00 2012
2012-02-10 13:13:45.757541|INFO |Accounting | | ending date : Fri Aug 10 00:00:00 2012
2012-02-10 13:13:45.757632|INFO |Accounting | | max virtualservers: 10
2012-02-10 13:13:45.757722|INFO |Accounting | | max slots : 512
2012-02-10 13:13:45.780202|INFO |FileManager | | listening on 0.0.0.0:30033
2012-02-10 13:13:45.786677|INFO |VirtualSvrMgr | | executing monthly interval
2012-02-10 13:13:45.787014|INFO |VirtualSvrMgr | | reset virtualserver traffic statistics
2012-02-10 13:13:46.402806|INFO |VirtualServer | 1| listening on 0.0.0.0:9987
2012-02-10 13:13:46.403496|INFO |VirtualServer | 1| client ‘server'(id:0) added privilege key for servergroup ‘Server Admin'(id:6)
2012-02-10 13:13:46.403552|WARNING |VirtualServer | 1| ——————————————————–
2012-02-10 13:13:46.403592|WARNING |VirtualServer | 1| ServerAdmin privilege key created, please use the line below
2012-02-10 13:13:46.403630|WARNING |VirtualServer | 1| token=FA7l5dKTuWOXsow49C3Mu5tVzX7NEnF6lR6KUkr3
2012-02-10 13:13:46.403681|WARNING |VirtualServer | 1| ————————————————————————————————————————–
I M P O R T A N T
ServerAdmin privilege key created, please use it to gain
serveradmin rights for your virtualserver. please
also check the doc/privilegekey_guide.txt for details.token=xxxxxxxxxxxxxxxxxxxx
——————————————————————2012-02-10 13:13:46.426045|INFO |CIDRManager | | updated query_ip_whitelist ips: 127.0.0.1,
2012-02-10 13:13:46.426775|INFO |Query | | listening on 0.0.0.0:10011
Copy/Paste the similar text and save it somewhere on your computer.
4. Almost done!
Now you are ready to launch TeamSpeak 3 for the first time.
Execute the following command to stat TeamSpeak 3 server:
ts3server_startscript.sh supports the following attributes start|stop|restart|status
Use them to start/stop or restart your TeamSpeak server.
5. Last important step to complete
In order to get administrative privileges over the newly installed TeamSpeak server, you need to install a user client application. After the installation of the user client application you should connect to the TeamSpeak server to complete one more thing.
At the users application interface find the window Tools/ServerQuery on the left side of TeamSpeak client, and insert code below into that window:
login serveradmin ‘password-here’
servergroupaddclient sgid=2 cldbid=2
Just replace ‘password-here’ to the actual password which you’ve got after the installation of TeamSpeak.
This action will give you administrative privileges over the TeamSpeak server, which is pretty important.
Congrats! You’re Done!
If you are looking for a server to install TeamSpeak, you may also check our offers. Both our Windows and Linux packages would be good for a TeamSpeak. Also we would be glad to assist you with its installation and configuration of TeamSpeak if needed at no extra costs.