Kategorie: Linux

Installing the TeamSpeak voice server Centos7

The following description of the installation very simple voice server TeamSpeak Centos7 in the system with a few commands.

At the start of upgrading our system

yum update

We install the necessary packages

yum -y install nano wget perl tar net-tools bzip2

Teamspeak add the user to the system

adduser teamspeak -d /opt/teamspeak

Grab the latest available version of the server temspeak

http://dl.4players.de/ts/releases/3.1.8/TeamSpeak3-Client-linux_amd64-3.1.8.run

unpack

tar xvf teamspeak3-server_linux_amd64*.tar.bz2

Move the downloaded files to the user

mv teamspeak3-server_linux_amd64/* /opt/teamspeak

Delete the downloaded pack

rm -rf teamspeak3-server_linux_amd64*

We give permission

chown -R teamspeak: /opt/teamspeak

Log into user created earlier and start the server

su - teamspeak
./ts3server_startscript.sh start inifile=ts3server.ini

We should get a console password

[teamspeak@centos ~]$ ./ts3server_startscript.sh start inifile=ts3server.ini
Starting the TeamSpeak 3 server
TeamSpeak 3 server started, for details please view the log file
[teamspeak@centos ~]$
------------------------------------------------------------------
                      I M P O R T A N T
------------------------------------------------------------------
               Server Query Admin Account created
         loginname= "serveradmin", password= "4CQJv1kq"

We stop the server and create a script istartowy

./ts3server_startscript.sh stop
nano /lib/systemd/system/teamspeak.service

The file should have a content:

[Unit]
Description=TeamSpeak Server Service
After=network.target

[Service]
Type=forking
WorkingDirectory=/opt/teamspeak/
ExecStart=/opt/teamspeak/ts3server_startscript.sh start inifile=ts3server.ini
ExecStop=/opt/teamspeak/ts3server_startscript.sh stop
User=teamspeak
Group=teamspeak
PIDFile=/opt/teamspeak/ts3server.pid
Restart=always
RestartSec=9
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=teamspeak

[Install]
WantedBy=multi-user.target

The last step is to run the script just in the system

systemctl start teamspeak
systemctl enable teamspeak
systemctl status teamspeak

Linux

Udostępnij
Opublikowane przez
Linux

Recent posts

KeePass2 2.52 w Ubuntu 22.04

The guide below describes how to install KeePass on Ubuntu. Całość wykonamy za pomocą kilku poleceń

2 years temu

Installing Master PDF editor in Ubuntu 22.04

Master PDF Editor is a comprehensive PDF program, which includes many features. Oprócz tworzenia i edycji

2 years temu

iotop - memory monitoring

Iotop jest prostym narzędziem dla systemów Uniksowych umożliwiającym monitorowanie użycia dowolnego nośnika pamięci flash/hdd/ssd w

2 years temu

Run multiple commands in one cron job

You can separate two or more commands with semicolons (;), Semicolon (;): służy do oddzielania

2 years temu

Changing the exif data of a photo in the Linux terminal

Poniższy poradnik opisuje w jaki sposób za pomocą konsoli możemy dokonać edycji danych zdjęcia exif.

2 years temu

Installing Rocket.Chat Server on Rocky Linux 8

The following guide describes how to install Rocket.Chat on Rocky Linux 8 Całość bardzo prosto zainstalujemy

2 years temu