0

members

Easy Raspberry basics: Project 10a Install and Run TeamSpeak 3 Server on Raspberry PI 3 model B board

of Acoptex.com in Raspberry Pi 3

Raspberry basics: Project 10a

Project name: Install and Run TeamSpeak 3 Server on Raspberry PI 3 model B board

Tags: Raspberry, Raspberry PI 3 model B board, ExaGear Desktop, TeamSpeak 3 Server

In this project, you need these parts :

1.Raspberry PI 3 model B 1 pc

2. Micro SD card and SD card adapter 1 pc

3. Micro USB power supply (2.1 A, max 2.5 A) 1 pc

4. USB keyboard 1 pc

5. USB mouse 1 pc

6. TV or PC monitor 1 pc

General

We will learn how to install and run TeamSpeak 3 Server on Raspberry PI 3 model B board.

There are a couple of applications which are not available for and not ported on Raspberry Pi 3. One of them is TeamSpeak 3 Server – popular communication system that is available on many platforms but not on Raspberry Pi 3. We will show you how install and run it on your Raspberry Pi 3.

Understanding the Raspberry PI 3 model B

The Raspberry Pi 3 is the third-generation Raspberry Pi. It replaced the Raspberry Pi 2 Model B in February 2016.

Specification:

  • Quad Core 1.2GHz Broadcom BCM2837 64bit CPU
  • 1GB RAM
  • BCM43438 wireless LAN and Bluetooth Low Energy (BLE) on board
  • 40-pin extended GPIO
  • 4 USB 2 ports
  • 4 Pole stereo output and composite video port
  • Full size HDMI
  • CSI camera port for connecting a Raspberry Pi camera
  • DSI display port for connecting a Raspberry Pi touchscreen display
  • Micro SD port for loading your operating system and storing data
  • Upgraded switched Micro USB power source up to 2.5A

Signals and connections of the Raspberry PI 3 model B


Step by Step instruction

We recommend using a high-performance SD card for increased stability as well as plugging your device into an external display to see the default application booting up.

1. Installing ExaGear Desktop

We assume that you have Windows 10 installed on your PC and Raspbian OS installed on your Raspberry PI 3 board.

  1. Insert your micro SD card with Raspbian OS to Raspberry Pi 3 board.
  2. Connect the TV or PC monitor Display port (HDMI Port) to your Raspberry PI 3 board HDMI Port (HDMI cable required).
  3. Make sure that your monitor or TV is turned on, and that you have selected the right input (e.g. HDMI 1,  etc).
  4. Plug in your USB mouse and USB keyboard to Raspberry PI 3 board USB ports.
  5. Get connected. Connect an Ethernet cable to 10/100 LAN port of Raspberry Pi 3 or plug in WiFi adapter (see the list of supported here) to USB port of Raspberry Pi 3.
  6. Connect Micro USB power supply to Raspberry PI 3 board micro USB input.
  7. The Raspberry PI desktop will start up.
  8. Open Terminal window and type the command: sudo apt-get update
  9. Then type the command: sudo apt-get install exagear-desktop to install ExaGear Desktop. Press Y button on the keyboard when you see the message Do you want to continue?Y/n

2. Launch guest x86 system

  1. Enter the guest x86 system using the following command: exagear. A graphical windows will pop up and offer you to activate the trial of ExaGear Desktop. 

  2. Enter your first name and last name, email address and press Activate Trial button.
  3. You will see the message - You successfully go trial. Press Close button. You will be forwarded into the guest x86 system in the terminal. You can check that you are in x86 environment by running the command: arch
  4. It is recommended to update apt-get repositories on the first launch of the guest system: sudo apt-get update

  5. Type the command to restart your Raspberry Pi 3: sudo reboot

