Installing TeamSpeak 3 Server on Linux: Difference between revisions

From TeamSpeak Wiki
Jump to navigation Jump to search
(Created page with "Create a new user as root to run the TeamSpeak server under. sudo adduser teamspeak Switch to the user sudo su teamspeak Change directory to the root folder of the Tea...")
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
Create a new user as root to run the TeamSpeak server under.
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
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 server from https://www.teamspeak.com/en/downloads/#server
Download the latest TeamSpeak 3 server from https://www.teamspeak.com/en/downloads/#server At the time of writing this is 3.13.3 but be sure to check yourself.
    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 the archive
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
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.
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 string you were given in the previous step, enter this and you will be given server admin.
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 like.
You can now administrate your TS3 server instance as you see fit.


You may also want to look at [Running the TeamSpeak 3 Server on Linux Startup](https://www.reddit.com/r/teamspeak3/wiki/linuxstartup)
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 [https://teamspeak.server.vote/ Server.Vote] The extra exposure could help you become the number one server on the planet some day.

Latest revision as of 12:53, 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 At the time of writing this is 3.13.3 but be sure to check yourself.

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.