Product docs and API reference are now on Akamai TechDocs.
Search product docs.
Search for “” in product docs.
Search API reference.
Search for “” in API reference.
Search Results
 results matching 
 results
No Results
Filters
Install a TeamSpeak Server on Linode
Traducciones al EspañolEstamos traduciendo nuestros guías y tutoriales al Español. Es posible que usted esté viendo una traducción generada automáticamente. Estamos trabajando con traductores profesionales para verificar las traducciones de nuestro sitio web. Este proyecto es un trabajo en curso.
This guide shows you how to install a TeamSpeak Server on your Linode. TeamSpeak is a voice server or a “virtual intercom” that lets you talk to others online. It’s commonly used for gaming, but people also use it to collaborate with their work groups, hobby projects, or just to chat with friends and family.
Before You Begin
Familiarize yourself with our Getting Started and Securing Your Server guides.
Install the TeamSpeak client on your local computer.
Note If you are using macOS Big Sur version 11 or later download the Teamspeak client betaWhile Teamspeak should run on any Linux distribution, the instructions provided here are tested on Ubuntu / Debian.
Install TeamSpeak
Getting the TeamSpeak Download
On your own computer visit teamspeak.com .
From the Downloads menu in the upper right click on TeamSpeak 3.
Under Linux, select Server AMD64
Click the download button.
Read and agree to the license agreement, then click Submit.
On the download page copy the download link; you can quit the automatic download.
Fetch and Extract Teamspeak
Log into your Linode via SSH, and create a new directory:
mkdir teamspeak
Change to the new directory:
cd teamspeak
Download the teamspeak package, replacing the URL with the one copied in the previous section:
wget http://dl.4players.de/ts/releases/3.0.11.3/teamspeak3-server_linux-amd64-3.0.11.3.tar.gz
Extract the package with tar:
tar -xvf teamspeak3-server_linux-amd64-3.0.11.3.tar.gz
Running TeamSpeak
After TeamSpeak is downloaded, you’re ready to start the server. TeamSpeak comes pre-compiled so no configuration or building is required.
Change to the newly-extracted directory
cd teamspeak3-server_linux-amd64
Run the server startup script and accept the license agreement
./ts3server_startscript.sh start "license_accepted=1"
Make note of the login name, password, and token that are printed the first time the server is started. You need them when you connect the first time:
------------------------------------------------------------------ I M P O R T A N T ------------------------------------------------------------------ Server Query Admin Account created loginname= "serveradmin", password= "RQkvl+Ip" ------------------------------------------------------------------ ------------------------------------------------------------------ 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=nfV+rTxhgQRR6m1Nn3royO08Sljeh1Ysm9bZ5JNw ------------------------------------------------------------------
From your computer, open your TeamSpeak client, and open the connect dialog.
Enter the IP address of your Linode or a domain pointed to it, the nickname
serveradmin
and the password as provided.After the connection is successful the client prompts you for the security token. Copy it from the SSH session and paste it into the dialog box in the client.
Making TeamSpeak Start Automatically
If you want TeamSpeak to automatically start every time your Linode boots, follow these instructions.
Check the server path to your TeamSpeak directory:
pwd
The output should be similar to:
/home/user/teamspeak/teamspeak3-server_linux-amd64
Debian
As
root
or withsudo
, create a new file called/etc/init/teamspeak.conf
and insert the following code, replacinguser
with your username and/home/user/teamspeak/teamspeak3-server_linux-amd64/
with the path noted above:- File: /etc/init/teamspeak.conf
1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh chdir /home/user/teamspeak/teamspeak3-server_linux-amd64/ respawn setuid user setgid user exec /home/user/teamspeak/teamspeak3-server_linux-amd64/ts3server_minimal_runscript.sh start on runlevel [2] stop on runlevel [013456]
The next time your Linode reboots TeamSpeak starts automatically.
Ubuntu
- As
root
or withsudo
, create a new file called/lib/systemd/system/teamspeak.service
and insert the following code, replacinguser
with your username and/home/user/teamspeak/teamspeak3-server_linux-amd64/
with the path noted above:
- File: //lib/systemd/system/teamspeak.service
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
[Unit] Description=TeamSpeak 3 Server After=network.target [Service] WorkingDirectory=/home/YOURUSER/ User=teamspeak Group=teamspeak Type=forking ExecStart=/home/YOURUSER/ts3server_startscript.sh start inifile=ts3server.ini ExecStop=/home/YOURUSER/ts3server_startscript.sh stop PIDFile=/home/YOURUSER/ts3server.pid RestartSec=15 Restart=always [Install] WantedBy=multi-user.target
Enable the teamspeak service and check the status
systemctl enable teamspeak.service service teamspeak status
The next time your Linode reboots TeamSpeak starts automatically.
Firewall Configuration
If you use a firewall the following ports need to be opened: 9987, 30033, 10011, and 41144. Here’s the commands to open those ports in IPtables. Run each line as a separate command.
iptables -A INPUT -p udp --dport 9987 -j ACCEPT
iptables -A INPUT -p tcp --dport 30033 -j ACCEPT
iptables -A INPUT -p tcp --dport 10011 -j ACCEPT
iptables -A INPUT -p tcp --dport 41144 -j ACCEPT
/etc/iptables.firewall.rules
to be reboot-persistent.More Information
You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.
This page was originally published on