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":2232,"date":"2019-11-26T06:57:40","date_gmt":"2019-11-26T06:57:40","guid":{"rendered":"https:\/\/support.aklwebhost.com\/?post_type=manual_kb&p=2232"},"modified":"2019-12-06T00:00:34","modified_gmt":"2019-12-06T00:00:34","slug":"how-to-install-teamspeak-3-server-on-ubuntu-16-04-64-bit","status":"publish","type":"manual_kb","link":"https:\/\/support.aklwebhost.com\/knowledgebase\/how-to-install-teamspeak-3-server-on-ubuntu-16-04-64-bit\/","title":{"rendered":"How to Install Teamspeak 3 Server on Ubuntu 16.04 64-bit"},"content":{"rendered":"

Overview<\/strong><\/h3>\n

Sick of using Discord\/Skype? Tired of not having complete control of your server? Or maybe it’s because of the lack of customizable settings? Too much bandwidth usage? Well look no further! Teamspeak is here to help!<\/p>\n

In this guide, I will show you on how to install\u00a0TeamSpeak 3 Server<\/strong>\u00a0on your Ubuntu 16.04 64-bit\u00a0AKLWEB Host VPS<\/strong>.<\/p>\n

Requirements<\/strong><\/h3>\n
    \n
  • A VPS running Ubuntu 16.04 from Aklweb host.<\/strong><\/li>\n<\/ul>\n

    Instructions<\/strong><\/h3>\n

    Step 1.<\/strong><\/h4>\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

    Step 2.<\/strong><\/h4>\n

    Get the latest TeamSpeak 3 server files for 64-bit Linux. Check their website, a new version may be available.<\/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

    Step 3.<\/strong><\/h4>\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

    Step 4.<\/strong><\/h4>\n

    Move the extracted files to the\u00a0teamspeak<\/code>\u00a0user’s home directory then remove the extracted folder and downloaded archive.<\/p>\n

    cd teamspeak3-server_linux_amd64 && mv * \/home\/teamspeak && cd .. && rm -rf teamspeak3*\r\n<\/code><\/pre>\n

    Accept the license agreement:<\/p>\n

    touch \/home\/teamspeak\/.ts3server_license_accepted\r\n<\/code><\/pre>\n

    Step 5.<\/strong><\/h4>\n

    Change ownership of the TeamSpeak 3 server files.<\/p>\n

    chown -R teamspeak:teamspeak \/home\/teamspeak\r\n<\/code><\/pre>\n

    Step 6.<\/strong><\/h4>\n

    Make the TeamSpeak 3 server start on boot. Use your favorite editor to make a new file called\u00a0teamspeak.service<\/code>\u00a0in\u00a0\/lib\/systemd\/system\/<\/code>.<\/p>\n

    nano \/lib\/systemd\/system\/teamspeak.service\r\n<\/code><\/pre>\n

    Paste this content into it:<\/p>\n

    [Unit]\r\nDescription=TeamSpeak 3 Server\r\nAfter=network.target\r\n\r\n[Service]\r\nWorkingDirectory=\/home\/teamspeak\/\r\nUser=teamspeak\r\nGroup=teamspeak\r\nType=forking\r\nExecStart=\/home\/teamspeak\/ts3server_startscript.sh start inifile=ts3server.ini\r\nExecStop=\/home\/teamspeak\/ts3server_startscript.sh stop\r\nPIDFile=\/home\/teamspeak\/ts3server.pid\r\nRestartSec=15\r\nRestart=always\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\n<\/code><\/pre>\n

    Once you are done, save the file and close the editor. Now we will activate the script so that it will start on boot.<\/p>\n

    This makes to systemd recognize the file we just created.<\/p>\n

    systemctl --system daemon-reload\r\n<\/code><\/pre>\n

    Enable the service.<\/p>\n

    systemctl enable teamspeak.service\r\n<\/code><\/pre>\n

    Start the TeamSpeak server.<\/p>\n

    systemctl start teamspeak.service\r\n<\/code><\/pre>\n

    Once you’ve started the server, you can check that it’s running with this command.<\/p>\n

    systemctl status teamspeak.service\r\n<\/code><\/pre>\n

    Step 7.<\/h4>\n

    When you first try to connect to your TeamSpeak server, you may be prompted to use a privilege key. This privilege key allows to administrate your TeamSpeak server. To get this privilege key, use the following command:<\/p>\n

    cat \/home\/teamspeak\/logs\/ts3server_*\r\n<\/code><\/pre>\n

    At bottom you’ll see something that looks like this:<\/p>\n

    --------------------------------------------------------\r\nServerAdmin privilege key created, please use the line below\r\ntoken=****************************************\r\n--------------------------------------------------------\r\n<\/code><\/pre>\n

    Replace the stars with your unique token, and enter it into your TeamSpeak client. You’ll see a prompt telling you that the privilege key was successfully used.<\/p>\n

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

    If you are using the built-in firewall that was included with the Ubuntu installation then\u00a0iptables<\/code>\u00a0is your firewall. You may need to forward the following ports to allow connections to your TeamSpeak 3 Server.<\/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","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":[176],"_links":{"self":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2232"}],"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=2232"}],"version-history":[{"count":1,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2232\/revisions"}],"predecessor-version":[{"id":2233,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2232\/revisions\/2233"}],"wp:attachment":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/media?parent=2232"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manualknowledgebasecat?post=2232"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb_tag?post=2232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}