Help | Installation - markbaaijens/rpmusicserver GitHub Wiki

Installing RPMS on your Pi can be done with a few simple steps, described below. But first, you should test your network if local DNS works. See Pi/rpms can only reached by ip-address under Troubleshooting

Steps to install RPMS on your Pi

  • (1) Install package(s) on your Linux PC:
    • sudo apt-get install nmap wget
      • enter your (personal) password of your PC
  • (2) Download code:
    • wget https://github.com/markbaaijens/rpmusicserver/archive/refs/heads/master.zip -O /tmp/rpmusicserver.zip && unzip -d /tmp -o /tmp/rpmusicserver.zip
  • (3) Burn SD-card:
    • insert SD-card into your Linux PC
    • sudo /tmp/rpmusicserver-master/scripts/burn-image.sh
      • enter your (personal) password of your PC
    • Select a disk: choose the inserted SD-card
    • Select a type: choose P for Production
    • Select a language: choose your language
    • Do you want to continue burning on [chosen device]: type 'yes'
  • (4) Format USB-drive for data:
    • connect USB-drive to your Linux PC
    • sudo /tmp/rpmusicserver-master/scripts/format-usbdisk.sh
      • enter your (personal) password of your PC
    • Select a disk: select the inserted USB-disk
    • Select a format-type: choose D for data-disk
    • Do you want to continue formatting [chosen device] as 'usbdata': type 'yes'
  • (5) First boot:
    • make sure your Pi is powered off
    • insert SD-card into your Pi
    • connect USB-drive to the Pi
    • connect the Pi to your network with a network cable
    • power up the Pi
    • check if Pi is running:
      • watch nmap rpms
      • wait until port 22 appears; exit with Ctrl-C

If the Pi does not appear in the network, checkout Troubleshooting, or more specific Pi/rpms can only reached by ip-address

  • (6) Finish installation:
    • rsync -r /tmp/rpmusicserver-master/* pi@rpms:/tmp/rpmusicserver
      • password = raspberry
    • ssh pi@rpms "sudo chmod +x /tmp/rpmusicserver/scripts/* && sudo /tmp/rpmusicserver/scripts/install-rp.sh"
      • password = raspberry
    • notes:
      • after installation, password of user pi is changed to rpms

Test access

  • Install an app for controlling LMS on your phone
    • for Android, preferable install Lyrion (requires F-Droid); or Squeezer
    • for iOS, install LyrPlay
  • Connect to a server, should be automatic
  • Note the registered IP-address of the LMS-server for later usage

Check the services

(if there is no connection, try replacing rpms with actual IP-address noted above)

  • watch services to become active:
    • watch nmap rpms
    • wait until port 9000 appears; exit with Ctrl-C
  • RPMS (browser): http://rpms
  • LMS (browser): http://rpms:9000
  • Samba (file explorer):
    • smb://rpms
  • Syncthing: http://rpms:8384
  • API:
    • curl rpms:5000
  • SSH:
    • ssh pi@rpms
    • password: rpms

Engage

  • copy music files to smb://rpms/<music folder>
  • hookup a Squeezebox player to your network
  • review and make use of some useful Custom LMS-settings
  • if on Linux, install a LMS desktop-client meledeon
    • wget https://github.com/CDrummond/melodeon/releases/download/0.5.1/melodeon_0.5.1_amd64.deb
    • sudo dpkg -i melodeon_0.5.1_amd64.deb
  • enjoy!

Top