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
tar xvfz teamspeak3-server_linux-amd64-
mv teamspeak3-server_linux-amd64/* `pwd`
rm -rf teamspeak3-server_linux-amd64 && rm -rf teamspeak3-server_linux-amd64-

Add chkconfig support to startup file and link to binary

sed -i 's/# All rights reserved/# All rights reservedn# chkconfig: 2345 99 00/g'
ln -s /home/teamspeak/ /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`" 
Share this article
FaceBook  Twitter

Comments (0)

There are no comments posted here yet

About Me

My Name is Mike, I'm 36 years old, and a computer technician from France.

I'm passionate about new technologies, computers and many other Geeky/Nerdy things, such as Cinema, Video Games and Mangas.

I hope you will have a good time here and will excuse me for my bad English, it's still a work in progress, but i really wanted to give it a shot so I could share with as many people as possible.

Recent Comments

No activities found.