CentOS 7 builds teamspeak3 server
TeamSpeak is an old VoIP tool software, which is adopted by the majority of foreign game players. Domestic users may not be very familiar with it. TeamSpeak is a very popular cross platform VoIP and text chat application, which can be used for internal business communication Education and training (Lectures), online games and chat communication between friends. TeamSpeak provides a solution with simpler use, strong security, high voice quality and low system and bandwidth utilization. The software adopts client server architecture and can process thousands of users in real time.
TeamSpeak has the following key features:
- Easy to use, highly customizable
- High scalability
- Support high security standards
- Deliver superior voice quality
- Allow low system resource and bandwidth usage
- Support powerful file transfer
- Support robust permission system
- Support amazing 3D sound effects
- Allow mobile connections
Prepare environment
- The centos7 system server accesses the Internet normally
- Teamspeak3-server_linux_amd64-3.7.1
- TeamSpeak 3 Client 3.2.5
- Linux basic operation
Note: the Chinese version of teamspeak3 is 3.1 6 will appearThis server requires you to use a later version of the client
Please use the official English version
Disable CentOS 7 firewall and SELinux
CentOS 7 firewall
systemctl stop firewalld
CentOS 7 SELinux (temporary shutdown)
setenforce 0
Upgrade CentOS 7 system and install dependent Toolkit
yum update
After the upgrade, you need to install related dependencies
yum install vim wget perl tar net-tools bzip2
TeamSpeak application cannot be started with root permission
So you have to create an account to run it
Add users and set passwords
useradd teamspeak
passwd teamspeak
Download TeamSpeak server
wget https://files.teamspeak-services.com/releases/server/3.7.1/teamspeak3-server_linux_amd64-3.7.1.tar.bz2
Unzip file
tar -jxf teamspeak3-server_linux_amd64-3.7.1.tar.bz2
Change the name of the extracted file and change the storage directory
mv teamspeak3-server_linux_amd64 /home/teamspeak/teamspeak3
Start TeamSpeak
We need to switch toteamspeak
As mentioned just now, TeamSpeak does not allow the root user to start the application.
Switch to the user and go directly to the user’s home directory
su - teamspeak
Enter directory
cd teamspeak3/
Start teamspeak3
./ts3server_startscript.sh start license_accepted=1
If the output is like this, it is successful
------------------------------------------------------------------
I M P O R T A N T
------------------------------------------------------------------
Server Query Admin Account created
loginname= "serveradmin", password= "5u5qdT8O"
------------------------------------------------------------------
------------------------------------------------------------------
I M P O R T A N T
------------------------------------------------------------------
ServerAdmin privilege key created, please use it to gain
serveradmin rights for your virtualserver. please
also check the doc/privilegekey_guide.txt for details.
token=nsXIaHhxnMWQJnREt2s6v6yShvlBrTxRWpPrNnee
------------------------------------------------------------------
Note: save this information for connecting to the server
Close teamspeak3
./ts3server_startscript.sh stop
View teamspeak3
./ts3server_startscript.sh status
Client connection server
Start teamspeak3
Select the upper left cornerConnections
First optionConnect
Server nickname of address (fill in your server IP or domain name)
Server password (fill in the password just generated by the server) is the following
password= "5u5qdT8O"
Then clickConnect
The dialog box appearsUse Privilege Key
page
Enter the just generatedtoken
token=nsXIaHhxnMWQJnREt2s6v6yShvlBrTxRWpPrNnee
The connection is complete
A token can only be used once. The token will be bound with the account you log in to.
After binding the token, your account will have the channel management function.
This work adoptsCC agreement, reprint must indicate the author and the link to this article