Installing TeamSpeak on a virtual server is quite simple and can be done on popular OSs such as Ubuntu or CentOS. Below is a step-by-step guide on how to install TeamSpeak Server on a virtual server based on Ubuntu. If you have a different OS, the procedure will be similar, with minor differences.
The minimum requirements for installing and running TeamSpeak on a VPS are as follows:
You can easily get started with the minimum configuration of the VPS One.
Update the repositories and install any necessary updates:
sudo apt update && sudo apt upgrade -y
Create a new user for running TeamSpeak (recommended for security reasons):
sudo adduser teamspeak
Follow the prompts to set a password for the new user.
Switch to the teamspeak user:
sudo su - teamspeak
Download the latest TeamSpeak Server version (for 64-bit):
wget https://files.teamspeak-services.com/releases/server/3.13.7/teamspeak3-server_linux_amd64-3.13.7.tar.bz2 -O teamspeak-server.tar.bz2
Extract the downloaded archive:
tar xvf teamspeak3-server_linux_amd64-3.13.7.tar.bz2
exit
Enter the command:
apt install bzip2
Change user to the newly created teamspeak and download the server:
su - teamspeak
wget https://files.teamspeak-services.com/releases/server/3.13.7/teamspeak3-server_linux_amd64-3.13.7.tar.bz2 -O teamspeak-server.tar.bz2
Then you should unzip the archive. This is available with this command:
tar xvfj teamspeak-server.tar.bz2 --strip-components 1
Now you need to accept the license agreement. Create an empty file:
touch ~/.ts3server_license_accepted
After that, exit the current user by simply entering:
exit
To manage the TeamSpeak server, let’s create a system service. Open the editor to create a service file:
nano /etc/systemd/system/teamspeak.service
Add the following code – https://telegra.ph/nano-etcsystemdsystemteamspeakservice-10-09
Save (ctrl+s) the file and exit the editor. Apply the changes with the command:
systemctl daemon-reload
Enable the service so that it starts at system startup, and start it now:
systemctl enable --now teamspeak
To check the server status, use the command:
systemctl status teamspeak
Before performing these actions, we need to stop the server. This can be done using this command:
systemctl stop teamspeak.service
Now start the server with the administrator password:
su - teamspeak
./ts3server_startscript.sh start serveradmin_password=YourPasswd
After setting the password, stop the TeamSpeak service:
./ts3server_startscript.sh stop
Next, exit by typing:
exit
Start the TeamSpeak service:
systemctl start teamspeak.service
Connecting to TeamSpeak Server
Now you can proceed to the stage of downloading and installing TeamSpeak on your desktop. After connecting, enter the token that was created when the service was started. This token can be found using the command executed:
grep -i token /opt/teamspeak/logs/*