This guide, gives a step-by-step to installing Teamspeak 3 (3.12.1) 64 bit server on Ubuntu 18.04 and 20.04
Login to SSH as root
Run the below commands:
Note: During the apt-get upgrade command, you maybe asked about the grub load. Press Enter
Let create a user for the Teamspeak 3 server.
adduser --disabled-login teamspeak
You will be asked for user information for teamspeak. Press Enter for all the questions.
You will also be asked is the information correct. Press Enter.
Type the following command
cd /home/teamspeak/;su teamspeak
Run the following commands to:
Download Teamspeak, extract it and tidy up.
tar xvfj teamspeak3-server_linux_amd64-3.12.1.tar.bz2
cp * -R /home/teamspeak
rm -r teamspeak3-server_linux_amd64
Now we start the TS3 server
Make sure you copy and save the security token and Server Query Admin Account details, once the server has started.
Press Enter. This will return to the command prompt.
Now we need to stop the server and return to root, enter the below:
Now we will create a restart script using systemd to restart it on boot.
Run the below command (This should open a blank pape)
Copy the below and paste it:
Now we need to save it
Press CTRL and X together, then Press Y
Now we need to enable it, by typing in the following command
systemctl enable ts3server.service
Type in the following to restart the server)
Reconnect to SSH, once the server has restarted and enter the following command:
systemctl status ts3server
This should return an ouput look for:
Active: active (running)
To return to the command prompt, you will need to: