Installing TeamSpeak 3 Server on Linux: Difference between revisions

From TeamSpeak Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Create a new user as root to run the TeamSpeak server under, running TeamSpeak as root is a security risk and should be avoided, TeamSpeak does not use privileged ports to there is no need to run as root.
Create a new user as root to run the TeamSpeak server under, running TeamSpeak as root is a security risk and should be avoided, TeamSpeak does not use privileged ports to there is no need to run as root.
    sudo adduser teamspeak
sudo adduser teamspeak
Switch to the user using the "su" command
Switch to the user using the "su" command
    sudo su teamspeak
sudo su teamspeak
Change directory to the root folder of the TeamSpeak user.
Change directory to the root folder of the TeamSpeak user.
    cd ~
cd ~
Download the latest TeamSpeak 3 server from https://www.teamspeak.com/en/downloads/#server
Download the latest TeamSpeak 3 server from https://www.teamspeak.com/en/downloads/#server
    wget [https://files.teamspeak-services.com/releases/server/3.12.1/teamspeak3-server_linux_amd64-3.12.1.tar.bz2 https://files.teamspeak-services.com/releases/server/3.13.3/teamspeak3-server_linux_amd64-3.13.3.tar.bz2]
wget [https://files.teamspeak-services.com/releases/server/3.12.1/teamspeak3-server_linux_amd64-3.12.1.tar.bz2 https://files.teamspeak-services.com/releases/server/3.13.3/teamspeak3-server_linux_amd64-3.13.3.tar.bz2]
Unpack/unzip the archive you've just downloaded
Unpack/unzip the archive you've just downloaded
    tar xvjf teamspeak3-server_linux_amd64-3.13.3.tar.bz2
tar xvjf teamspeak3-server_linux_amd64-3.13.3.tar.bz2
Change directory to the folder with the server files
Change directory to the folder with the server files
    cd teamspeak3-server_linux_amd64
cd teamspeak3-server_linux_amd64
Run the TeamSpeak server
Run the TeamSpeak server
    ./ts3server_startscript.sh start
./ts3server_startscript.sh start
Your console will show a server admin/password and server token, save these in a safe place for later as you will need them to gain server admin and use the Server Query client, which is used for bots and advanced features.
Your console will show a server admin/password and server token, save these in a safe place for later as you will need them to gain server admin and use the Server Query client, which is used for bots and advanced features.



Revision as of 12:52, 6 January 2021

Create a new user as root to run the TeamSpeak server under, running TeamSpeak as root is a security risk and should be avoided, TeamSpeak does not use privileged ports to there is no need to run as root.

sudo adduser teamspeak

Switch to the user using the "su" command

sudo su teamspeak

Change directory to the root folder of the TeamSpeak user.

cd ~

Download the latest TeamSpeak 3 server from https://www.teamspeak.com/en/downloads/#server

wget https://files.teamspeak-services.com/releases/server/3.13.3/teamspeak3-server_linux_amd64-3.13.3.tar.bz2

Unpack/unzip the archive you've just downloaded

tar xvjf teamspeak3-server_linux_amd64-3.13.3.tar.bz2

Change directory to the folder with the server files

cd teamspeak3-server_linux_amd64

Run the TeamSpeak server

./ts3server_startscript.sh start

Your console will show a server admin/password and server token, save these in a safe place for later as you will need them to gain server admin and use the Server Query client, which is used for bots and advanced features.

The server should be started at this point, With your TeamSpeak client connect to the IP of your server, when you connect a windows will pop up asking for the server token, this is the longest random looking string you were given in the previous step, enter this and you will be given server admin.

You can now administrate your TS3 server instance as you see fit.

You may also want to look at Startup Crontab or Systemd Unit for instructions on how to make the server run at boot time.

Now you have your shiny new server, promote it! Sign up and post it as Server.Vote The extra exposure could help you become the number one server on the planet some day.