Run TeamSpeak 3 Server on Raspberry Pi | Forum

Topic location: Forum home » General » General Chat
TeArs
TeArs Jul 4 '17

A lot of people use Raspberry Pi as a small, cheap, power-efficient home server. For $35 you can get a mini server for hosting your website or install your Minecraft server. But there are a couple of applications which are not available for and not ported on Raspberry Pi. One of them is TeamSpeak 3 Server – popular communication system that is available on many platforms but not on Raspberry Pi. Below we posted a step-by-step instruction on how to install TS3 Server on Raspberry Pi 2 and Raspberry Pi 3 using ExaGear Desktop and how to automatically run TeamSpeak 3 on system startup.

Important note: If you would like to run TeamSpeak 3 Server on Raspberry Pi 1 or Raspberry Pi Zero please use this step-by-step instruction for running ts3 on RPi1 and RPi Zero. There are some additional tricks.

Raspberry Pi test stand configuration

Model

Raspberry Pi 2 Model B

Raspberry Pi 3

Frequency

900 MHz

1200 MHz

Memory

1 GB RAM

1 GB RAM

Operating System

Raspbian Jessie from May 2016

Raspbian Jessie from May 2016

Software

TeamSpeak 3 Server for Linux 32-bit

Eltechs ExaGear Desktop for Raspberry Pi 2

TeamSpeak 3 Server for Linux 32-bit

Eltechs ExaGear Desktop for Raspberry Pi 3

TeamSpeak 3 Server installation instructionInstall ExaGear Desktop

1. Install ExaGear Desktop using the following command:

$ sudo apt-get update$ sudo apt-get install exagear-desktopLaunch guest x86 system

3. Enter the guest x86 system using the following command:

$ exagear

A graphical windows will pop up and offer you to activate trial of ExaGear Desktop. Once you submit the activation form you will be forwarded into the guest x86 system in the terminal. You can check that you are in x86 environment by running the ‘arch’ command:

$ archi686

4. It is recommended to update apt-get repositories on the first launch of the guest system:

$ sudo apt-get update$ sudo apt-get install bzip2Install TeamSpeak 3 Server

5. The TeamSpeak Server should not run as root user for security reason. Therefore create a new user:

$ sudo adduser teamspeak

6. Create installation directory and set permissions:

$ sudo mkdir /usr/local/teamspeak$ sudo chown teamspeak /usr/local/teamspeak

7. Login as teamspeak user:

$ su teamspeak

8. Download TeamSpeak 3 Server for Linux 32-bit and unpack it:

$ cd /usr/local/teamspeak$ wget http://dl.4players.de/...x86-3.0.13.2.tar.bz2$ tar -xjvf teamspeak3-server_linux_x86-3.0.13.2.tar.bz2$ rm teamspeak3-server_linux_x86-3.0.13.2.tar.bz2

We provide the download link for the latest version at the time of writing, but you might want to replace it with the newer one that you can find here http://www.teamspeak.com/downloads.

Run TeamSpeak 3 Server

9. Start the Server using the following command:

$ /usr/local/teamspeak/teamspeak3-server_linux_x86/ts3server_minimal_runscript.sh

Teamspeak 3 Server running on Raspberry Pi

Now your TeamSpeak 3 Server is up and running. Highlighted credentials are required for connecting to the server via TeamSpeak 3 Client.

10. Press CTRL+C and then start the Server in the background using the following command:

$ /usr/local/teamspeak/teamspeak3-server_linux_x86/ts3server_startscript.sh startStarting the TeamSpeak 3 serverTeamSpeak 3 server started, for details please view the log file

Now TeamSpeak 3 Server is running in the background and won’t be killed after logout from the Terminal. Go ahead and connect to it via TeamSpeak 3 client!

Run TeamSpeak 3 Server automatically on system startup

Please note that the instruction above enables TeamSpeak 3 Server running, but you will need to start it manually each time after system reboot.

Although TeamSpeak 3 Server is installed inside the x86 environment, its startup script should run automatically on the host ARM system right after system startup. We have prepared the startup script and instruction for you so just follow the steps below.

1. Open Terminal (command line) and check that you are in ARM environment:

$ archarmv71

2. Download the file teamspeak3:

$ wget  http://s3-us-west-2.amazonaws.com/...s3-3.0.13/teamspeak3

Move the file to /etc/init.d directory and make it executable:

$ sudo mv teamspeak3 /etc/init.d$ sudo chmod 755 /etc/init.d/teamspeak3

3. Define the file as a startup script:

$ sudo update-rc.d teamspeak3 defaults

This is it. The next time you reboot the TeamSpeak 3 Server will start automatically.

The Forum post is edited by TeArs Jul 4 '17