How to Create a 32-Slot TeamSpeak Server ?
To set up your 32-slot TeamSpeak server on Debian, follow the steps below:
1) Create TeamSpeak User:
After connecting to your VPS via SSH as root, create a user that will run the server:
adduser teamspeak
Then, switch to the new user:
su teamspeak
2) Install TeamSpeak Server:
Navigate to the teamspeak user’s directory and download the server archive (here, the link is for a 64-bit version 3.5.0):
cd /home/teamspeak
wget http://dl.4players.de/ts/releases/3.5.0/teamspeak3-server_linux_amd64-3.5.0.tar.bz2
Extract the archive, delete it, and go into the generated folder:
tar xjf teamspeak3-server_linux_amd64-3.5.0.tar.bz2
rm teamspeak3-server_linux_amd64-3.5.0.tar.bz2
cd teamspeak3-server_linux_amd64
3) Generate Configuration File:
Use the following command to generate the configuration file:
./ts3server_minimal_runscript.sh createinifile=1
This will display the file containing the serveradmin account’s ID and password, along with the token to use during the first server connection. Make a note of this crucial information.
Press ctrl+c
to exit the generation tool.
4) Start TeamSpeak on VPS Launch:
To start TeamSpeak automatically on VPS launch, use the command:
crontab -e
Press i
to enter edit mode, and add the following line:
@reboot cd /home/teamspeak/teamspeak3-server_linux_amd64 ;
./ts3server_startscript.sh start
Press Esc
to exit edit mode and enter :wq
to save the changes.
5) Manually Start TeamSpeak Server:
You can manually start your server using the command:
./ts3server_startscript.sh start