How to Install TeamSpeak Server in CentOS 7?

Source: Internet
Author: User
Keywords teamspeak server linux ts3 centos 7 how to host a ts3 server
TeamSpeak is a popular, cross-platform VoIP and text chat application for internal business communication, education and training (lectures), online games, and contact with friends and family. Its primary task is to provide a simpler and easier-to-use solution with strong security standards, excellent voice quality and less system and bandwidth utilization. It uses a client-server architecture and can handle thousands of users simultaneously.
Simple Application Server
USD1.00 New User Coupon
* Only 3,000 coupons available.
* Each new user can only get one coupon(except users from distributors).
* The coupon is valid for 30 days from the date of receipt.

How it works
Deploy your own TeamSpeak server on Linux VPS, and share your TeamSpeak server address with team members, friends and family or anyone you want to communicate with. Using the free desktop TeamSpeak client, they connect to your TeamSpeak server and start talking. this is very simple!

In this tutorial, we will explain how to install TeamSpeak Server on a CentOS 7 instance and install the desktop TeamSpeak client on a Linux machine.

Install TeamSpeak Server in CentOS 7
1. First update your CentOS 7 server package, then use the following commands to install the required dependencies for the installation process.
# yum update
# yum install vim wget perl tar net-tools bzip2

2. Next, you need to create a user for the TeamSpeak server process to ensure that the TeamSpeak server runs in user mode, separated from other processes.
# useradd teamspeak
# passwd teamspeak

3. Now enter the TeamSpeak server download page, use the following wget command to get the latest version (for example, 3.2.0), then unzip the tarball and copy all the files to our non-privileged user's home directory, as shown in the figure.
# wget -c http://dl.4players.de/ts/releases/3.2.0/teamspeak3-server_linux_amd64-3.2.0.tar.bz2
# tar -xvf teamspeak3-server_linux_amd64-3.2.0.tar.bz2
# mv teamspeak3-server_linux_amd64 teamspeak3
# cp -R teamspeak3 /home/teamspeak/
# chown -R teamspeak:teamspeak /home/teamspeak/teamspeak3/

4. When everything is ready, now switch to the team user and use the following command to manually start the teamspeak server.
# su-teamspeak
$ cd teamspeak3/
$ ./ts3server_startscript.sh start

TeamSpeak started

5. To manage TeamSpeak server under Systemd service, you need to create a teampeak service unit file.
$ su-
# vi /lib/systemd/system/teamspeak.service
Add the following configuration in the unit file.
[Unit]
Description=Team Speak 3 Server
After=network.target
[Service]
WorkingDirectory=/home/teamspeak/
User=teamspeak
Group=teamspeak
Type=forking
ExecStart=/home/teamspeak/ts3server_startscript.sh start inifile=ts3server.ini
ExecStop=/home/teamspeak/ts3server_startscript.sh stop
PIDFile=/home/teamspeak/ts3server.pid
RestartSec=15
Restart=always
[Install]
WantedBy=multi-user.target
Save and close the file. Then immediately start the teamspeak server and enable it to start automatically when the system boots, as shown below.
# systemctl start teamspeak
# systemctl enable teamspeak
# systemctl status teamspeak

Start the TeamSpeak server

6. When the teamspeak server is started for the first time, it will generate an administrator token/key that you will use to connect to the server from the TeamSpeak client. You can check the log file to get the key.
# cat /home/teamspeak/logs/ts3server_2017-08-09__22_51_25.819181_1.log
TeamSpeak server token

7. Next, TeamSpeak monitors multiple ports: 9987 UDP (TeamSpeak voice service), 10011 TCP (TeamSpeak ServerQuery) and 30033 TCP (TeamSpeak FileTransfer).

Therefore, modify your firewall rules to open these ports as follows
# firewall-cmd --zone=public --add-port=9987/udp --permanent
# firewall-cmd --zone=public --add-port=10011/tcp --permanent
# firewall-cmd --zone=public --add-port=30033/tcp --permanent
# firewall-cmd --reload

Install TeamSpeak client in Ubuntu 18.04
8. Log in to your Ubuntu desktop computer (you can use any Linux operating system) and go to the TeamSpeak client download page, and use the following wget command to get the latest version (ie 3.1.9) and install it as shown.
$ wget http://dl.4players.de/ts/releases/3.1.9/TeamSpeak3-Client-linux_amd64-3.1.9.run
$ chmod 755 TeamSpeak3-Client-linux_amd64-3.1.9.run
$ ./TeamSpeak3-Client-linux_amd64-3.1.9.run
$ cd TeamSpeak3-Client-linux_amd64
./ts3client_runscript.sh

TeamSpeak client on Ubuntu

9. To access the server to query the administrator account, please use the login name and password created after starting the server. Here, you will also be asked to provide the ServerAdmin key. Once you enter the key, you will see the following message, which means that you now have administrative rights for the teampeak server you just installed.

Privilege Key successfully used.
For more information, please check the TeamSPeak homepage: https://www.teamspeak.com/en/

In this article, we explained how to install TeamSpeack Server on CentOS 7 and install the client on the Ubuntu desktop. If you have any questions or ideas to share, please contact us using the feedback form below.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.