Test your skills on our all Hosting services and get 15% off!

Use code at checkout:

Skills
09.10.2024

How to Install TeamSpeak on my VPS

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:

  • 1 CPU Core
  • 512 MB RAM
  • 1-2 GB Disk Space
  • 10 Mbps network connection

You can easily get started with the minimum configuration of the VPS tariff plan U1

Creating New User

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.

Download TeamSpeak Server

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 

Install TeamSpeak Server

Enter the command:

apt install bzip2

  • You can also install the TeamSpeak server using automatic installation script. Connect and log in to your server
    ssh root@server_ip -p ssh_port
    wget https://bill.alexhost.com/downloads/teamspeak_install.sh
    chmod +x teamspeak_install.sh
    ./teamspeak_install.sh

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

Create a system service

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

Setting the administrator password

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/*

Test your skills on our all Hosting services and get 15% off!

Use code at checkout:

Skills