Raspberry Pi 2 Home Media Server Installer + Image

Raspberry Pi 2 and related devices have become quite popular NAS home media servers. I have previously released images that are already loaded with the standard services like Plex, NZBGet, SickRage, Sonarr, CouchPotato and Transmission.

I realize some people may want to pick and choose which services are installed so I forked Igor’s debian micro server script and adapted it to include many media server goodies – dubbed the HTPC Guides Media Server Installer. I have provided a free image at the bottom of this post which has a Minibian base and the media server installer pre-installed for your convenience. The image will work on Raspberry B+ and Pi 2 units although there are some limitations for the B+.

The installer will be expanded to include x86 and x64 Ubuntu and Debian systems in the future, forks will not be necessary as development will be maintained by me as a school project.

Update March 5, 2016 – Kernel 4.1 Minibian Jessie available

Update September 16, 2015 – Kernel 4.1 Jessie with eth0 bugfix (thank you RandomStranger)

Update September 14, 2015 – Kernel 4.1 and Jessie with latest updates

Update August 15, 2015 – Kernel 4.1 and Jessie Minibian image available

Update July 22, 2015 – Kernel 4.0 image available below

Get your Banana Pi and Banana Pi Pro image here.

When you have finished installing and customizing your image, shrink it and back it up.

If you are trying to figure out which hardware would work best for you, consider reading the Pi benchmarks.

Pi Unit
Processor
RAM
RAM Bus
Network
WiFi
USB
SATA
Cost
Raspberry Pi 3
1.2 GHz ARMv8
Quad Core
1 GB DDR2
450 MHz
100 Mbit
Yes
4
No
$35
Raspberry Pi 2
900 MHz ARMv7
Quad Core
1 GB DDR2
450 MHz
100 Mbit
No
4
No
$35.00
Raspberry Pi
700 MHz ARMv6
Single Core
512 MB SDRAM
400 MHz
100 Mbit
No
4
No
$25
Banana Pi
1 GHz ARMv7
Dual Core
1 GB DDR3
432 MHz
Gigabit
No
2
Yes
$36.99
Banana Pi Pro
1 GHz ARMv7
Dual Core
1 GB DDR3
432 MHz
Gigabit
Yes
2
Yes
$45.00

The list of services that the HTPC Guides Installer includes is in the table below

It works well with UsenetServer and Astraweb for usenet, read more about usenet.

Torrent fans be safe with Private Internet Access for secure torrenting.

Software
Purpose
Credentials
Login/Password
Port
Plex Media Server
Streaming your media collection
none
32400
NZBGet
Usenet Downloader
nzbget:tegbzn6789
6789
Sabnzbd
Usenet Downloader
none
8080
Transmission
BitTorrent Client
transmission:transmission
9091
SickRage
Periodic Show Assistant
none
8081
CouchPotato
Feature Length Video Assistant
none
5050
Mylar
Comic finder
none
8090
Headphones
Audo file finder
none
8181
Sonarr
Periodic Show Assistant
none
8989
Jackett
Add custom torrents
none
9117
HTPC Manager
Managing Services
none
8085
vsftpd
FTP Server
pi/htpcguides
21
SAMBA
Sharing files over network
pi/htpcguides
none
NFS
Sharing files
pi/htpcguides
none
Webmin
Administer server
pi/htpcguides
10000
nginx
Reverse Proxy
none
80

Install HTPC Guides Media Server Installer

There are two options, clone the simple installer yourself from github onto your existing Raspbian SD card installation. It is designed to be used on a fresh system and supports Wheezy and Jessie at the moment. The other option is to download the Minibian image at the bottom of this post which has the installer preloaded for your convenience. The login credentials are root/htpcguides and pi/htpguides, for security reasons follow the initial setup guide to reset your SSH keys and password.

Make sure you run raspi-config to expand the SD card by choosing Expand file system and then rebooting

raspi-config

Reconfigure keyboard layout

sudo dpkg-reconfigure keyboard-configuration
sudo service keyboard-setup restart

Update your repositories and upgrade

sudo apt-get update
sudo apt-get upgrade -y

Note: If you downloaded the image  you do not need to install git or re-clone, skip down to Running the HTPC Guides Media Server Install

To install the HTPC Guides Media Server Installer yourself, you need git

sudo apt-get install git -y

Git clone the latest HTPC Guides Media Server Installer

sudo git clone https://github.com/blindpet/MediaServerInstaller /root/HTPCGuides

Running the HTPC Guides Media Server Installer

Switch to root if you are not already running as root.

sudo -i

Enter the HTPC Guides installer folder

cd /root/HTPCGuides

Make sure the HTPC Guides installer is up to date

sudo git pull

Execute the installer

sudo bash install.sh

Some required components will be installed, then you will be shown the installer menu.

Choose the item you want installed by pushing the Space bar key.

Install one program at a time.

Then click Tab to get to the Install button and press Enter.

You must be careful to enter users that exist when you are prompted and proper port numbers (i.e. not text but numbers)

HTPC Guides installer Main screen 2

For each program you will be prompted for the user to run the program as, this must be a user that exists or the installer will exit. You should make sure the user has permissions for the directory you will be storing your media files.

Make sure you exit sudo mode when you are done, this is necessary to run Ubooquity for the first time

exit

Plex will run on any ARMv7 device but will not run on the Raspberry Pi B+.

I consider the installer in beta currently because I have had issues with Ubooquity autostarting, I am trying to resolve them.

Download Raspberry Pi Image

Share this post to get the image, please report any issues you have here.

If you can’t see the image below whitelist this site in Adblock 😉

Use PuTTY or an SSH client to log in to the Pi to avoid getting wrong password errors if you use a non-US keyboard.

There is no desktop environment provided with this image (you can install one), it is a headless server image.

The SSH login user is root/pi password: htpcguides