TABLE OF CONTENTS
We are using a fresh machine for this tutorial, so the first thing we are going to do is update the system.
apt-get update && apt-get upgrade
Now we will create a user without the ability to log in for Teamspeak to use. We are going to use ts in place of <username>. You are free to choose any username you wish, just be advised that there are references to the user ts further in this guide. You will need to adjust those to match the username you select.
adduser --disabled-login <username>
Next, we will move to the new users' home directory, download the latest Teamspeak 3 server archive and unpack it.
cd /home/ts
su ts
wget $(curl -s https://www.teamspeak.com/en/downloads/#server | grep -o 'https://files.teamspeak-services.com/releases/server/.*/teamspeak3-server_linux_amd64-.*.tar.bz2' | head -n1) -O /home/ts/latest.tar.bz2
tar -xjf ./latest.tar.bz2 -C /home/ts/
cd teamspeak3-server_linux_amd64
mv * ..
cd ..
rm -rf latest.tar.bz2
su root
ls
Now we will accept the Teamspeak license agreement. This is not the only method available to do so, but it is generally one of the easiest. Just create a file named .ts3server_license_accepted
touch /home/teamspeak/.ts3server_license_accepted
Then we are going to set Teamspeak to start the server at boot.
sudo nano /lib/systemd/system/teamspeak.service
[Unit] Description=TeamSpeak 3 Server After=network.target [Service] WorkingDirectory=/home/ts/ User=ts Group=ts Type=forking ExecStart=/home/ts/ts3server_startscript.sh start inifile=ts3server.ini ExecStop=/home/ts/ts3server_startscript.sh stop PIDFile=/home/ts/ts3server.pid RestartSec=15 Restart=always [Install] WantedBy=multi-user.target
systemctl enable teamspeak.service systemctl start teamspeak.service
service teamspeak status
Now we need to get the privileged key for our first admin user. There will be a prompt when you log in for the first time where this information is going to be required.
cat /home/teamspeak/logs/ts3server_*
Now open your Teamspeak 3 Client and input your IP address under Connections -> Connect. For username and password, use what was supplied just above.
When you are logged in, you will be prompted to insert the Access Token that was generated alongside your admin credentials.
Congratulations! You have successfully installed and configured a basic Teamspeak 3 server that holds 32 slots.
For more information about Teamspeak 3, please visit https://www.teamspeak.com/en/support/get-started/
Join our Private Discord Chat to chat with, as well as find community assistance from other Verified SkySilk Users: https://invite.gg/SkySilk
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article