{"id":2507,"date":"2016-08-15T15:19:27","date_gmt":"2016-08-15T19:19:27","guid":{"rendered":"https:\/\/www.globo.tech\/learning-center\/?p=2507"},"modified":"2017-11-24T13:43:40","modified_gmt":"2017-11-24T18:43:40","slug":"install-teamspeak-server-centos-7","status":"publish","type":"post","link":"https:\/\/www.globo.tech\/learning-center\/install-teamspeak-server-centos-7\/","title":{"rendered":"How to install TeamSpeak Server on CentOS 7"},"content":{"rendered":"<h1>How to install TeamSpeak Server on CentOS 7<\/h1>\n<p>TeamSpeak\u00ae is a VoIP (voice-over-Internet Protocol) solution first released in 2001 and most popular with those who play team-based online games. The software has two parts, a server and a client, both of which can be installed on Windows, Mac and Linux. This guide will focus on installing the TeamSpeak server on a CentOS 7 system.<\/p>\n<p>TeamSpeak is free for use with up to 32 users, and there exists a non-commercial, non-profit license suitable for use with up to 512 users.<\/p>\n<h2>Getting started<\/h2>\n<p>Confirm that you have the following before you follow this guide:<br \/>\n\u2022 1 Node (<a href=\"https:\/\/www.globo.tech\/cloud-server-pricing\" target=\"_blank\"><b>Cloud Server<\/b><\/a> or <a href=\"http:\/\/www.globo.tech\/dedicated-server-hosting\" target=\"_blank\"><b>Dedicated Server<\/b><\/a>) running CentOS 7.<br \/>\n\u2022 Root access to the node or one sudo non-root user<br \/>\n\u2022 A TeamSpeak client on your platform of choice in order to test things out.<br \/>\n\u2022 nano, wget, tar, perl, net-tools, and bzip2<\/p>\n<h2>Step-by-step guide<\/h2>\n<p>The first step is to run the following commands on your Cent OS 7 server, to make sure you got the latest updates:<\/p>\n<p><code>yum update -y<br \/>\nyum install nano wget perl tar net-tools bzip2 -y<\/code><\/p>\n<p>Next, you&#8217;ll need to go through TeamSpeak user creation.<\/p>\n<p><code>adduser teamspeak<\/code><\/p>\n<p>You will be prompted to enter a password for TeamSpeak. Make it strong, but don&#8217;t worry about remembering it, as you will not be asked for it in the future.<\/p>\n<p><code>passwd teamspeak<\/code><\/p>\n<p>Next, you\u2019ll need to install TeamSpeak server, using the following command:<\/p>\n<p><code>wget http:\/\/dl.4players.de\/ts\/releases\/3.0.12.4\/teamspeak3-server_linux_amd64-3.0.12.4.tar.bz2<br \/>\ntar xvf teamspeak3-server_linux_amd64-3.0.12.4.tar.bz2<br \/>\ncd teamspeak3-server_linux_amd64<br \/>\ncp * -R \/home\/teamspeak<br \/>\ncd ..<br \/>\nrm -rf teamspeak3-server_linux_amd64*<br \/>\nchown -R teamspeak:teamspeak \/home\/teamspeak<\/code><\/p>\n<p>If your server reboots, you will need a way to have TeamSpeak start up automatically. This is where startup scripts can come in handy. Create the following file and open it in your text editor.<\/p>\n<p><code>nano \/lib\/systemd\/system\/teamspeak.service<\/code><\/p>\n<p>Add this content to the file.<\/p>\n<p><code class=\"gris\">[Unit]<br \/>\nDescription=Team Speak 3 Server<br \/>\nAfter=network.target<br \/>\n[Service]<br \/>\nWorkingDirectory=\/home\/teamspeak\/<br \/>\nUser=teamspeak<br \/>\nGroup=teamspeak<br \/>\nType=forking<br \/>\nExecStart=\/home\/teamspeak\/ts3server_startscript.sh start inifile=ts3server.ini<br \/>\nExecStop=\/home\/teamspeak\/ts3server_startscript.sh stop<br \/>\nPIDFile=\/home\/teamspeak\/ts3server.pid<br \/>\nRestartSec=15<br \/>\nRestart=always<br \/>\n[Install]<br \/>\nWantedBy=multi-user.target<\/code><\/p>\n<p>Save and exit the text editor.<\/p>\n<p>Now you can start and enable the TeamSpeak Server onboot feature.<\/p>\n<p><code>systemctl --system daemon-reload<br \/>\nsystemctl start teamspeak.service<br \/>\nsystemctl enable teamspeak.service<\/code><\/p>\n<p>Make sure that TeamSpeak is actually running with this command:<\/p>\n<p><code>systemctl status teamspeak.service<\/code><\/p>\n<h2>Firewall rules addition<\/h2>\n<p>TeamSpeak utilizes certain ports that must remain open for its services to work properly.<br \/>\n\u2022\t9987 UDP: TeamSpeak Voice service<br \/>\n\u2022\t10011 TCP: TeamSpeak ServerQuery<br \/>\n\u2022\t30033 TCP: TeamSpeak FileTransfer<\/p>\n<p>If you are using CentOS7&#8217;s firewall service (firewalld), here is how to open those ports:<\/p>\n<p><code>firewall-cmd --zone=public --add-port=9987\/udp --permanent<br \/>\nfirewall-cmd --zone=public --add-port=10011\/tcp --permanent<br \/>\nfirewall-cmd --zone=public --add-port=30033\/tcp --permanent<br \/>\nfirewall-cmd --reload<\/code><\/p>\n<h2>Administrate your TeamSpeak server<\/h2>\n<p>The first time that you connect TeamSpeak-client to the newly installed TeamSpeak-server, you will be prompted to enter an administrator key.<\/p>\n<p>This key has been generated at first startup. You will need to retrieve the key in order to elevate your account as an administrator.<\/p>\n<p><code>cat \/home\/teamspeak\/logs\/ts3server_*<\/code><\/p>\n<p>If successful, you should see the following output.<\/p>\n<p><code class=\"gris\">20**-**-** **:**:**.464359|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.0.12.4 (2016-04-25 15:16:45)<br \/>\n20**-**-** **:**:**.464674|INFO    |ServerLibPriv |   |SystemInformation: Linux 3.10.0-229.14.1.el7.x86_64 #1 SMP Tue Sep 15 15:05:51 UTC 2015 x86_64 Binary: 64bit<br \/>\n20**-**-** **:**:**.464714|INFO    |ServerLibPriv |   |Using hardware aes<br \/>\n20**-**-** **:**:**.465528|INFO    |DatabaseQuery |   |dbPlugin name:    SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH<br \/>\n20**-**-** **:**:**.465569|INFO    |DatabaseQuery |   |dbPlugin version: 3.8.6<br \/>\n20**-**-** **:**:**.467044|INFO    |DatabaseQuery |   |checking database integrity (may take a while)<br \/>\n20**-**-** **:**:**.486336|INFO    |SQL           |   |db_CreateTables() tables created<br \/>\n20**-**-** **:**:**.700041|WARNING |Accounting    |   |Unable to find valid license key, falling back to limited functionality<br \/>\n20**-**-** **:**:**.967102|INFO    |              |   |Puzzle precompute time: 1235<br \/>\n20**-**-** **:**:**.969291|INFO    |FileManager   |   |listening on 0.0.0.0:30033<br \/>\n20**-**-** **:**:**.970825|INFO    |VirtualSvrMgr |   |executing monthly interval<br \/>\n20**-**-** **:**:**.971008|INFO    |VirtualSvrMgr |   |reset virtualserver traffic statistics<br \/>\n20**-**-** **:**:**.040977|INFO    |CIDRManager   |   |updated query_ip_whitelist ips: 127.0.0.1,<br \/>\n20**-**-** **:**:**.042502|INFO    |Query         |   |listening on 0.0.0.0:10011<br \/>\n20**-**-** **:**:**.036685|INFO    |VirtualServer |1  |listening on 0.0.0.0:9987<br \/>\n20**-**-** **:**:**.037580|INFO    |VirtualServer |1  |client 'server'(id:0) added privilege key for servergroup 'Server Admin'(id:6)<br \/>\n20**-**-** **:**:**.037614|WARNING |VirtualServer |1  |--------------------------------------------------------<br \/>\n20**-**-** **:**:**.037634|WARNING |VirtualServer |1  |ServerAdmin privilege key created, please use the line below<br \/>\n20**-**-** **:**:**.037651|WARNING |VirtualServer |1  |token=*************************************************<br \/>\n20**-**-** **:**:**.037668|WARNING |VirtualServer |1  |--------------------------------------------------------<\/code><\/p>\n<p>Copy and paste the token into your TeamSpeak-client.<\/p>\n<p>Once you have entered the ServerAdmin key in TeamSpeak-client, you will get this message:<\/p>\n<p><code class=\"gris\">Privilege Key successfully used.<\/code><\/p>\n<p>This user will then be assigned administrator rights on your server.<\/p>\n<h2>Conclusion<\/h2>\n<p>With successful installation of TeamSpeak Server on CentOS 7, you can now host chats for up to 32 users at once, including yourself as an administrator. <\/p>\n<p>If you found this article helpful, feel free to share it with your friends and let us know in the comments below!<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>How to install TeamSpeak Server on CentOS 7 TeamSpeak\u00ae is a VoIP (voice-over-Internet Protocol) solution first released in 2001 and most popular with those who play team-based online games. The software has two parts, a server and a client, both of which can be installed on Windows, Mac and Linux. This guide will focus on<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71],"tags":[],"class_list":["post-2507","post","type-post","status-publish","format-standard","hentry","category-applications","operating_system-centos-7"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to install TeamSpeak Server on CentOS 7 - Globo.Tech<\/title>\n<meta name=\"description\" content=\"This tutorial will show you how to install Teamspeak server on your CentOS 7 server. Read now &amp; Get your own TeamSpeak voice chat server.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.globo.tech\/learning-center\/install-teamspeak-server-centos-7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install TeamSpeak Server on CentOS 7 - Globo.Tech\" \/>\n<meta property=\"og:description\" content=\"This tutorial will show you how to install Teamspeak server on your CentOS 7 server. Read now &amp; Get your own TeamSpeak voice chat server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.globo.tech\/learning-center\/install-teamspeak-server-centos-7\/\" \/>\n<meta property=\"og:site_name\" content=\"Globo.Tech\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-15T19:19:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-11-24T18:43:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/GloboTech-Logo.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"963\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"GloboTech Communications\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"GloboTech Communications\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/install-teamspeak-server-centos-7\/\",\"url\":\"https:\/\/www.globo.tech\/learning-center\/install-teamspeak-server-centos-7\/\",\"name\":\"How to install TeamSpeak Server on CentOS 7 - Globo.Tech\",\"isPartOf\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#website\"},\"datePublished\":\"2016-08-15T19:19:27+00:00\",\"dateModified\":\"2017-11-24T18:43:40+00:00\",\"author\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87\"},\"description\":\"This tutorial will show you how to install Teamspeak server on your CentOS 7 server. Read now & Get your own TeamSpeak voice chat server.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/install-teamspeak-server-centos-7\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.globo.tech\/learning-center\/install-teamspeak-server-centos-7\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/install-teamspeak-server-centos-7\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.globo.tech\/learning-center\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install TeamSpeak Server on CentOS 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#website\",\"url\":\"https:\/\/www.globo.tech\/learning-center\/\",\"name\":\"Globo.Tech\",\"description\":\"Welcome to the Official Globo.Tech Learning Center\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.globo.tech\/learning-center\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87\",\"name\":\"GloboTech Communications\",\"sameAs\":[\"http:\/\/www.gtcomm.net\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to install TeamSpeak Server on CentOS 7 - Globo.Tech","description":"This tutorial will show you how to install Teamspeak server on your CentOS 7 server. Read now & Get your own TeamSpeak voice chat server.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.globo.tech\/learning-center\/install-teamspeak-server-centos-7\/","og_locale":"en_US","og_type":"article","og_title":"How to install TeamSpeak Server on CentOS 7 - Globo.Tech","og_description":"This tutorial will show you how to install Teamspeak server on your CentOS 7 server. Read now & Get your own TeamSpeak voice chat server.","og_url":"https:\/\/www.globo.tech\/learning-center\/install-teamspeak-server-centos-7\/","og_site_name":"Globo.Tech","article_published_time":"2016-08-15T19:19:27+00:00","article_modified_time":"2017-11-24T18:43:40+00:00","og_image":[{"width":1920,"height":963,"url":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/GloboTech-Logo.png","type":"image\/png"}],"author":"GloboTech Communications","twitter_misc":{"Written by":"GloboTech Communications","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.globo.tech\/learning-center\/install-teamspeak-server-centos-7\/","url":"https:\/\/www.globo.tech\/learning-center\/install-teamspeak-server-centos-7\/","name":"How to install TeamSpeak Server on CentOS 7 - Globo.Tech","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/#website"},"datePublished":"2016-08-15T19:19:27+00:00","dateModified":"2017-11-24T18:43:40+00:00","author":{"@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"description":"This tutorial will show you how to install Teamspeak server on your CentOS 7 server. Read now & Get your own TeamSpeak voice chat server.","breadcrumb":{"@id":"https:\/\/www.globo.tech\/learning-center\/install-teamspeak-server-centos-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.globo.tech\/learning-center\/install-teamspeak-server-centos-7\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.globo.tech\/learning-center\/install-teamspeak-server-centos-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.globo.tech\/learning-center\/"},{"@type":"ListItem","position":2,"name":"How to install TeamSpeak Server on CentOS 7"}]},{"@type":"WebSite","@id":"https:\/\/www.globo.tech\/learning-center\/#website","url":"https:\/\/www.globo.tech\/learning-center\/","name":"Globo.Tech","description":"Welcome to the Official Globo.Tech Learning Center","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.globo.tech\/learning-center\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87","name":"GloboTech Communications","sameAs":["http:\/\/www.gtcomm.net"]}]}},"_links":{"self":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/comments?post=2507"}],"version-history":[{"count":5,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2507\/revisions"}],"predecessor-version":[{"id":3827,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2507\/revisions\/3827"}],"wp:attachment":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/media?parent=2507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/categories?post=2507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/tags?post=2507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}