3. Installing TeamSpeak 3 Server

  1. The Raspberry PI desktop will start up.
    Open Terminal window and
    The Raspberry PI desktop will start up. Open Terminal window and enter the guest x86 system using the following command: exagear
  2. It is recommended to update apt-get repositories on the first launch of the guest system: sudo apt-get update

  3. sudo apt-get install bzip2
  4. The TeamSpeak Server should not run as root user for security reason. Therefore create a new user:
  5. sudo adduser teamspeak
  6. Create installation directory and set permissions:
  7. sudo mkdir /usr/local/teamspeak
  8. sudo chown teamspeak /usr/local/teamspeak
  9. Login as teamspeak user: su teamspeak

  10. Enter new Unix password and press Enter button. Do that one more time.
  11. Press Enter for default information and confirm that information is correct by  typing Y and pressing Enter button.

  12. 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. Download TeamSpeak 3 Server for Linux 32-bit and unpack it with these commands: 
  13. cd /usr/local/teamspeak
  14. wget http://dl.4players.de/ts/releases/3.4.0/teamspeak3-server_linux_x86-3.4.0.tar.bz2
  15. tar -xjvf teamspeak3-server_linux_x86-3.4.0.tar.bz2

  16. rm teamspeak3-server_linux_x86-3.4.0.tar.bz2
  17. Due to the latest changes, you need to confirm your Teamspeak license agreement acceptance by creating specified text file:
  18. touch /usr/local/teamspeak/teamspeak3-server_linux_x86/.ts3server_license_accepted

  19. You can start the TeamSpeak 3 Server using the following command now: 
  20. /usr/local/teamspeak/teamspeak3-server_linux_x86/ts3server_minimal_runscript.sh
  21. It is important that we save the information of the script well. When the TeamSpeak 3 Server is started for the first time, the password for the TeamSpeak 3 Server admin as well as the corresponding authorization key are generated. The boot process takes quite a while, about 5 minutes to complete. Important: Do not break off this process, even if obviously nothing happens.
  22. To start the server in the background we can cancel the current script with the key combination Ctrl + C and use the following command:
  23. /usr/local/teamspeak/teamspeak3-server_linux_x86/ts3server_startscript.sh start
  24. After a short start time of a few minutes, the server is back up. The startup script does not have to and should not be run as root regarding security-related aspects.
  25. 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!
  26. Please note that the instruction above enables TeamSpeak 3 Server running, but you will need to start it manually each time after system reboot.
  27. 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.
  28. To exit the ExaGear environment we use the command: exit

4. Set up Teamspeak Server autostart

  1. In the normal ARM environment of the Raspberry Pi we download the Teamspeak 3 Startscript and use it: wget http://s3-us-west-2.amazonaws.com/exagear-ts3-3.0.13/teamspeak3

  2. We move this file into the init.d folder and make it executable:
  3. sudo mv teamspeak3 /etc/init.d
  4. sudo chmod 755 /etc/init.d/teamspeak3
  5. Then we add this script to the autostart and reboot the Raspberry Pi 3:
  6. sudo update-rc.d teamspeak3 defaults
  7. Check your Raspberry Pi 3 IP address by typing this command: hostname -I. We have 192.168.0.121.
  8. After a restart, the settings are accepted and the server should already be started automatically.

5. Installing the TeamSpeak 3 client

  1. Go to teamspeak.com and download the latest version of TS3 Client for Windows -  CLIENT 64-BIT 3.2.2 version.
  2. Open file TeamSpeak3-Client-win64-3.2.2.exe. Press Yes button.

  3. Press Next button.
  4. Select I accept ... agreement and press Next button.

  5. Select install for everyone and press Next button.
  6. Select destination folder and press Next button.
  7. Select recommended and press Next button.
  8. Press Install button.
  9. Press Finish button. The TeamSpeak 3 Client will start up.
  10. Accept the license agreement.
  11. Press Continue button.
  12. You can Create Account or Continue without logging in.
  13. We selected Continue without logging in. You need to enter your nickname and press OK button.
  14. Congrats!!! You have successfully installed it.

6. Connecting to the TeamSpeak 3 Server

  1. Go to Connections->Connect.
  2. Simply enter the IP address of the Raspberry Pi (we have 192.168.0.121) as the server in the Teamspeak client, as well as serveradmin as username and the issued password. 
  3. Press Connect button.
  4. When connecting for the first time we will also be asked to enter the privilege (authorization) key.
  5. Press OK button.
  6. Press OK button.
  7. You are connected now.

 

Summary

We have learnt how to install and run TeamSpeak 3 Server on Raspberry PI 3 model B board.

Library

  • No libraries needed in this project

Sketch

  • No sketches needed in this project


Other projects of Acoptex.com

« Go back to category
Is this project fake? Report it!   
Recommend to a friend
Published at 11-09-2018
Viewed: 3503 times