TeamSpeak is a free and very popular voice communications application for real-time voice chat over the internet. TeamSpeak uses a very low amount of bandwidth and it is mostly used by gamers that are chatting with each other while playing a game, to avoid latency issues. All users need a client installed on their devices and a central server that all the clients connect to.
This tutorial explains how to install TeamSpeak server on an Ubuntu 16.04 VPS.
Log in to your Ubuntu 16.04 VPS as user root
SSH [Имейл защитена]_address -p port_number
and make sure your system is up to date by executing the following command
apt-get update && apt-get upgrade
Можете също така да enable automatic updates.
Create a new system user with disabled login for TeamSpeak, so that the application can run under this user.
adduser --disabled-login teamspeak Adding new group `teamspeak' (1000) ... Adding new user `teamspeak' (1000) with group `teamspeak' ... Creating home directory `/home/teamspeak' ... Copying files from `/etc/skel' ... Changing the user information for teamspeak Enter the new value, or press ENTER for the default Full Name : Room Number : Work Phone : Home Phone : Other : Is the information correct? [Y/n]
You can leave all fields for user information blank.
Next step, is to download TeamSpeak. Go to their official website and download the latest stable release of TeamSpeak Server. At the moment of writing this article, it is version 220.127.116.11
cd /usr/local wget http://dl.4players.de/ts/releases/18.104.22.168/teamspeak3-server_linux_amd64-22.214.171.124.tar.bz2
Once it is downloaded, unpack the archive and rename the TeamSpeak directory to something simpler.
tar -jxvf teamspeak3-server_linux_amd64-126.96.36.199.tar.bz2 mv teamspeak3-server_linux_amd64 teamspeak
Make the newly created user an owner of the TeamSpeak files
chown -R teamspeak:teamspeak /usr/local/teamspeak
Startup script is included in the files, so we will create a symbolic link
ln -s /usr/local/teamspeak/ts3server_startscript.sh /etc/init.d/teamspeak
and run the following command to make the TeamSpeak server automatically start on boot time:
update-rc.d teamspeak defaults
Finally, start the TeamSpeak server:
service teamspeak start
To check if TeamSpeak is actually running, run the following command
service teamspeak status ● teamspeak.service Loaded: loaded (/etc/init.d/teamspeak; bad; vendor preset: enabled) Active: active (running) since Sun 2017-05-21 20:26:32 CDT; 1min 12s ago Docs: man:systemd-sysv-generator(8) Process: 13214 ExecStart=/etc/init.d/teamspeak start (code=exited, status=0/SUCCESS) CGroup: /system.slice/teamspeak.service └─13218 ./ts3server
Here you will also find the username, password, and a privilege key. You will need this information to manage your server.