How to Make a TeamSpeak 3 Server on Linux, Windows, and macOS

VPS
Apr 14, 2022
Domantas G .
7min read

How to Make a TeamSpeak 3 Server on Linux, Windows, and macOS

How to Make a TeamSpeak 3 Server on Linux, Windows, and macOS TeamSpeak 3 is a voice-over-internet protocol ( VoIP ) application that lets users commune and collaborate using articulation in real-time.

Download Complete Linux Cheat Sheet
It ’ s a dependable and lightweight tool with special features, such as military-grade encoding, minimal reaction time, and high audio quality .
People use the TeamSpeak VoIP application for diverse purposes. It ’ randomness normally used for voice chatting while playing games with friends and conducting inner communications in business settings .
In this usher, you will learn how to create a TeamSpeak server on your computer. Whether you use VPS with Ubuntu 16.04, CentOS 7 or you calculator with Windows or macOS, we have got you covered .

How to Make a TeamSpeak 3 Server on Ubuntu 16.04

To begin, let ’ s set up a TeamSpeak server on Linux VPS running the Ubuntu 16.04 manoeuver organization .
Start the procedure by accessing your VPS via SSH. The take after procedure can be broken down into 6 simple steps .
Before you continue, check if your system is up to go steady by entering the take after command into the concluding :

apt-get update && apt-get upgrade

Step 1 – Create a New System User

First of all, add a new drug user by executing the follow command :

adduser --disabled-login teamspeak

You will be requested to enter the personal user details and confirm that they are adjust. Keep in beware that all fields can be left blank .
then, access the home directory of the newly created exploiter :

cd /home/teamspeak

Step 2 – Download and Extract TeamSpeak 3 Server

The next job will be to download the latest TeamSpeak 3 server software for Linux. You may utilize the wget command to download the apparatus file directly to the VPS :

wget https://files.teamspeak-services.com/releases/server/3.13.6/teamspeak3-server_linux_amd64-3.13.6.tar.bz2

Once it finishes, extract the download file :

tar xvf teamspeak3-server_linux_amd64-3.13.6.tar.bz2

All the contents will appear in the teamspeak3-server_linux_amd64 folder. The next thing will be moving everything to /home/teamspeak and removing the download archive :

cd teamspeak3-server_linux_amd64 && mv * /home/teamspeak && cd .. && rm -rf teamspeak3-server_linux_amd64-3.13.6.tar.bz2

Make sure to check your TeamSpeak software adaptation and enter the commands consequently. If you enter the incorrect version count, TeamSpeak won ’ thyroxine streak .
Execute the ls command. You should see a screen similar to the case below if everything was done correctly :

Step 3 – Accept the TeamSpeak 3 License Agreement

Since the dismissal of TeamSpeak 3 waiter version 3.1.0, it is mandatary to accept the license agreement. The quickest way to do it is by running the following command :

touch /home/teamspeak/.ts3server_license_accepted

This will create a new empty charge called .ts3server_license_accepted, meaning you have accepted the license terms .

Step 4 – Start the TeamSpeak 3 Server on Startup

immediately, it ’ south time to set up the TeamSpeak server to start when the server boots up. We will need to create a file called teamspeak.service in the /lib/systemd/system directory. The following command will do the trick :

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

The file should consist of :

