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
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
Step 3:
Create an user for the Teamspeak 3 server.
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:
Step 5:
Run the following commands to:
Download Teamspeak, extract it and install it.
Step 6:
Now we will start the TS3 server
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:
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)
Step 8.1.
Copy the below and paste it:
[Unit]
Description=Teamspeak Service
Wants=network.target
[Service]
WorkingDirectory=/home/teamspeak
User=teamspeak
ExecStart=/home/teamspeak/ts3server_minimal_runscript.sh
ExecStop=/home/teamspeak/ts3server_startscript.sh stop
ExecReload=/home/teamspeak/ts3server_startscript.sh restart
Restart=always
RestartSec=15
[Install]
WantedBy=multi-user.target
Step 8.2:
Now we need to save it!
Press CTRL and X together, then Press Y.
Step 9:
Now we need to enable the script, by typing in the following command
Step 9.1:
Type in the following command to restart the server!
Step 10:
Reconnect to SSH once the server has restarted and enter the following command:
Step 10.1:
This should return an output like this:
Active: active (running)
Step 10.2:
To return to the command prompt, you will need to press Q
Step 11:
Now open TeamSpeak 3/5 and join the server! (the server IP + Port, for example: 122.123.124.5235:9987 (the port is always 9987 as default))
Step 12:
The server should now prompt a box asking for the security key that you saved at step 6!
copy it and paste it in!
After that you can create channels and make ranks and have fun with the server!
PS: THIS GUIDE WILL BE UPDATED WHEN A NEW STABLE VERSION IS RELEASED!
Sources: TeamSpeak and Gazblog
last update: 23th June 2021
(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.
Code:
wget https://files.teamspeak-services.com/releases/server/3.13.7/teamspeak3-server_linux_amd64-3.13.7.tar.bz2
Code:
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
[Service]
WorkingDirectory=/home/teamspeak
User=teamspeak
ExecStart=/home/teamspeak/ts3server_minimal_runscript.sh
ExecStop=/home/teamspeak/ts3server_startscript.sh stop
ExecReload=/home/teamspeak/ts3server_startscript.sh restart
Restart=always
RestartSec=15
[Install]
WantedBy=multi-user.target
Step 8.2:
Now we need to save it!
Press CTRL and X together, then Press Y.
Step 9:
Now we need to enable the script, by typing in the following command
Code:
systemctl enable ts3server.service
Step 9.1:
Type in the following command to restart the server!
Code:
reboot
Step 10:
Reconnect to SSH once the server has restarted and enter the following command:
Code:
systemctl status ts3server
Step 10.1:
This should return an output like this:
Active: active (running)
Step 10.2:
To return to the command prompt, you will need to press Q
Step 11:
Now open TeamSpeak 3/5 and join the server! (the server IP + Port, for example: 122.123.124.5235:9987 (the port is always 9987 as default))
Step 12:
The server should now prompt a box asking for the security key that you saved at step 6!
copy it and paste it in!
After that you can create channels and make ranks and have fun with the server!
PS: THIS GUIDE WILL BE UPDATED WHEN A NEW STABLE VERSION IS RELEASED!
Sources: TeamSpeak and Gazblog
Cheers
CEO of Dsnakes Official
Kenionek