TeamSpeak is a software Voice over Internet Protocol (VoIP) that can be used for the players of online games to communicating to each others or talking directly. Using a Voice over IP software is a must if you like to play online games like first-person shooter (FPS), online RPG, MMORPG or other online games. The ability to talk directly using Voice over IP software makes it easy for you to communicate with each other without having to type to communicate.
This is the prerequisites before you start the tutorial.
Create host for TeamSpeak Server in local environment or you can use vps server here
SSH Client, you can download here
Credential for access server using ssh client.
root@host-ubuntu:~# sudo apt-get update && sudo apt-get -y upgrade
Option -disabled-login to limit new user permissions. In this case teamspeak user not be able to login on the system and new user created for security reason.
root@host-ubuntu:~# sudo adduser --disabled-login teamspeak
Download the teamspeak package from its website, customize it with server specifications. The download link below is the latest teamspeak version, if any newer, it can be replace.
root@host-ubuntu:~# wget http://dl.4players.de/ts/releases/126.96.36.199/teamspeak3-server_linux_amd64-188.8.131.52.tar.bz2
Next we will extract the downloaded package
root@host-ubuntu:~# tar -jxvf teamspeak3-server_linux_amd*.tar.bz2
To move the extracted teamspeak file to the user directory, run the command below.
root@host-ubuntu:~# sudo mv teamspeak3-server_linux_amd64 /usr/local/teamspeak
Change the owner of the directory to user teamspeak.
root@host-ubuntu:~# sudo chown -R teamspeak:teamspeak /usr/local/teamspeak
To connect the ts3server_startscript.sh file into the /etc/init.d/teamspeak directory
root@host-ubuntu:~# sudo ln -s /usr/local/teamspeak/ts3server_startscript.sh /etc/init.d/teamspeak
Next we will make teamspeak automatically run after the system boot
root@host-ubuntu:~# sudo update-rc.d teamspeak defaults
After that create some firewall rules
root@host-ubuntu:~# sudo ufw allow 9987/udp root@host-ubuntu:~# sudo ufw allow 10011/tcp root@host-ubuntu:~# sudo ufw allow 3033/tcp
Once you are done, save the file and close the editor. Now we will activate the script so that it will start on boot. check the ts3server_startscript.sh file have linked into the /etc/init.d/teamspeak directory
root@host-ubuntu:~# sudo service teamspeak start
When you first try to connect to your TeamSpeak server, you may be prompted to use a privilege key. This privilege key allows to administrate your TeamSpeak server. To get this privilege key, use the following command:
root@host-ubuntu:~# cat /usr/local/teamspeak/logs/ts3server_*
you'll see something that looks like this:
dont forget to copy token on the bottom, you'll need for client privilege key access.
First, you need to download TeamSpeak Client 32-bit here or TeamSpeak Client 64-bit here. Then install TeamSpeak Client into your Windows OS. If you used another OS (macOS, Linux), you can download the TeamSpeak Client here.
Once you launch the installed TeamSpeak Client, you are requested as usual to read the disclaimer and then you need to approve it.
After successfuly connect from Client to Server, you need to setup several things. The first thing you need to do when TeamSpeak Client is connect to a TeamSpeak Server.
All is done, now you can share the server address with the friends you want to communicate with and then start communicating :)
This is it. I hope you can understand to create TeamSpeak Server and use TeamSpeak Client from this tutorial. If you encounter any bugs or documentation errors, please comments below :)