Skip to content

Server Raspberry Pi

Jonathan edited this page Jul 12, 2020 · 61 revisions

Home > Running a Server > Installing on Raspberry Pi

Please ensure you have read the server overview

Jamulus has been tested on a Raspberry Pi 4 2Gb by Jamulus user SIVA Frédéric

  1. Install Raspbian Buster (allow VNC and SSH for comfort, but will ultimately run without VNC for higher speed)

  2. Edit config.txt to enable boot without HDMI by adding hdmi_force_hotplug=0

  3. Get the sources, install the dependent packages according to the Linux client install guide but do NOT install Jack package(s) - you don't need them on a headless server.

  4. Compile the source code. Note: compiling with the qmake "CONFIG+=nosound headless option removes the ability to run Jamulus as a client with Jack audio, use this option if you are planning to only use your Raspberry Pi as a server. It is recommended that you use the latest release when you compile. You can do this by running 'git checkout r3_X_Y', where X and Y are the latest official version numbers from the releases page. Update the 'git checkout' command below to use the current release:

cd jamulus
git checkout r3_5_8
qmake "CONFIG+=nosound headless" Jamulus.pro`
make clean
sudo make install

This will build Jamulus and put it in /usr/local/bin/Jamulus

Connect Raspberry Pi with Ethernet cable to your router.

Test by starting as follows, and watch GUI on VNC (or HDMI)

Jamulus -s

If all is well, run in your chosen server mode as follows (or use systemd unit script provided in the Linux guide), for example:

sudo chrt 99 ionice -c1 nice -n -20 Jamulus -s -n -e jamulusallgenres.fischvolk.de:22224 -o "yourServerName;yourCity;[country ID]"&

Please also see this important note on Central Servers.

See also Command Line Options for other parameters you can set.


Upgrade Jamulus on Raspberry Pi

To upgrade Jamulus server, stop the server and simply repeat the steps for obtaining the sources and installing above.

If you want to install a specific release rather than the git head sources, you can do the following using git (where [RELEASE] is a release ID such as r3_5_8). See the official tagged releases.

First, cd inside the directory in which the Jamulus sources were unpacked/downloaded, then use the following commands:

git pull
git checkout [RELEASE]

Then compile the sources as per a new install. Start Jamulus back up.