0

How to update team speak 3 server.

Could you provide a steps on how to update team speak 3 server?

sebastian
asked Apr 22, 2019
edited
1 Answer
1

Updating TeamSpeak 3

Create the user if you don't have one yet
sudo adduser --disabled-login teamspeak

Stop TeamSpeak
sudo /etc/init.d/teamspeak stop

Change to the TeamSpeak dir
cd /opt/teamspeak3

Backup TeamSpeak
sudo tar -czvf /opt/teamspeak3/ts3_backup.tar.gz /opt/teamspeak3/teamspeak3-server_linux-amd64

Download the latest version

sudo wget http://dl.4players.de/ts/releases/3.0.13.6/teamspeak3-server_linux_amd64-3.0.13.6.tar.bz2

Unpack the update

sudo tar -xjf teamspeak3-server_linux_amd64-3.0.13.6.tar.bz2
sudo cp -r teamspeak3-server_linux_amd64/. server
sudo chown -R teamspeak:teamspeak server

Start TeamSpeak:
sudo /etc/init.d/teamspeak start

Edit the script sudo nano /etc/init.d/teamspeak and add the following content:

#!/bin/sh
### BEGIN INIT INFO
# Provides:         teamspeak
# Required-Start:   $local_fs $network
# Required-Stop:    $local_fs $network
# Default-Start:    2 3 4 5
# Default-Stop:     0 1 6
# Description:      Teamspeak 3 Server
### END INIT INFO

######################################
# Customize values for your needs: "User"; "DIR"

USER="teamspeak"
DIR="/opt/teamspeak3/server"

###### Teamspeak 3 server start/stop script ######

case "$1" in
start)
su $USER -c "${DIR}/ts3server_startscript.sh start"
;;
stop)
su $USER -c "${DIR}/ts3server_startscript.sh stop"
;;
restart)
su $USER -c "${DIR}/ts3server_startscript.sh restart"
;;
status)
su $USER -c "${DIR}/ts3server_startscript.sh status"
;;
*)
echo "Usage: {start|stop|restart|status}" >&2
exit 1
;;
esac
exit 0

Make the script executable and install it:

sudo chmod +x /etc/init.d/teamspeak
sudo update-rc.d teamspeak defaults

start the service,

sudo /etc/init.d/teamspeak start
sudo /etc/init.d/teamspeak stop
sudo /etc/init.d/teamspeak restart
sudo /etc/init.d/teamspeak status
View More
linuxhelp
answered Apr 22, 2019
Your Answer
||||
 
100:0

Related Tutorials in How to update team speak 3 server.

Related Tutorials in How to update team speak 3 server.

Related Forums in How to update team speak 3 server.

Related Forums in How to update team speak 3 server.