Teamspeak<\/strong>\u00a0is a\u00a0VOIP server<\/strong>\u00a0that can be used for teams\/multiple people to communicate. It is relatively lightweight, and secure, as updates are released regularly.<\/p>\n In this tutorial, we’ll be installing\u00a0Teamspeak<\/strong>\u00a0on your\u00a0CentOS 7<\/strong>\u00a0instance.<\/p>\n Before we begin, you’ll need:<\/p>\n Update the system packages. This may take some time.<\/p>\n Install tools needed for this tutorial.<\/p>\n Add an unprivileged user to run Teamspeak. When prompted, enter your desired password.<\/p>\n Retrieve the Teamspeak server software.<\/p>\n Extract the Teamspeak tarball and copy all of the files to our unprivileged user’s home directory.<\/p>\n Remove temporary files.<\/p>\n Grant the appropriate permissions to our\u00a0 Create a Systemd service for Teamspeak.<\/p>\n Paste the following:<\/p>\n Save and exit (press\u00a0 Reload Systemd units.<\/p>\n Make Teamspeak run on startup.<\/p>\n Controlling Teamspeak is simple. You can control Teamspeak with the following command:<\/p>\n Replace\u00a0 CentOS 7 no longer uses\u00a0 Find the default zone. On\u00a0Aklweb host<\/strong>\u00a0instances running CentOS 7, the default zone is\u00a0 Open the default ports for Teamspeak. If each rule is added successfully, the output will read “success”.<\/p>\n Reload\u00a0Prerequisites<\/strong><\/h2>\n
\n
wget<\/code>\u00a0(utility used for downloading files).<\/strong><\/li>\n
nano<\/code>\u00a0or\u00a0
vim<\/code>\u00a0(any text editor is fine).<\/strong><\/li>\n<\/ul>\n
Installation<\/strong><\/h2>\n
Prerequisites<\/strong><\/h3>\n
yum update -y\r\n<\/code><\/pre>\n
yum install nano wget perl tar net-tools bzip2 -y\r\n<\/code><\/pre>\n
Installation<\/strong><\/h3>\n
useradd ts\r\npasswd ts\r\n<\/code><\/pre>\n
cd ~\r\nwget http:\/\/dl.4players.de\/ts\/releases\/3.0.13.8\/teamspeak3-server_linux_amd64-3.0.13.8.tar.bz2\r\n<\/code><\/pre>\n
tar -xvf teamspeak3-server_linux_amd64-3.0.13.8.tar.bz2\r\ncd teamspeak3-server_linux_amd64\r\ncp * -R \/home\/ts\r\n<\/code><\/pre>\n
cd ~\r\nrm -rf teamspeak3-server_linux_amd64\r\nrm -rf teamspeak3-server_linux_amd64-3.0.13.8.tar.bz2\r\n<\/code><\/pre>\n
ts<\/code>\u00a0user.<\/p>\n
chown -R ts:ts \/home\/ts\r\n<\/code><\/pre>\n
nano \/lib\/systemd\/system\/teamspeak.service\r\n<\/code><\/pre>\n
[Unit]\r\nDescription=Team Speak 3 Server\r\nAfter=network.target\r\n[Service]\r\nWorkingDirectory=\/home\/teamspeak\/\r\nUser=ts\r\nGroup=ts\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[Install]\r\nWantedBy=multi-user.target\r\n<\/code><\/pre>\n
CTRL<\/code>\u00a0and\u00a0
O<\/code>\u00a0simultaneously, followed by the\u00a0
Enter<\/code>\u00a0key).<\/p>\n
systemctl --system daemon-reload\r\n<\/code><\/pre>\n
systemctl enable teamspeak.service\r\n<\/code><\/pre>\n
Starting, Stopping And Restarting Teamspeak<\/strong><\/h3>\n
systemctl (option) teamspeak.service\r\n<\/code><\/pre>\n
(option)<\/code>\u00a0with\u00a0
start<\/code>,\u00a0
stop<\/code>, or\u00a0
restart<\/code>.<\/p>\n
Configuring The firewall<\/strong><\/h3>\n
iptables<\/code>. As an alternative, CentOS 7 comes with\u00a0
firewalld<\/code>\u00a0by default.<\/p>\n
public<\/code>.<\/p>\n
firewall-cmd --get-default-zone\r\n<\/code><\/pre>\n
firewall-cmd --zone=public --permanent --add-port=10011\/tcp\r\nfirewall-cmd --zone=public --permanent --add-port=30033\/tcp\r\nfirewall-cmd --zone=public --permanent --add-port=9987\/udp\r\n<\/code><\/pre>\n
firewalld<\/code>.<\/p>\n
firewall-cmd --reload\r\n<\/code><\/pre>\n
Conclusion<\/strong><\/h2>\n