Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794
{"id":2230,"date":"2019-11-26T06:57:02","date_gmt":"2019-11-26T06:57:02","guid":{"rendered":"https:\/\/support.aklwebhost.com\/?post_type=manual_kb&p=2230"},"modified":"2019-12-06T00:00:04","modified_gmt":"2019-12-06T00:00:04","slug":"how-to-install-teamspeak-3-server-on-debian-9-stretch","status":"publish","type":"manual_kb","link":"https:\/\/support.aklwebhost.com\/knowledgebase\/how-to-install-teamspeak-3-server-on-debian-9-stretch\/","title":{"rendered":"How to Install Teamspeak 3 Server on Debian 9 Stretch"},"content":{"rendered":"
This article is a port of “How to Install Teamspeak 3 Server on Ubuntu 16.04 64-bit<\/a><\/strong><\/span>” for Debian 9.<\/div>\n
\n

TeamSpeak<\/strong>\u00a0is the software you need to chat online with multiple people at the same time. It is perfect for those who play on a network and need to transmit live information. With\u00a0TeamSpeak<\/strong>, it is possible to chat in real time online. Codecs help reduce latency during communication and improve voice quality. It is perfect for online players to send instructions or information to others.<\/p>\n

In this guide, I will show you on how to install\u00a0TeamSpeak 3 Server<\/strong>\u00a0on your Debian 9 Stretch\u00a0Aklweb host<\/strong>\u00a0VPS.<\/p>\n

Prerequisites<\/strong><\/h2>\n
    \n
  • A VPS running Debian 9 Stretch from\u00a0Aklweb host<\/strong>.<\/li>\n<\/ul>\n

    Instructions<\/strong><\/h2>\n

    First, create a new user with your desired name, we will use the name\u00a0“teamspeak”<\/strong>\u00a0for this guide.<\/p>\n

    adduser --disabled-login teamspeak\r\n<\/code><\/pre>\n

    Switch to the new user.<\/p>\n

    su teamspeak\r\n<\/code><\/pre>\n

    Get the latest\u00a0TeamSpeak 3<\/strong>\u00a0server files for 64-bit Linux.<\/p>\n

    wget http:\/\/dl.4players.de\/ts\/releases\/3.1.1\/teamspeak3-server_linux_amd64-3.1.1.tar.bz2\r\n<\/code><\/pre>\n

    Extract the archive.<\/p>\n

    tar xvf teamspeak3-server_linux_amd64-3.1.1.tar.bz2\r\n<\/code><\/pre>\n

    This will create a new folder in the root directory called\u00a0teamspeak3-server_linux_amd64<\/code><\/p>\n

    Remove the downloaded archive.<\/p>\n

    rm teamspeak3-server_linux_amd64-3.1.1.tar.bz2\r\n<\/code><\/pre>\n

    In the extracted folder, we have the conditions for using Teamspeak servers. It will be necessary to accept them by creating a file before starting the server.<\/p>\n

    cd teamspeak3-server_linux_amd64\r\n# Reading the Terms\r\nnano LICENSE\r\n# Creation of the acceptance file\r\ntouch .ts3server_license_accepted\r\n<\/code><\/pre>\n

    We will now start our server for the first time. At the first start of the server, we will have access to very important information, which will allow you to administer your server. It will therefore be necessary to note the connection information of the Admin Server and the Token.<\/p>\n

    sh ts3server_startscript.sh start\r\n\r\n------------------------------------------------------------------\r\n                      I M P O R T A N T                           \r\n------------------------------------------------------------------\r\n               Server Query Admin Account created                 \r\n         loginname= \"serveradmin\", password= \"xxxxxxxx\"\r\n------------------------------------------------------------------\r\n\r\n------------------------------------------------------------------\r\n                      I M P O R T A N T                           \r\n------------------------------------------------------------------\r\n      ServerAdmin privilege key created, please use it to gain \r\n      serveradmin rights for your virtualserver. please\r\n      also check the doc\/privilegekey_guide.txt for details.\r\n\r\n       token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\r\n------------------------------------------------------------------\r\n<\/code><\/pre>\n

    Make the\u00a0TeamSpeak 3<\/strong>\u00a0server start on boot. Use your favorite editor to make a new file called\u00a0teamspeak<\/code>\u00a0in\u00a0\/etc\/init.d\/<\/code>.<\/p>\n

    nano \/etc\/init.d\/teamspeak\r\n<\/code><\/pre>\n

    Populate it with this content.<\/p>\n

    #!\/bin\/sh\r\n### BEGIN INIT INFO\r\n# Provides:         teamspeak\r\n# Required-Start:   $local_fs $network\r\n# Required-Stop:    $local_fs $network\r\n# Default-Start:    2 3 4 5\r\n# Default-Stop:     0 1 6\r\n# Description:      Teamspeak 3 Server\r\n### END INIT INFO\r\n\r\n######################################\r\n# Customize values for your needs: \"User\"; \"DIR\"\r\n\r\nUSER=\"teamspeak\"\r\nDIR=\"\/opt\/teamspeak3\/server\"\r\n\r\n###### Teamspeak 3 server start\/stop script ######\r\n\r\ncase \"$1\" in\r\nstart)\r\nsu $USER -c \"${DIR}\/ts3server_startscript.sh start\"\r\n;;\r\nstop)\r\nsu $USER -c \"${DIR}\/ts3server_startscript.sh stop\"\r\n;;\r\nrestart)\r\nsu $USER -c \"${DIR}\/ts3server_startscript.sh restart\"\r\n;;\r\nstatus)\r\nsu $USER -c \"${DIR}\/ts3server_startscript.sh status\"\r\n;;\r\n*)\r\necho \"Usage: {start|stop|restart|status}\" >&2\r\nexit 1\r\n;;\r\nesac\r\nexit 0\r\n<\/code><\/pre>\n

    Once you are done, save the file and close the editor.<\/p>\n

    Make it executable and add it to the service.<\/p>\n

    chmod +x \/etc\/init.d\/teamspeak\r\nupdate-rc.d teamspeak defaults\r\n<\/code><\/pre>\n

    List of possible commands:<\/p>\n

      \n
    • Start the server:\n
      service teamspeak start\r\n<\/code><\/pre>\n<\/li>\n
    • Stop the server:\n
      service teamspeak stop\r\n<\/code><\/pre>\n<\/li>\n
    • Restart the server:\n
      service teamspeak restart\r\n<\/code><\/pre>\n<\/li>\n
    • Server status:\n
      service teamspeak status\r\n<\/code><\/pre>\n<\/li>\n<\/ul>\n

      Optional: Firewall<\/strong><\/h3>\n

      Forward the following ports to allow connections to your\u00a0TeamSpeak 3 Server<\/strong>.<\/p>\n

      iptables -A INPUT -p udp --dport 9987 -j ACCEPT\r\niptables -A INPUT -p udp --sport 9987 -j ACCEPT\r\niptables -A INPUT -p tcp --dport 30033 -j ACCEPT\r\niptables -A INPUT -p tcp --sport 30033 -j ACCEPT\r\niptables -A INPUT -p tcp --dport 10011 -j ACCEPT\r\niptables -A INPUT -p tcp --sport 10011 -j ACCEPT<\/code><\/pre>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","manualknowledgebasecat":[105,242,247],"manual_kb_tag":[175],"_links":{"self":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2230"}],"collection":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/comments?post=2230"}],"version-history":[{"count":2,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2230\/revisions"}],"predecessor-version":[{"id":2234,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2230\/revisions\/2234"}],"wp:attachment":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/media?parent=2230"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manualknowledgebasecat?post=2230"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb_tag?post=2230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}