Download the Teamspeak3 server distribution from the official site https://www.teamspeak.com/en/downloads/
Near the Download button there is also a link copy button, after which you can download directly to the server with the command:
wget https://files.teamspeak-services.com/releases/server/3.11.0/teamspeak3-server_linux_amd64-3.11.0.tar.bz2
You can view the archive name and contents of the current directory with the ls command.
Unzip the downloaded archive:
tar -xvjf teamspeak3-server_linux_amd64-3.11.0.tar.bz2
At startup, the initial settings will be made and a password and token will be generated, we copy them and save them.
Press CTRL+C to end the process.
We put another startup script in startup:
/home/username/teamspeak3-server_linux_amd64/ts3server_startscript.sh start
Example cfg files:
ts3server.ini
machine_id=
default_voice_port=9987
voice_ip=0.0.0.0
licensepath=
filetransfer_port=30033
filetransfer_ip=0.0.0.0
query_port=10011
query_ip=0.0.0.0
dbplugin=ts3db_mysql
dbpluginparameter=ts3db_mysql.ini
dbsqlpath=sql/
dbsqlcreatepath=create_mysql/
logpath=logs
logquerycommands=1
ts3db_mysql.ini
[config]
host=localhost
port=3306
username=teamspeak
password=****
database=ts3db
socket=