If you need a safe tool to communicate with friends and relatives, using Team Speak 3 is the best way. In this tutorial, we will show you how to build a TeamSpeak 3 server on Linux, Windows and Mac OS in just a few minutes. With the Linux version, we will use a VPS installed with Ubuntu 16.04 or CentOS 7operating system .

What is TeamSpeak 3?

TeamSpeak 3 is an online calling application (VoIP) through a chat channel. Users often use headsphone and microphone, with a client application connecting to TeamSpeak server to talk to each other. This is very effective for gamers who need to communicate with each other in the same game through multiplayer game systems. Communicating like that makes a huge advantage for a team of players because their hands are busy controlling tables and mice to play games.

Team Speak 3 server is completely free for 32 simultaneous player slots. For non-commercial purposes, this license may allow the server to support 512 slots (players) at the same time.

Instructions for using TeamSpeak 3 Server on Ubuntu 16.04

First, install Ubuntu 16.04 on your VPS, this will be the platform to create TeamSpeak 3 Server. The whole process is done by SSH connection , and goes through the following 6 basic steps.

Before starting, update the server:

apt-get update && apt-get upgrade

Step 1 – Create a new system user

First, create a new user with the following command

--disabled-login teamspeak adduser
add user for teamspeak 3

You will be asked to enter additional personal information for this user. You can fill it out or leave it blank.

Then, access the newly created user root directory:

cd / home / teamspeak

Step 2 – Download and extract the file to install Team Speak 3 server

The next step is to download the latest software of TeamSpeak 3 for Linux. You can use wget command to download the installation file directly into the VPS:

wget http://dl.4players.de/ts/releases/3.1.2/teamspeak3-server_linux_amd64-3.1.2.tar.bz2

When done, extract the file:

tar xvf teamspeak3-server_linux_amd64-3.1.2.tar.bz2

All content will be unzipped to the folder teamspeak3-server_linux_amd64 . Then move all files to / home / teamspeak and delete the downloaded archive file:

cd teamspeak3-server_linux_amd64 && mv * / home / teamspeak && cd .. && rm -rf teamspeak3-server_linux_amd64-3.1.2.tar.bz2
serverspeak content serverspeak 3

Executing the ls command you will see a similar screen if done correctly:

READ  WORDPRESS WEBSITE IS SLOW, WHY SHOULD IT BE?

Step 3 – Accept TeamSpeak 3 license agreement

With TeamSpeak version 3.1.0, you must accept the license for use. The fastest way to do so is to type the following command:

touch /home/teamspeak/.ts3server_license_accepted

This command will create an empty file called .ts3server_license_accepted , which works to agree to the license.

Step 4 – Start TeamSpeak 3 right after booting

Now install TeamSpeak 3 server to start automatically after booting. To do so, create a file named teamspeak.service located in / lib / systemd / system using the following command:

sudo nano /lib/systemd/system/teamspeak.service

Paste the following in:

[Unit]
Description = TeamSpeak 3 Server
After = network.target
[Service]
WorkingDirectory = / home / teamspeak /
User = teamspeak
Group = teamspeak
Type = forking
ExecStart = / home / teamspeak / ts3server_startscript.sh start inifile = ts3server.ini
ExecStop = / home / teamspeak / ts3server_startscript.sh stop
PIDFile = / home / teamspeak / ts3server.pid
RestartSec = 15
Restart = always
[Install]
WantedBy = multi-user.target

Save and activate the script to start when booting the server with the following command: 

systemctl enable teamspeak.service
systemctl start teamspeak.service

Check to see if it was added:

systemctl | grep teamspeak.service
teamspeak 3 server is running

If TS 3 is already running, you will see the following result:

You can check the status of details of TeamSpeak 3 with the following command:

service teamspeak statusStep 5 – Extract the privileged key

Since TS 3 is already running, you can extract the final key – privileged key. You need to use it when connecting to the server for the first time. You can get this key from the following command:

cat / home / teamspeak / logs / ts3server_ *

Step 6 – Connecting via Team Speak 3 client

connect to ts3 server

