
TeamSpeak is a cross-platform VoIP solution used for online games. It is used by gamers to communicate with teammates with high-end security.

It can be installed on Windows, MacOS, and Linux systems. It allows you to communicate with friends via speech and text. It comes with a lot of features including – built-in privacy, unrivaled voice quality, an advanced permissions system, stunning sound, mobile connectivity, and many more.
In this post, we will show you how to install the TeamSpeak server on our managed Ubuntu VPS.
Table of Contents
Prerequisites
- An Ubuntu 20.04 VPS (we’ll be using our NVMe 2 VPS plan)
- Access to the root user account (or access to any account with root privileges)
Log in to the Server & Update the Server OS Packages
First, log in to your Ubuntu 20.04 server via SSH as the root user:
You will need to replace ‘IP_Address’ and ‘Port_number’ with your server’s respective IP address and SSH port number. Additionally, replace ‘root’ with the username of the admin account if necessary.
Before starting, you have to make sure that all Ubuntu OS packages installed on the server are up to date. You can do this by running the following commands:
Install TeamSpeak
Before starting, you will need to create a separate user to run TeamSpeak server. You can create a new user with the following command:
Once the user is created, switch the user to TeamSpeak and download the latest version of the TeamSpeak server using the following command:
Once the download is completed, extract the downloaded file with the following command:
Next, copy all contents from the extracted directory to the TeamSpeak home directory:
Next, remove the downloaded file with the following command:
Next, create a blank license file with the following command:
Next, exit from the TeamSpeak user with the following command:
Create a Systemd Service File for TeamSpeak
Next, you will need to create a systemd service file to manage the TeamSpeak service. You can create it with the following command:
Add the following lines:
Save and close the file then reload the systemd service with the following command:
Next, start the TeamSpeak service and enable it to start at system reboot:
Now, check the status of the TeamSpeak service with the following command:
Output:
At this point, the TeamSpeak server is started. You can check all ports used by the TeamSpeak server using the following command:
Output:
Set an Admin Password
Next, you will need to set an admin password for TeamSpeak.
First, stop the TeamSpeak service with the following command:
Next, switch the user to TeamSpeak and start the TeamSpeak service by passing the password parameter:
Once the password has been set, stop the TeamSpeak service:
Next, exit from the TeamSpeak user with the following command:
Next, start the TeamSpeak service using systemd with the following command:
Setup TeamSpeak Web UI
In this section, we will download TeamSpeak web UI and host it using the Apache webserver. TeamSpeak web UI is used to manage the TeamSpeak server through the web-based interface.
First, install the Apache and PHP with the following command:
Once all the packages are installed, change the directory to the Apache web root and download the latest version of ts3wi with the following command:
Once the download is completed, unzip the downloaded file with the following command:
Next, set proper ownership to the ts3wi directory:
Next, you will need to add your server IP and client machine IP to the TeamSpeak allowlist file:
Add the following lines:
Save and close the file when you are finished. Then, restart the TeamSpeak and Apache service to apply the changes:
Access TeamSpeak Web UI
Now, open your web browser and access the TeamSpeak web UI using the URL http://your-server-ip/ts3wi. You will be redirected to the TeamSpeak login page:
Provide your admin username, password and click on the Login button. You should see the TeamSpeak dashboard on the following page:
Congratulations! you have successfully installed TeamSpeak on Ubuntu 20.04.
Of course, you don’t have to install TeamSpeak if you use one of our Managed VPS Hosting services, in which case you can simply ask our expert Linux admins to install TeamSpeak on Ubuntu 18.04 or 20.04, for you. They are available 24/7 and will take care of your request immediately.
PS. If you liked this post on how to install TeamSpeak on Ubuntu 18.04 and 20.04, please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.
Where do i get the privilege key? Also, the website never pulls anything up.
How do I find the client IP_
If you are using your device as the client machine, you can find your IP address using https://www.whatismyip.com/