Log in  \/ 
x
or
Register
x

Install Teamspeak 3 on CentOS with cPanel

on . Posted in Tutorials

TeamSpeak is proprietary voice-over-Internet Protocol (VoIP) software that allows computer users to speak on a chat channel with fellow computer users, much like a telephone conference call. The target audience for TeamSpeak is gamers, who can use the software to communicate with other players on the same team of a multiplayer game. Communicating by voice gives a competitive advantage by allowing players to keep their hands on the controls.

 Update system

yum -y update


Add Teamspeak user

useradd teamspeak


Download, unzip and cleanup Teamspeak

cd /home/teamspeak
wget http://ftp.4players.de/pub/hosted/ts3/releases/3.0.11.2/teamspeak3-server_linux-amd64-3.0.11.2.tar.gz
tar xvfz teamspeak3-server_linux-amd64-3.0.11.2.tar.gz
mv teamspeak3-server_linux-amd64/* `pwd`
rm -rf teamspeak3-server_linux-amd64 && rm -rf teamspeak3-server_linux-amd64-3.0.11.2.tar.gz


Add chkconfig support to startup file and link to binary

sed -i 's/# All rights reserved/# All rights reservedn# chkconfig: 2345 99 00/g' ts3server_startscript.sh
ln -s /home/teamspeak/ts3server_startscript.sh /etc/init.d/teamspeak


Change permissions of Teamspeak

chown -R teamspeak:teamspeak /home/teamspeak
chown -R teamspeak:teamspeak /etc/init.d/teamspeak


Remount shared memory - Note

mount -t tmpfs tmpfs /dev/shm


Open ports in iptables

iptables -I INPUT -p udp --dport 9987 -j ACCEPT
iptables -I INPUT -p udp --sport 9987 -j ACCEPT

iptables -I INPUT -p tcp --dport 30033 -j ACCEPT
iptables -I INPUT -p tcp --sport 30033 -j ACCEPT

iptables -I INPUT -p tcp --dport 10011 -j ACCEPT
iptables -I INPUT -p tcp --sport 10011 -j ACCEPT

service iptables save && service iptables restart



# Change to Teamspeak user and run server

su teamspeak
service teamspeak start

echo "Your Teamspeak URL is: `curl website.com`" 
Share this article
FaceBook  Twitter

Comments (0)

There are no comments posted here yet

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok