\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>\nIn this guide, I will show you on how to install\u00a0TeamSpeak 3 Server<\/strong>\u00a0on your Debian 9 Stretch\u00a0Aklweb host<\/strong>\u00a0VPS.<\/p>\nPrerequisites<\/strong><\/h2>\n\n- A VPS running Debian 9 Stretch from\u00a0Aklweb host<\/strong>.<\/li>\n<\/ul>\n
Instructions<\/strong><\/h2>\nFirst, create a new user with your desired name, we will use the name\u00a0“teamspeak”<\/strong>\u00a0for this guide.<\/p>\nadduser --disabled-login teamspeak\r\n<\/code><\/pre>\nSwitch to the new user.<\/p>\n
su teamspeak\r\n<\/code><\/pre>\nGet the latest\u00a0TeamSpeak 3<\/strong>\u00a0server files for 64-bit Linux.<\/p>\nwget http:\/\/dl.4players.de\/ts\/releases\/3.1.1\/teamspeak3-server_linux_amd64-3.1.1.tar.bz2\r\n<\/code><\/pre>\nExtract the archive.<\/p>\n
tar xvf teamspeak3-server_linux_amd64-3.1.1.tar.bz2\r\n<\/code><\/pre>\nThis will create a new folder in the root directory called\u00a0teamspeak3-server_linux_amd64<\/code><\/p>\nRemove the downloaded archive.<\/p>\n
rm teamspeak3-server_linux_amd64-3.1.1.tar.bz2\r\n<\/code><\/pre>\nIn 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>\nWe 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>\nMake 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>\nnano \/etc\/init.d\/teamspeak\r\n<\/code><\/pre>\nPopulate 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>\nOnce 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>\nList 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>\nOptional: Firewall<\/strong><\/h3>\nForward the following ports to allow connections to your\u00a0TeamSpeak 3 Server<\/strong>.<\/p>\niptables -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}]}}