{"id":13355,"date":"2019-04-01T22:01:39","date_gmt":"2019-04-01T22:01:39","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=13355"},"modified":"2019-04-01T22:01:39","modified_gmt":"2019-04-01T22:01:39","slug":"how-to-install-teamspeak-server-in-centos-7","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/04\/01\/how-to-install-teamspeak-server-in-centos-7\/","title":{"rendered":"How to Install TeamSpeak Server in CentOS 7"},"content":{"rendered":"<p><strong>TeamSpeak<\/strong>\u00a0is a popular, cross-platform VoIP and text chat application for internal business communication, education and training (lectures), online gaming and connecting with friends and family. Its primary priority is delivering a solution that is simpler to use, with strong security standards, superb voice quality, and less system and bandwidth utilization. It uses a client-server architecture and is capable of handling thousands of simultaneous users.<\/p>\n<h4>How it Works<\/h4>\n<p>Deploy your own\u00a0<strong>TeamSpeak Server<\/strong>\u00a0on a Linux VPS and share your TeamSpeak Server address with teammates, friends and family or anyone you want to communicate with. Using the free desktop\u00a0<strong>TeamSpeak Client<\/strong>, they connect to your TeamSpeak Server and start talking. It\u2019s that easy!<\/p>\n<div id=\"exam_announcement\">You can get a 2GB RAM VPS from\u00a0<a href=\"https:\/\/www.linode.com\/?r=64ebb9f723fed8b32fda84b6594006df08ad24b6\" target=\"_blank\" rel=\"nofollow noopener\">Linode<\/a>\u00a0for\u00a0<strong>$10<\/strong>, but it\u2019s unmanaged. If you want a Managed VPS, then use our new\u00a0<a href=\"https:\/\/www.bluehost.com\/track\/tecmint\/?page=products\/vps\" target=\"_blank\" rel=\"nofollow noopener\">BlueHost Promotion Offer<\/a>, you will get upto\u00a0<strong>40%<\/strong>\u00a0OFF on hosting with one\u00a0<strong>Free Domain<\/strong>\u00a0for Life. If you get a Managed VPS, they will probably install\u00a0<strong>TeamSpeak Server<\/strong>\u00a0for you.<\/div>\n<h4>Key Features<\/h4>\n<ul>\n<li>It is easy to use and highly customizable.<\/li>\n<li>Has a decentralized infrastructure and is highly scalable.<\/li>\n<li>Supports high security standards.<\/li>\n<li>Offers remarkable voice quality.<\/li>\n<li>Allows for low system resource and bandwidth usage.<\/li>\n<li>Supports powerful file transfer.<\/li>\n<li>Also supports a robust permission system.<\/li>\n<li>Supports stunning 3D sound effects .<\/li>\n<li>Allows for mobile connectivity and lots more.<\/li>\n<\/ul>\n<h4>Requirements<\/h4>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/centos-7-installation\/\" target=\"_blank\" rel=\"noopener\">CentOS 7 Server with Minimal System Installation<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/configure-network-interface-in-rhel-centos-7-0\/\" target=\"_blank\" rel=\"noopener\">CentOS 7 Server with Static IP Address<\/a><\/li>\n<\/ol>\n<p>In this tutorial, we will explain how to install\u00a0<strong>TeamSpeak Server<\/strong>\u00a0on your\u00a0<strong>CentOS 7<\/strong>\u00a0instance and a desktop\u00a0<strong>TeamSpeak Client<\/strong>\u00a0on a Linux machine.<\/p>\n<h3>Installing TeamSpeak Server in CentOS 7<\/h3>\n<p><strong>1.<\/strong>\u00a0First start by updating your\u00a0<strong>CentOS 7<\/strong>\u00a0server packages and then install needed dependencies for the installation process using following commands.<\/p>\n<pre># yum update\r\n# yum install vim wget perl tar net-tools bzip2\r\n<\/pre>\n<p><strong>2.<\/strong>\u00a0Next, you need to create a user for\u00a0<strong>TeamSpeak Server<\/strong>\u00a0process to ensure that the TeamSpeak server is running in user mode detached from other processes.<\/p>\n<pre># useradd teamspeak\r\n# passwd teamspeak\r\n<\/pre>\n<p><strong>3.<\/strong>\u00a0Now go to the\u00a0<a href=\"https:\/\/www.teamspeak.com\/en\/downloads.html#server\" target=\"_blank\" rel=\"nofollow noopener\">TeamSpeak Server download<\/a>\u00a0page and grab the most recent version (i.e.\u00a0<strong>3.2.0<\/strong>) using following\u00a0<a href=\"https:\/\/www.tecmint.com\/10-wget-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener\">wget command<\/a>\u00a0and then extract the tarball and copy all of the files to our unprivileged user\u2019s home directory as shown.<\/p>\n<pre># wget -c http:\/\/dl.4players.de\/ts\/releases\/3.2.0\/teamspeak3-server_linux_amd64-3.2.0.tar.bz2\r\n# tar -xvf teamspeak3-server_linux_amd64-3.2.0.tar.bz2\r\n# mv teamspeak3-server_linux_amd64 teamspeak3\r\n# cp -R teamspeak3 \/home\/teamspeak\/\r\n# chown -R teamspeak:teamspeak \/home\/teamspeak\/teamspeak3\/\r\n<\/pre>\n<p><strong>4.<\/strong>\u00a0Once everything in place, now switch to\u00a0<strong>teamspeak<\/strong>\u00a0user and start the teamspeak server manually using following commands.<\/p>\n<pre># su - teamspeak\r\n$ cd teamspeak3\/\r\n$ .\/ts3server_startscript.sh start\r\n<\/pre>\n<div id=\"attachment_29537\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/TeamSpeak-Starting.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-29537\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/TeamSpeak-Starting.png\" alt=\"TeamSpeak Starting\" width=\"748\" height=\"201\" aria-describedby=\"caption-attachment-29537\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-29537\" class=\"wp-caption-text\">TeamSpeak Starting<\/p>\n<\/div>\n<p><strong>5.<\/strong>\u00a0To manage\u00a0<strong>TeamSpeak Server<\/strong>\u00a0under\u00a0<strong>Systemd<\/strong>\u00a0services, you need to create a\u00a0<strong>teamspeak service<\/strong>\u00a0unit file.<\/p>\n<pre>$ su -\r\n# vi  \/lib\/systemd\/system\/teamspeak.service\r\n<\/pre>\n<p>Add the following configuration in the unit file.<\/p>\n<pre>[Unit]\r\nDescription=Team Speak 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<\/pre>\n<p>Save and close the file. Then start\u00a0<strong>teamspeak server<\/strong>\u00a0for now and enable it to start automatically at system boot as follows.<\/p>\n<pre># systemctl start teamspeak\r\n# systemctl enable teamspeak\r\n# systemctl status teamspeak\r\n<\/pre>\n<div id=\"attachment_29533\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Start-TeamSpeak-Server.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-29533\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Start-TeamSpeak-Server.png\" sizes=\"auto, (max-width: 782px) 100vw, 782px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Start-TeamSpeak-Server.png 782w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/Start-TeamSpeak-Server-768x450.png 768w\" alt=\"Start TeamSpeak Server\" width=\"782\" height=\"458\" aria-describedby=\"caption-attachment-29533\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-29533\" class=\"wp-caption-text\">Start TeamSpeak Server<\/p>\n<\/div>\n<p><strong>6.<\/strong>\u00a0When you start the\u00a0<strong>teamspeak server<\/strong>\u00a0for the first time, it generates a administrator\u00a0<strong>token\/key<\/strong>\u00a0which you will use to connect to the server from a\u00a0<strong>TeamSpeak Client<\/strong>. You can view the log file to get the key.<\/p>\n<pre># cat \/home\/teamspeak\/logs\/ts3server_2017-08-09__22_51_25.819181_1.log\r\n<\/pre>\n<div id=\"attachment_29534\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/TeamSpeak-Server-Token.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-29534\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/TeamSpeak-Server-Token.png\" sizes=\"auto, (max-width: 1042px) 100vw, 1042px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/TeamSpeak-Server-Token.png 1042w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/TeamSpeak-Server-Token-768x170.png 768w\" alt=\"TeamSpeak Server Token\" width=\"1042\" height=\"230\" aria-describedby=\"caption-attachment-29534\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-29534\" class=\"wp-caption-text\">TeamSpeak Server Token<\/p>\n<\/div>\n<p><strong>7.<\/strong>\u00a0Next,\u00a0<strong>TeamSpeak<\/strong>\u00a0listens on a number of ports:\u00a0<strong>9987<\/strong>\u00a0UDP (TeamSpeak Voice service),\u00a0<strong>10011<\/strong>\u00a0TCP (TeamSpeak ServerQuery) and\u00a0<strong>30033<\/strong>\u00a0TCP (TeamSpeak FileTransfer).<\/p>\n<p>Therefore modify your firewall rules to open these ports as follows.<\/p>\n<pre># firewall-cmd --zone=public --add-port=9987\/udp --permanent\r\n# firewall-cmd --zone=public --add-port=10011\/tcp --permanent\r\n# firewall-cmd --zone=public --add-port=30033\/tcp --permanent\r\n# firewall-cmd --reload\r\n<\/pre>\n<h3>Installing TeamSpeak Client in Ubuntu 18.04<\/h3>\n<p><strong>8.<\/strong>\u00a0Login into your Ubuntu Desktop machine (you can use any Linux OS) and go to the\u00a0<a href=\"https:\/\/www.teamspeak.com\/en\/downloads.html#client\" target=\"_blank\" rel=\"nofollow noopener\">TeamSpeak Client download<\/a>\u00a0page and grab the most recent version (i.e.\u00a0<strong>3.1.9<\/strong>) using following\u00a0<a href=\"https:\/\/www.tecmint.com\/10-wget-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener\">wget command<\/a>\u00a0and install it as shown.<\/p>\n<pre>$ wget http:\/\/dl.4players.de\/ts\/releases\/3.1.9\/TeamSpeak3-Client-linux_amd64-3.1.9.run\r\n$ chmod 755 TeamSpeak3-Client-linux_amd64-3.1.9.run\r\n$ .\/TeamSpeak3-Client-linux_amd64-3.1.9.run\r\n$ cd TeamSpeak3-Client-linux_amd64\r\n.\/ts3client_runscript.sh\r\n<\/pre>\n<div id=\"attachment_29531\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/TeamSpeak-Client-on-Ubuntu.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-29531\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/TeamSpeak-Client-on-Ubuntu.png\" sizes=\"auto, (max-width: 935px) 100vw, 935px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/TeamSpeak-Client-on-Ubuntu.png 935w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/05\/TeamSpeak-Client-on-Ubuntu-768x556.png 768w\" alt=\"TeamSpeak Client on Ubuntu\" width=\"935\" height=\"677\" aria-describedby=\"caption-attachment-29531\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-29531\" class=\"wp-caption-text\">TeamSpeak Client on Ubuntu<\/p>\n<\/div>\n<p><strong>9.<\/strong>\u00a0To access the server query admin account, use the\u00a0<strong>loginname<\/strong>\u00a0and\u00a0<strong>password<\/strong>\u00a0which were created after starting the server. Here, you will also be asked to provide the\u00a0<strong>ServerAdmin Key<\/strong>, once entered the key, you will see the message below meaning you now have administrative rights on the teamspeak server you just installed.<\/p>\n<pre>Privilege Key successfully used.\r\n<\/pre>\n<p>For more information, check out the TeamSPeak Homepage:\u00a0<a href=\"https:\/\/www.teamspeak.com\/en\/\" target=\"_blank\" rel=\"nofollow noopener\">https:\/\/www.teamspeak.com\/en\/<\/a><\/p>\n<p>In this article, we have explained how to install TeamSpeack Server on\u00a0<strong>CentOS 7<\/strong>\u00a0and a client on\u00a0<strong>Ubuntu Desktop<\/strong>. If you have any questions or thoughts to share, use the feedback form below to reach us.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/install-teamspeak-server-in-centos-7\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>TeamSpeak\u00a0is a popular, cross-platform VoIP and text chat application for internal business communication, education and training (lectures), online gaming and connecting with friends and family. Its primary priority is delivering a solution that is simpler to use, with strong security standards, superb voice quality, and less system and bandwidth utilization. It uses a client-server architecture &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/04\/01\/how-to-install-teamspeak-server-in-centos-7\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to Install TeamSpeak Server in CentOS 7&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-13355","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13355","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=13355"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13355\/revisions"}],"predecessor-version":[{"id":13356,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13355\/revisions\/13356"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=13355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=13355"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=13355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}