The final step is to connect to the TS3 server using the newly acquired priviledge key. Use the VPS IP address when connecting.

Enter the privileged key for the ts3 server

You will then immediately receive a notice to enter the Privilege Key.

It is done! After entering the privilege key, you can connect to TeamSpeak 3 server running on Ubuntu 16.04 VPS.

Instructions for using Team Speak 3 Server on CentOS 7

Installing TeamSpeak 3 server on VPS running CentOS 7 is similar. It can also be divided into 6 steps. Please access VPS with Putty first, then update the system:

yum -y update

Step 1 – Create a new system user

First, you need to create a separate user for TeamSpeak 3. Execute the following command:

adduser teamspeak

This command will create the user. You can then access the user’s home directory in / home / teamspeak with the following command:

cd / home / teamspeak

Step 2 – Download and extract the Team Speak server

Then download the TeamSpeak 3 installer for Linux. The fastest way to do so is to use the wget command:

wget http://dl.4players.de/ts/releases/3.1.2/teamspeak3-server_linux_amd64-3.1.2.tar.bz2

Once completed, you will need to extract the installation file with the following command:

tar xvf teamspeak3-server_linux_amd64-3.1.2.tar.bz2

The extracted file will be placed in the teamspeak3-server_linux_amd64 folder . Use the following command to move all files in this directory to the root directory and delete the downloaded installation file:

cd teamspeak3-server_linux_amd64 && mv * / home / teamspeak && cd .. && rm -rf teamspeak3-server_linux_amd64-3.1.2.tar.bz2
Teamspeak 3 ls file server

If done, you will see this screen when using the ls command :

Step 3 – Accept TeamSpeak 3 license agreement

TeamSpeak 3 requires you to accept a license agreement. There are many ways to do so, but you only need to use the following command to execute:

touch /home/teamspeak/.ts3server_license_accepted

The .ts3server_license_accepted file will appear, meaning you have agreed to the license terms.

READ  How to fix 502 bad gateway error

Step 4 – Set TeamSpeak 3 server to run on boot

Next, you need to activate the TeamSpeak 3 server so that it automatically runs when the server starts:

sudo nano /lib/systemd/system/teamspeak.service

Paste the following script, TS3 server will automatically run on boot:

[Unit]
Description = TeamSpeak 3 Server
After = network.target
[Service]
WorkingDirectory = / home / teamspeak /
User = teamspeak
Group = teamspeak
Type = forking
ExecStart = / home / teamspeak / ts3server_startscript.sh start inifile = ts3server.ini
ExecStop = / home / teamspeak / ts3server_startscript.sh stop
PIDFile = / home / teamspeak / ts3server.pid
RestartSec = 15
Restart = always
[Install]
WantedBy = multi-user.target

Save this file and enter the following 2 commands after completion:

systemctl enable teamspeak.service
systemctl start teamspeak.service

You can check whether the startup script works with the following command:

systemctl | grep teamspeak.service

To view detailed report information of the Team Speak server, enter the following command:

service teamspeak status

Step 5 – Export privileged key

The last thing you need to do is copy the Team Speak token, also known as a privileged key. You can get this information with the following command:

TeamSpeak 3 server token

cat / home / teamspeak / logs / ts3server_ *

Step 6 – Connect to the server using TeamSpeak 3 client

Connecting to teamspeak 3 server via client

Finally it’s time to use the server! Set up a new connection by using TeamSpeak 3 client. Open TS3 on and, enter IP VPS in Server Nickname or Address section .

Enter the ts3 privileged key

You will see the message to enter the privileged key. Enter the privilege key in step 5 and click OK:

That’s it, you can connect to TeamSpeak 3 server running on CentOS 7 VPS.

Instructions for using Team Speak 3 Server on Windows

Windows operating system has a very simple process to install TeamSpeak 3. You only take 3 steps to install Team Speak server on Windows.

Step 1 – Download and extract TeamSpeak 3 file

First, download the TS3 installation file for Windows OS. Then extract it to the folder you want to install.

Step 2 – Run the installer file TeamSpeak 3 server

teamspeak 3 server

