Raspberry Pi LDS Server Ver 3.0

Posted on September 10, 2019 at 22:11 by GreenFrog

LDS Linux Download System Logo Raspberry Pi LDS Server Ver. 3.0

System is based on standard Raspbian image, that can be downloaded from raspberrypi.org.

I only created a bash script that will automate entire deployment process on fresh Raspbian OS installation.

Script will take care of all the updating, installing and configuring necessary components, that will automate process of searching, downloading and keeping track of all your movies, TV shows and music.

System will also track all new releases scheduled for release. Sonarr has a calendar feature where you can check upcoming episodes and their release dates, when the time is up required episode will be searched for and downloaded if available from the Internet.

Of course, after initial deployment is done by the script, additional configuration is needed in browser to specify what to search for and where to store it.

Image SD card

Before you start, you (obviously) should have a microSD card and a computer with a SD card reader. Besides that, download the Raspbian image file directly from https://www.raspberrypi.org (don’t forget to unzip the image file!).

Done? Good, now let's load image to the SD card using Rufus.

I used most recent image available in July 2019 - RASPBIAN STRETCH LITE.

  • Download Rufus.
  • Insert your microSD card into your card reader and find out its drive letter in Windows Explorer.
  • Run Rufus and select Drive that contain your SD card (for example G:).
  • Select the Raspbian image file you downloaded clicking on small CD drive icon on Rufus software. If Rufus do not see your *.img file, change file type to see all as by default it only recognizes *.iso files and your Raspbian image is an *.img type file.
  • Select ‘Start’ and wait for the process to finish. That’s it!
  • Before you move your freshly baked SD card in to Raspberry, create text file called ssh in main directory of the SD card and remove it's extension. This small file being there will enable SSH access with no further actions, so you can power your Raspberry without connecting monitor or TV in order to log on and enable SSH by command.
  • Now you can plug the SD card into your Raspberry Pi’s slot, connect network cable and power it ON.

Enable SSH Access

If you haven't created ssh file in root directory on your SD card, as instructed above, use monitor and keyboard then enable SSH with the commands below:

Username: pi
Password: raspberry

and enable SSH with below commands:

sudo systemctl enable ssh
sudo systemctl start ssh

At this point make sure your Raspberry Pi has an IP address and is connected to the Internet.

Deploy LDS script

When connected to the Pi over SSH, using i.e. PuTTY download deployment script by running below command:

wget https://www.dropbox.com/s/a5fpi4suyu1ask1/lds-deploy-v3.sh

Your output should look similar to below:

Change file permission allowing it to be executable:

sudo su
chmod 755 lds-deploy-v3.sh

Run the script:


Find something else to do for about 30 minutes - it will take some time.

Copy and paste links displayed in green at the end of the script to the browser, if all went ok you should be able to access all the programs installed.

Help me make LMDS better

With your support anything is possible