Teamspeak 3 Server
Description
Here is a quick tutorial on how to setup your Teamspeak 3 Server on your OMV and make it reboot persistent.
Installation
1. First, we need to add a dedicated user for the TS3 Server. You will be asked to fill in some Information about the new user, but you can skip all of that by simply pressing Enter. However you need to fill in a challanging password!
2.Now we change via su (substitute user) to the created user and change to his home directory via cd:
3. Download the newest Teamspeak Server. You will find the newest version under the following URL (Download that version that fits your system. e.g. if you have a 32bit installation, you need to download the x86 package! This tutorial uses the 64bit version):
http://www.teamspeak.com/?page=downloads
4. Accept the TeamSpeak 3.x End User License Agreement before you can continue to the download. Skip the survey.
5. Copy the download link and download it to your OMV via:
wget http://ftp.4players.de/pub/hosted/ts3/releases/3.0.7.2/teamspeak3-server_linux-amd64-3.0.7.2.tar.gz
6. Extract it:
7. Remove the archive:
8. Create a symlink with the name "server" to teamspeak3-server_linux_amd64
9. Change to the server directory
10. And start the server:
FIRST START:
(ONLY ONCE!) You will see the serveradmin password and the first ServerAdmin token.
The output will look similar to this:
ts3@openmediavault:~/server$ ./ts3server_startscript.sh start
Starting the TeamSpeak 3 server
TeamSpeak 3 server started, for details please view the log file
ts3@openmediavault:~/server$
------------------------------------------------------------------
I M P O R T A N T
------------------------------------------------------------------
Server Query Admin Account created
loginname= "serveradmin", password= "JzgTt+Sb"
------------------------------------------------------------------
------------------------------------------------------------------
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=ICZqeD8uM8rNmAT4MJ3K2zA9WF7+zjA1u0UqqRHs
------------------------------------------------------------------
Alles anzeigen
Your server now runs in the background.
Autostart
11. Exit from the ts3 user, back to root
12. Change to the "/etc/ini.d" directory
13. Create a file called "teamspeak"
14. Fill it with following informations:
#!/bin/bash
### BEGIN INIT INFO
# Provides: ts3server
# Required-Start:
# Required-Stop:
# Default-Start:
# Default-Stop:
# X-Interactive:
# Short-Description: Teamspeak 3 Server
### END INIT INFO
# User which will run the Teamspeak-Server
USER=ts3
# The installation directory of the Teamspeak-Server
DIR=/home/ts3/server
# Run the start script
su -c "cd $DIR && $DIR/ts3server_startscript.sh $1" - $USER
Alles anzeigen
15. Make it executable:
16.Update-rc.d to copy symlinks to all runlevels that the teamspeak Server starts on bootup.
Usage
You can manage your Teamspeak 3 Server now via /etc/init.d/teamspeak command
e.g.:
Questions / Problems / Discussions
Click HERE to get to the discussions thread!