Teamspeak 3 installation script for Debian/Ubuntu

I installed a Teamspeak server today, and because I had a little time and wanted to brush up my bash scripting skills anyway, I coded a Teamspeak 3 server installation script that should work on most Debian systems (such as Ubuntu). Because of possible legal issues I didn’t include the download of the installation files itself in the script, so you’ll have to download those yourself (use either “Server amd64″ or “Server x86″ depending on your system).

After downloading the installation archive (don’t extract), you can execute the following to install your very own Teamspeak 3 server:

wget && \
    chmod +x && \
    ./ <insert path to installation archive here>

If you’d like to take a look at the script, don’t let me keep you. If you run into any problems, please leave me a comment :)

13 thoughts on “Teamspeak 3 installation script for Debian/Ubuntu

  1. Could it be that you do not have the patch package installed? It is not installed OOTB in Debian Squeeze and I doubt it is in wheezy either.

  2. Hi,

    Just wondering how I should do if I want to uninstall teamspeak and remove all contents after using this install script?

  3. Hello, I’ve installed TS3 with your script, but it does not seem to work… It did install it, it even run it, and listening on ports, but when I try to connect I’m just getting: Failed to connect to server. Any ideas whats going on? Should I do something more than running Your script? In TS3 logs there is nothing special…

    2013-05-08 07:53:52.610896|INFO |ServerLibPriv | | TeamSpeak 3 Server (2013-03-18 10:56:27) 2013-05-08 07:53:52.691959|INFO |DatabaseQuery | | dbPlugin name: SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH 2013-05-08 07:53:52.692905|INFO |DatabaseQuery | | dbPlugin version: 3.7.3 2013-05-08 07:53:52.746672|INFO |DatabaseQuery | | checking database integrity (may take a while) 2013-05-08 07:53:52.884097|WARNING |Accounting | | Unable to find valid license key, falling back to limited functionality 2013-05-08 07:53:52.947031|INFO |FileManager | | listening on 2013-05-08 07:53:53.312798|INFO |CIDRManager | | updated query_ip_whitelist ips:,,. 2013-05-08 07:53:53.314082|INFO |Query | | listening on

    Any help would be appreciated, Best regards, FlashT

    • Sorry for the very late reply, but maybe it helps others having the same issue. This sounds a lot like a problem with your firewall. I’d check if you can reach the port on which the server is listening using telnet, and if not check both the firewall rules on your server (iptables?) and on your local machine.

  4. Thanks a lot! It works perfect on Ubuntu server 13.04 – Had the teamspeak server 3 running in a few minutes.

  5. This was incredibly easy! Thank you very much for taking your time to share this. Made everything a lot easier than having to do it manually! :)

  6. Getting:

    ./ /tmp/teamspeak3-server_linux-amd64-3.0.10.tar.gz Extracting /tmp/teamspeak3-server_linux-amd64-3.0.10.tar.gz to /tmp/teamspeak/ Moving directory /tmp/teamspeak/teamspeak3-server_linux-amd64/ to /usr/local/teamspeak3/ Patching /usr/local/teamspeak3/ with LSB tags ./ line 64: patch: command not found Patching the startscript failed :(

    Tried on a couple different builds, same error. Anything up with the patch command?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>