Teamspeak 3 Server

    • 3rd-party

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Teamspeak 3 Server

      Teamspeak 3 Server

      Here is a quick tutorial on how to setup your Teamspeak 3 Server on your OMV and make it reboot persistent.

      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!

      Source Code

      1. adduser ts3

      2.Now we change via su (substitute user) to the created user and change to his home directory via cd:

      Source Code

      1. su ts3
      2. 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):

      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:

      Source Code

      1. wget

      6. Extract it:

      Source Code

      1. tar xfvz teamspeak3-server_linux-amd64-*.tar.gz

      7. Remove the archive:

      Source Code

      1. rm *.tar.gz

      8. Create a symlink with the name "server" to teamspeak3-server_linux_amd64

      Source Code

      1. ln -s teamspeak3-server_linux-amd64 server

      9. Change to the server directory

      Source Code

      1. cd server

      10. And start the server:

      Source Code

      1. ./ start

      (ONLY ONCE!) You will see the serveradmin password and the first ServerAdmin token.

      The output will look similar to this:

      Brainfuck Source Code

      1. ts3@openmediavault:~/server$ ./ start
      2. Starting the TeamSpeak 3 server
      3. TeamSpeak 3 server started, for details please view the log file
      4. ts3@openmediavault:~/server$
      5. ------------------------------------------------------------------
      6. I M P O R T A N T
      7. ------------------------------------------------------------------
      8. Server Query Admin Account created
      9. loginname= "serveradmin", password= "JzgTt+Sb"
      10. ------------------------------------------------------------------
      11. ------------------------------------------------------------------
      12. I M P O R T A N T
      13. ------------------------------------------------------------------
      14. ServerAdmin privilege key created, please use it to gain
      15. serveradmin rights for your virtualserver. please
      16. also check the doc/privilegekey_guide.txt for details.
      17. token=ICZqeD8uM8rNmAT4MJ3K2zA9WF7+zjA1u0UqqRHs
      18. ------------------------------------------------------------------
      Display All

      Your server now runs in the background.

      11. Exit from the ts3 user, back to root

      12. Change to the "/etc/ini.d" directory

      Source Code

      1. cd /etc/init.d

      13. Create a file called "teamspeak"

      Source Code

      1. nano teamspeak

      14. Fill it with following informations:


      1. #!/bin/bash
      2. ### BEGIN INIT INFO
      3. # Provides: ts3server
      4. # Required-Start:
      5. # Required-Stop:
      6. # Default-Start:
      7. # Default-Stop:
      8. # X-Interactive:
      9. # Short-Description: Teamspeak 3 Server
      10. ### END INIT INFO
      11. # User which will run the Teamspeak-Server
      12. USER=ts3
      13. # The installation directory of the Teamspeak-Server
      14. DIR=/home/ts3/server
      15. # Run the start script
      16. su -c "cd $DIR && $DIR/ $1" - $USER
      Display All

      15. Make it executable:

      Source Code

      1. chmod a+x teamspeak

      16.Update-rc.d to copy symlinks to all runlevels that the teamspeak Server starts on bootup.

      Source Code

      1. update-rc.d teamspeak defaults

      You can manage your Teamspeak 3 Server now via /etc/init.d/teamspeak command

      Source Code

      1. /etc/init.d/teamspeak status
      2. /etc/init.d/teamspeak start
      3. /etc/init.d/teamspeak stop

      Questions / Problems / Discussions
      Click HERE to get to the discussions thread!
      OMV stoneburner | HP Microserver | 256GB Samsung 830 SSD for system | 4x 2TB in a RAID5
      OMV erasmus| Odroid XU4 | 5TB Data drive | 500GB Backup drive

      The post was edited 1 time, last by WastlJ ().