members
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.
- Insert your micro SD card with Raspbian OS to Raspberry Pi 3 board.
- Connect the TV or PC monitor Display port (HDMI Port) to your Raspberry PI 3 board HDMI Port (HDMI cable required).
- Make sure that your monitor or TV is turned on, and that you have selected the right input (e.g. HDMI 1, etc).
- Plug in your USB mouse and USB keyboard to Raspberry PI 3 board USB ports.
- 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.
- Connect Micro USB power supply to Raspberry PI 3 board micro USB input.
- The Raspberry PI desktop will start up.
- Open Terminal window and type the command: sudo apt-get update
- 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
- 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.
- Enter your first name and last name, email address and press Activate Trial button.
- 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
- It is recommended to update apt-get repositories on the first launch of the guest system: sudo apt-get update
- Type the command to restart your Raspberry Pi 3: sudo reboot
3. Installing TeamSpeak 3 Server
-
The Raspberry PI desktop will start up.Open Terminal window andThe Raspberry PI desktop will start up. Open Terminal window and enter the guest x86 system using the following command: exagear
- 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
- The TeamSpeak Server should not run as root user for security reason. Therefore create a new user:
- sudo adduser teamspeak
- Create installation directory and set permissions:
- sudo mkdir /usr/local/teamspeak
- sudo chown teamspeak /usr/local/teamspeak
- Login as teamspeak user: su teamspeak
- Enter new Unix password and press Enter button. Do that one more time.
- Press Enter for default information and confirm that information is correct by typing Y and pressing Enter button.
- 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:
- cd /usr/local/teamspeak
- wget http://dl.4players.de/ts/releases/3.4.0/teamspeak3-server_linux_x86-3.4.0.tar.bz2
- tar -xjvf teamspeak3-server_linux_x86-3.4.0.tar.bz2
- rm teamspeak3-server_linux_x86-3.4.0.tar.bz2
- Due to the latest changes, you need to confirm your Teamspeak license agreement acceptance by creating specified text file:
- touch /usr/local/teamspeak/teamspeak3-server_linux_x86/.ts3server_license_accepted
- You can start the TeamSpeak 3 Server using the following command now:
- /usr/local/teamspeak/teamspeak3-server_linux_x86/ts3server_minimal_runscript.sh
- 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.
- To start the server in the background we can cancel the current script with the key combination Ctrl + C and use the following command:
- /usr/local/teamspeak/teamspeak3-server_linux_x86/ts3server_startscript.sh start
- 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.
- 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!
- 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.
- To exit the ExaGear environment we use the command: exit
4. Set up Teamspeak Server autostart
- 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
- We move this file into the init.d folder and make it executable:
- sudo mv teamspeak3 /etc/init.d
- sudo chmod 755 /etc/init.d/teamspeak3
- Then we add this script to the autostart and reboot the Raspberry Pi 3:
- sudo update-rc.d teamspeak3 defaults
- Check your Raspberry Pi 3 IP address by typing this command: hostname -I. We have 192.168.0.121.
- After a restart, the settings are accepted and the server should already be started automatically.
5. Installing the TeamSpeak 3 client
- Go to teamspeak.com and download the latest version of TS3 Client for Windows - CLIENT 64-BIT 3.2.2 version.
- Open file TeamSpeak3-Client-win64-3.2.2.exe. Press Yes button.
- Press Next button.
- Select I accept ... agreement and press Next button.
- Select install for everyone and press Next button.
- Select destination folder and press Next button.
- Select recommended and press Next button.
- Press Install button.
- Press Finish button. The TeamSpeak 3 Client will start up.
- Accept the license agreement.
- Press Continue button.
- You can Create Account or Continue without logging in.
- We selected Continue without logging in. You need to enter your nickname and press OK button.
- Congrats!!! You have successfully installed it.
6. Connecting to the TeamSpeak 3 Server
- Go to Connections->Connect.
- 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.
- Press Connect button.
- When connecting for the first time we will also be asked to enter the privilege (authorization) key.
- Press OK button.
- Press OK button.
- 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










Viewed: 7987 times