Open the extracted file of TS3 and run the ts3server.exe file . You will be asked for your license, and if you want the firewall to run this file. You just need to agree is okay, then you will get priviledged key and other useful information.

Step 3 – Connect with TeamSpeak 3 client

After the installer finishes installing, the last step is to connect to the TS3 server. In case you don’t know what IP is, open the command prompt and execute the command:

ipconfig
connect to ts3 windows server

Find the IPv4 Address value . Save because it needs to be used to connect to Server Nickname or Address:

Enter privilege key for windows

Finally, you paste the privileged key to grant admin permissions.

That’s it, you’ve completed the tutorial on using TeamSpeak 3 on Windows!

Instructions for using TeamSpeak 3 on Mac OS

You can also install TeamSpeak 3 server on MacOS. This process will take place in 4 simple steps.

Step 1 – Download and unzip TeamSpeak 3 server

Start by downloading the TS3 installation file for Mac. When finished, double click on it to extract.

Step 2 – Accept the agreement TeamSpeak 3 license

Open the terminal box and execute the following command by accepting the license agreement:

set TS3SERVER_LICENSE = accept

Step 3 – Start TeamSpeak 3 Server and get privileged key

Navigate to the directory containing TS3 file with the following command:

cd Downloads / teamspeak3-server_mac

Start by typing the following command:

/.ts3server
ts3 server token on mac

Wait a while later you will see the privileged key displayed on the screen:

READ  Instructions to install MySQL in CentOS 7

Step 4 – Connect with TeamSpeak 3 client

connect to ts3 server on mac

You are now ready to use TeamSpeak 3 server. When connecting, use IP in the System Preferencessection ›Network to enter the following screen.

Enter the privileged key ts3 server

Don’t forget to paste in the privileged key to get admin permission.

Congratulations! You have successfully created TeamSpeak 3 server and can connect it with Mac OS!

Bonus: How to point a domain name to TeamSpeak 3 Server

Now that you have successfully installed TeamSpeak 3 server, simplify the installation process. In this section, you will learn how to point a domain to TeamSpeak 3 server with subdomains. This is simple because you can use a domain name instead of a combination of address and IP and port.

Step 1 – Point the subdomain to TeamSpeak 3 using A record

Point a subdomain record to teamspeak 3 server

Go to Advanced -> DNS Zone Editor and find the Host (record) section . There, create the subdomain and point it to the TeamSpeak 3 server server via A record.

  • Host  – Name the subdomain.
  • Address – Enter the IP address for TeamSpeak 3 server, here we use the example 93.188.167.216,you change this number with the IP server address.
  • TTL – Leave the default value.

Click the Save button and continue to do in the next step.

Step 2 – Create an SRV record

Create srv for teamspeak server

Also in the DNS Zone Editor, you will be managing the SRV record.

  • Name – Here you can specify the service named _ts3 and _udp protocol , separated by dots. Then enter the subdomain information. The result will be similar to the following:  _ts3._ts3._udp.teamspeak.hostinger-tutorials.com. 
  • TTL – An abbreviation of Time to live , it determines the operating time of this record. You can keep the default value.
  • Priority – If you want it to have the highest priority, set this value to 0.
  • Weight – Set it to 5 .
  • Port – Enter the server port information, TeamSpeak 3 server port default is 9987 .
  • Target – Instead of teamspeak.hostinger-tutorials.com fill in the subdomain you created in Step 1

Is it all over? Just press the Save button .

Note that it can take up to 24 hours for DNS to be promoted. You can also try clearing the DNS cache .

That’s it, you should point the domain to TeamSpeak server via DNS SRV record. You can easily connect to the server with subdomainto instead of IP!

Epilogue

In this TeamSpeak 3 tutorial, you learned how to install TS3 on 3 different platforms:

  • Linux
  • Windows
  • Mac OS

In case you have any other tips or ideas, share them in the comments below!

Read more :
Complete instructions for using TeamSpeak 3

If you need a safe tool to communicate with friends and relatives, using Team Speak 3 is the best way. In this tutorial, we will show you how to build a Te

Editor's Rating:
4

Leave a Reply

Your email address will not be published. Required fields are marked *