[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

Paste the content into the newly created file and save it. next, we ’ ll activate the script and make it start on server startup :

systemctl enable teamspeak.service
systemctl start teamspeak.service

double-check if it was added successfully by running :

systemctl | grep teamspeak.service

If the TS 3 server is running correctly, you will see the stick to result :
You may besides obtain a detail TeamSpeak server status report by executing :

service teamspeak status

Step 5 – Retrieve the Privilege Key

Since the TeamSpeak 3 waiter is now running, let ’ s get the last man of the perplex – the privilege key. You ’ ll motivation to paste it when connecting to the server for the first fourth dimension. You can view it with the stick to command :

cat /home/teamspeak/logs/ts3server_*

Step 6 – Connect via the TeamSpeak Client

The last footstep is to connect to the newly created TS3 server and apply the privilege key. Use your dedicate VPS IP address when connect .
You ’ ll be immediately prompted to enter the server admin token :

You ’ ve successfully created and connected to a TeamSpeak 3 server on Ubuntu 16.04 VPS .

How to Make a TeamSpeak 3 Server on CentOS 7

Setting up a TeamSpeak server on VPS running CentOS 7 is like to the procedure above. It can besides be split into six steps. Start by accessing your VPS via SSH and updating the arrangement :

yum -y update

Step 1 – Create a New System User

Begin by creating a new drug user for the TeamSpeak 3 server. Execute the trace command :

adduser teamspeak

This will create the drug user and set its home directory to /home/teamspeak. Access it with :

cd /home/teamspeak

Step 2 – Download and Extract the TeamSpeak 3 Server

now, download TeamSpeak 3 server setup for Linux. The quickest way to do it is by using the wget command :

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

After the download finishes, you ’ ll motivation to extract the archive :

tar xvf teamspeak3-server_linux_amd64-3.12.1.tar.bz2

The extract files will be in the teamspeak3-server_linux_amd64 folder. Use the come commands to move everything one directory up and to remove the educe server apparatus file :

cd teamspeak3-server_linux_amd64 && mv * /home/teamspeak && cd .. && rm -rf teamspeak3-server_linux_amd64-3.12.1.tar.bz2

If all goes well, you should see this screen after entering the ls instruction :

Step 3 – Accept the TeamSpeak 3 License Agreement

TeamSpeak 3 requires you to accept their license agreement. There are a few ways to do it. The simplest matchless is to execute :

touch /home/teamspeak/.ts3server_license_accepted

A file named .ts3server_license_accepted will appear, meaning that you agreed to the license terms .

Step 4 – Start the TeamSpeak 3 Server on Startup

following, we ’ ll necessitate to enable the TeamSpeak 3 waiter and start it on waiter inauguration :


copy and glue the script below, which will take worry of the TS3 waiter inauguration for you :

[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

For a more detail TeamSpeak server report, embark :

service teamspeak status

Step 5 – Retrieve the Privilege Key

One last thing you have to do is copy the TeamSpeak server nominal, otherwise known as the prerogative key. You may locate it by entering this command :

cat /home/teamspeak/logs/ts3server_*

Step 6 – Connect via the TeamSpeak Client

last, it ’ s time to use the created server. Establish a raw connection using the TeamSpeak node and enter your dedicated VPS IP address in the Server Nickname or Address airfield .
once prompted, paste in the previously retrieved prerogative key .
Congratulations – you ’ ve successfully set up a TeamSpeak 3 waiter on CentOS 7 VPS .

How to Make a TeamSpeak 3 Server on Windows

Setting up a TeamSpeak waiter on Windows is easy. In fact, it can be done in three easy steps .

Step 1 – Download and Extract the TeamSpeak 3 Server

First of all, download the TeamSpeak 3 server software for Windows. then, extract it in the coveted location .

Step 2 – Run the TeamSpeak 3 Server Installer

Open the excerpt TS3 server files and run ts3server.exe .
You ’ ll be prompted to accept the license agreement and asked if the Windows firewall should whitelist this software .
After that, you will get your server login name, password, API key, and server admin nominal or privilege key. Copy all four values to an evacuate Notepad file for later practice .

Step 3 – Connect via the TeamSpeak Client

once the installation process finishes, the end step is connecting to the TS3 waiter .
Download the TeamSpeak 3 node from the official web site and run the .exe installer .
following, open the node and go to Connections – > Connect .
In case you ’ re not sure what IP address to use for connect, open your Command Prompt and execute :

ipconfig

front for the IPv4 Address value. You will need to use it when connecting .
last, you will need to paste the privilege key to gain admin rights .
That ’ s it – you ’ ve set up a TeamSpeak 3 server on Windows .

How to Make a TeamSpeak 3 Server on macOS

It ’ mho besides possible to make a TeamSpeak 3 server on macOS. The whole apparatus can be completed in four simple steps .

Step 1 – Download and Extract the TeamSpeak 3 Server

start by downloading the TeamSpeak 3 server binary apparatus file for Mac. once finished, double-click to extract it .

Step 2 – Accept the TeamSpeak 3 License Agreement

open Terminal and execute the watch command to accept the license agreement :

touch .ts3server_license_accepted

Step 3 – Start the TeamSpeak 3 Server and Retrieve Your Privilege Key

navigate to the extracted TeamSpeak 3 server files using the same end window. Run this instruction :

cd Downloads/teamspeak3-server_mac

Start the server by entering :

./ts3server

If you get a warning about TeamSpeak not being recognized as an identify developer, make sure to temporarily override the security settings in System Preferences .
Wait a few moments for the process to finish. You will receive your privilege key :

Step 4 – Connect via the TeamSpeak Client

You ’ ra now quick to use the TeamSpeak 3 waiter. When connecting, use the IP shown in the System Preferences -> Network section. You might have to override your security settings again to launch the TeamSpeak application .
Don ’ t forget to paste in the privilege key to gain server admin rights .
Congratulations, you ’ ve created a TeamSpeak 3 server and connected to it on macOS .

Bonus: How to Point a Domain to a TeamSpeak 3 Server

This segment will teach you how to point your existing world to the TeamSpeak 3 server you precisely created .
This will make logging into the server easier because you won ’ t have to remember the IP address and port combination – fair the sphere name .
Before proceeding with the next step, go to the DNS Zone Editor on your sphere registrar report. In this model, we ’ ll use a domain name that was registered through Hostinger. The steps should be exchangeable to other registrars .

Step 1 – Create the Subdomain Using A Records

Log into hPanel and navigate to Domains. Click on the desired domain name and choose DNS / Nameservers.  
In the section Manage DNS records, create a subdomain and point it to the TeamSpeak 3 server .

  • Type – choose A.
  • Name – specify the subdomain name.
  • Points to – enter the IP address of your TeamSpeak 3 server instead of the sample 93.188.167.216 address.
  • TTL – this term stands for Time to live, which limits the lifetime of this record. Leave the default value.

Click Add Record .
Make sure that the A record is pointed correctly and propagated well earlier proceeding to the adjacent footstep .

Step 2 – Create SRV record

Under Manage DNS Records, add a new SRV read .

  • Type – choose SRV.
  • Name – here, specify the service name _ts3 and protocol _udp, separated by a dot. The final result should look similar to: _ts3._udp.teamspeak.yourdomain.com. 
  • Weight – for records with the same priority, set it to 5.
  • Port – enter your server’s port. Alternatively, the default TeamSpeak 3 server port is 9987.
  • Target – instead of teamspeak.yourdomain.com enter the subdomain that you have created in Step 1.
  • Priority – give this record the biggest priority and set the value to 0.
  • TTL – leave the default value here.

Click Add Record .
note that it can take up to 24 hours for the new DNS records to propagate worldwide. You can besides try to clear your DNS cache. That ’ s it – you have pointed a domain to the TeamSpeak server via the DNS SRV phonograph record. immediately, you can easily connect to your server by using a childlike subdomain .

Conclusion

TeamSpeak 3 is a voice-over-internet protocol ( VoIP ) application popular among on-line gamers, coworkers, and friends .
In this guide, you have learned how to create a TeamSpeak 3 server on four different operating systems :

  • Ubuntu
  • CentOS 7
  • Windows
  • macOS

If you have any tips, tricks, or ideas, do not hesitate to share them in the comments section below. good luck !
Author
The writer

Domantas G .
Domantas leads the subject and SEO teams forward with fresh ideas and out of the box approaches. Armed with extensive SEO and market cognition, he aims to spread the word of Hostinger to every corner of the universe. During his free time, Domantas likes to hone his vane development skills and travel to exotic places .

informant : https://thefartiste.com
Category : Tech

About admin

I am the owner of the website thefartiste.com, my purpose is to bring all the most useful information to users.

Check Also

articlewriting1

Manage participants in a zoom meeting webinar

Call the people who attend the meet as follows Alternate host host Who scheduled the …

Leave a Reply

Your email address will not be published.