Run TeamSpeak 3 Server on Raspberry Pi

Step-by-step instruction on running TeamSpeak 3 Server on Raspberry Pi

using ExaGear Desktop

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 instruction

Install ExaGear Desktop

1. Install ExaGear Desktop using the following command:

$ sudo apt-get update
$ sudo apt-get install exagear-desktop

Launch 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:

$ arch
i686

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 bzip2

Install 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/ts/releases/3.0.13.2/teamspeak3-server_linux_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 start
Starting the TeamSpeak 3 server
TeamSpeak 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:

$ arch
armv71

2. Download the file teamspeak3:

$ wget  http://s3-us-west-2.amazonaws.com/exagear-ts3-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.

Final notes

Also we’ve uploaded the script on GitHub that automates installation and running of TeamSpeak 3 Server on RPi 2 and RPi 3. It’s up to you whether to follow the instruction above and repeat each step by yourself or just download the script from HitHub and run it.

Please note that you can run TeamSpeak 3 Server on Raspberry Pi 1 and Raspberry Pi Zero, but with some tricks. For details please use this step-by-step instruction to run ts3 on Pi1 and RPi Zero.

For home server you might use not only Raspberry Pi but also another ARM-based device, such as Odroid, Banana Pi, Beagleboard, Cubox, Jetson, Cubieboard etc. ExaGear Desktop also supports almost all ARM devices and you can run Teamspeak 3 Server on any of them.

Get my ExaGear Desktop

Also on Eltechs

Gaming Beyond RetroPie

Gaming Beyond RetroPie

How to run some iconic PC games like Arcanum, Disciples II and Fallout on Raspberry Pi with Exagear Desktop.

Run Plex Media Server on Raspberry Pi

Run Plex Media Server on Raspberry Pi

Install PC version of PlexServer on your Raspberry Pi using ExaGear Desktop and get access to your media.

Run Spotify on Raspberry Pi

Run Spotify on Raspberry Pi

Spotify is available on many platforms but not on Raspberry Pi 🙁 During the past month we were working hard on the performance tuning of ExaGear Desktop and made it happen!

Run Netflix via Google Chrome on Raspberry Pi

Run Google Chrome on Raspberry Pi

Step-by-step instruction on running Google Chrome browser and Netflix on Raspberry Pi with the help of ExaGear Desktop.

Run TeamViewer on Raspberry Pi

Run TeamViewer on Raspberry Pi

In this post we will tell you how to run TeamViewer on Raspberry Pi 2 using ExaGear Desktop which allows to run x86 apps on ARM mini PCs.

Run Dropbox on Raspberry Pi

Run Dropbox on Raspberry Pi

Step-by-step instruction on running a very popular file hosting service Dropbox on Raspberry Pi 2 using ExaGear Desktop

ExaGear is registered trademark of Eltechs, Inc. Raspberry Pi is a trademark of the Raspberry Pi Foundation. Other trademarks and product names are the property of their respective owners.