Tutorial - Setting up/Update Teamspeak Server on Linux

Despite most of the community know those basic informations, since the update of the forum I thought it could be a good idea to rewrite the tutorial in a very very basic way for those who need it.


1) The first thing to consider is whether the operating system is 32-bit or 64-bit. On linux you can check this by simply enter this command of the console:

lspcu

On the second line of the results you can check if you have linux-32 or linux-64:

CPU op-mode(s):        32-bit

2) If you are planning to update the server while keeping the data of the previous one, you should make a backup of the important files for safety.

First of all turn off the server safely with the command:

./ts3server_startscript.sh stop

Remember that in order to run this command you must be in the same folder as the file!
You should always have a clear idea of where the folders are in your machine.

If you are having trouble finding the file remember: usually the server directory is saved in a folder inside the /home. With:

ls

you can get a clear image of what’s the content of your current directory. You then can go up and down the folder with:

cd <directory_name>

for going in a folder inside your current one

cd ..

for going back to the parent folder


3) After making sure your server is shutted down, you should return to the main directory (the same of where the server folder is saved) and download the new server with:

wget <dowload path>

You can get the rigth download path here: Download
Remember to download the version for your linux!


4) Now you should have dowloaded the file: you can check with:

ls

and you should see a file with a name similar to this: teamspeak3-server_linux_amd64-3.11.0.tar.bz2


5) Now you need to extract your compressed file with:

tar -xvf <name_of_the_compressed_file>

after the file got decompressed you can delete the compressed file since it is no more useful:

rm <name_of_the_compressed_file>

6) With the ls command you should now see that a new folder had been created, this is going to be the new folder of your server


7) Before starting it you have to copy the ts3server.sqlitedb file from your old server directory to your new server directory, in this way you will not have to recreate the server from 0.
If you are in the directory where the servers directory are saved you can fast copy that file with:

cp ./<old_server_directory>/ts3server.sqlitedb <new_server_directory>

8) Now you have to enter in the new server folder

cd <new_server_folder>

And accept the Teamspeak licence:

touch .ts3server_license_accepted

9) Now you can finally start your server with:

./ts3server_startscript.sh start

Guys, this one i just wrote is a draft, since my english is not the best i am open to all suggestions also to fix my disastrous grammar. Thank you all :smile:

12 Likes

Thanks for your tutorial.
:slight_smile:

5 Likes

You can simply extract the new server within the same directory of the old one (see below). Makes more sense since you would need to manually copy the files folder too to prevent errors (e.g. server group icon not found), because the icons you upload to the server are stored there.

  • teamspeak3-server_linux_amd64
  • teamspeak3-server_linux_amd64-VERSION.tar
2 Likes

Thanks :pray:

3 Likes