Important
Currently, the installation does only work on Raspberry Pi's with ARMv7 and ARMv8 architecture, so 2, 3 and 4! Pi 1 and Zero's are currently unstable and will require a bit more work! Pi 4 and 5 are an excess ;-)
Before you can install the Phoniebox software, you need to prepare your Raspberry Pi.
- Connect a Micro SD card to your computer (preferable an SD card with high read throughput)
- Download the Raspberry Pi Imager and run it
- Click on "Raspberry Pi Device" and select "No filtering"
- Select Raspberry Pi OS Lite (32-bit) (without desktop environment) as the operating system.
future3
does not support 64bit kernels (aarch64
). - Select your Micro SD card (your card will be formatted)
- After you click
Next
, a prompt will ask you if you like to customize the OS settings- Click
Edit Settings
- Switch to the
General
tab- Provide a hostname. (When on Mac, you will be able to use it to connect via SSH)
- Username
- Password
- Wifi
- Set locale settings
- Switch to the
Services
tab. Enable SSH with "Use password authentication" - Click
Save
- Click
- In the same dialog, click
Yes
- Confirm the next warning about erasing the SD card with
Yes
- Wait for the imaging process to be finished (it'll take a few minutes)
In case you forgot to customize the OS settings, follow these instructions after RPi OS has been written to the SD card.
You will need a terminal, like PuTTY for Windows or the Terminal app for Mac to proceed with the next steps.
-
Open a terminal of your choice.
-
Insert your card again if it has been ejected automatically.
-
Navigate to your SD card e.g.,
cd /Volumes/boot
for Mac orD:
for Windows. -
Enable SSH by adding a simple file.
$ touch ssh
-
Set up your Wifi connection.
Mac
$ nano wpa_supplicant.conf
Windows
D:\> notepad wpa_supplicant.conf
-
Insert the following content, update your country, Wifi credentials and save the file.
country=DE ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssid="network-name" psk="network-password" }
-
Eject your SD card and insert it into your Raspberry Pi.
-
Start your Raspberry Pi by attaching a power supply.
-
Login into your Raspberry Pi If
raspberrypi.local
does not work, find out your Raspberry Pi's IP address from your router.
Run the following command in your SSH terminal and follow the instructions
cd; bash <(wget -qO- https://raw.githubusercontent.com/MiczFlor/RPi-Jukebox-RFID/future3/main/installation/install-jukebox.sh)
This will get the latest stable release from the branch future3/main.
To install directly from a specific branch and/or a different repository specify the variables like this:
cd; GIT_USER='MiczFlor' GIT_BRANCH='future3/develop' bash <(wget -qO- https://raw.githubusercontent.com/MiczFlor/RPi-Jukebox-RFID/future3/develop/installation/install-jukebox.sh)
This will switch directly to the specified feature branch during installation.
Note
For all branches except the current Release future3/main, you will need to build the Web App locally on the Pi. This is not part of the installation process due to memory limitation issues. See Developer steps to install
If you suspect an error you can monitor the installation-process with
cd; tail -f INSTALL-<fullname>.log
After successful installation, continue with configuring your Phoniebox.