TeamSpeak is a voice-over-Internet Protocol (VoIP) application that enables users to communicate with one another via voice and chat. In this guide, we will walk through the steps to install TeamSpeak Server on Debian 11.
Step 1: Update Your System
Start by ensuring your system is up to date:
sudo apt update && sudo apt upgrade
Step 2: Install Required Packages
Install the necessary packages to run TeamSpeak Server:
sudo apt install -y wget bzip2
Step 3: Download TeamSpeak Server
Download the latest version of the TeamSpeak Server from the official TeamSpeak website. You can find the download link on the TeamSpeak download page. Use the following command to download the server:
wget https://files.teamspeak-services.com/releases/server/3.13.6/teamspeak3-server_linux_amd64-3.13.6.tar.bz2
Replace the URL with the latest version if needed.
Step 4: Extract the Downloaded File
Extract the downloaded archive:
tar -xjf teamspeak3-server_linux_amd64-3.13.6.tar.bz2
Move the extracted files to the desired location:
sudo mv teamspeak3-server_linux_amd64 /opt/teamspeak
Step 5: Create a TeamSpeak User
For security reasons, it's a good practice to run TeamSpeak Server under a dedicated user. Create a new user:
sudo useradd -r -s /bin/false teamspeak
Step 6: Set Permissions
Change the ownership of the TeamSpeak directory:
sudo chown -R teamspeak:teamspeak /opt/teamspeak
Step 7: Start TeamSpeak Server
Switch to the TeamSpeak user and start the server:
sudo -u teamspeak /opt/teamspeak/ts3server_minimal_runscript.sh
The first time you run the server, it will generate the server token, which you will need to connect clients to the server.
Step 8: Configure TeamSpeak to Run on Boot
Create a systemd service file to manage the TeamSpeak server:
sudo nano /etc/systemd/system/teamspeak.service
Add the following content:
[Unit]
Description=TeamSpeak Server
[Service]
User=teamspeak
Group=teamspeak
Type=simple
ExecStart=/opt/teamspeak/ts3server_minimal_runscript.sh
WorkingDirectory=/opt/teamspeak
Restart=on-failure
[Install]
WantedBy=multi-user.target
Enable the service to start on boot and start it:
sudo systemctl enable teamspeak
sudo systemctl start teamspeak
Step 9: Access TeamSpeak Server
You can now connect to your TeamSpeak Server using the TeamSpeak client. Use the server IP and port (default is 9987) to connect.
Conclusion
You have successfully installed TeamSpeak Server on Debian 11. This allows you to host your own voice communication server for gaming or community purposes.
If you're looking for a reliable hosting solution for your TeamSpeak server, consider using Windows VPS UK. With Windows VPS, you can efficiently host your applications and ensure high performance. Whether you need VPS UK Windows or Windows Virtual Private Servers, you'll find a solution that meets your requirements.
For larger deployments or enterprise needs, explore Windows Virtual Dedicated Server Hosting or Virtual Private Server Hosting Windows. Whether you're located in the UK, Italy, or elsewhere, Windows VPS Italy and UK VPS Windows offer reliable hosting options. Visit Windows VPS Hosting UK to discover the best hosting solutions for your TeamSpeak deployment.