This guide gives u step-by-step instructions to install Teamspeak 3 (3.13.7) 64 bit server on Ubuntu 18.04 and 20.04
last update: 30th July 2022 (WOW It took more then a year for a new update)
Step 1:
Login to SSH as root
Step 2:
Run the commands bellow (these command are necessary for security reasons) :
Note: During the apt-get upgrade command, you maybe asked about the grub load. Press Enter
Code:
apt-get update
Code:
apt-get upgrade
Code:
apt-get dist-upgrade
Step 3:
Create an user for the Teamspeak 3 server.
Code:
adduser --disabled-login teamspeak
You will be asked for user information for teamspeak. Press Enter for all the questions (you can fill them in but that is not necessary) .
You will also be asked is the information correct. Press Enter.
Step 4:
Type the following command:
Code:
cd /home/teamspeak/;su teamspeak
Step 5:
Run the following commands to:
Download Teamspeak, extract it and install it.
tar xvfj teamspeak3-server_linux_amd64-3.13.7.tar.bz2
Code:
cd teamspeak3-server_linux_amd64
Code:
cp * -R /home/teamspeak (if you don't have permissions for this command use your root user for it to work (su root), BUT THIS IS NOT RECOMMENDED FOR SECURITY REASONS!!!)
Code:
cd ..
Code:
rm -r teamspeak3-server_linux_amd64
Code:
rm teamspeak3-server_linux_amd64-3.13.7.tar.bz2
Code:
touch .ts3server_license_accepted
Step 6:
Now we will start the TS3 server
Code:
./ts3server_startscript.sh start
Make sure you copy and save the security token and Server Query Admin Account details, once the server has started!!!
Step 6.1:
Press Enter. This will return to the command prompt.
Step 7:
Now we need to stop the server and return to root, enter the below:
Code:
./ts3server_startscript.sh stop
Code:
exit
Code:
su root
Step 8:
Now we will create a start script using systemd to start the ts server on boot.
Run the below command (This should open a blank page)
Code:
nano /lib/systemd/system/ts3server.service
Step 8.1.
Copy the below and paste it:
[Unit]
Description=Teamspeak Service
Wants=network.target