- Install MINIBIAN
- Change root password using
passwdto1%T9gjMkgaIn apt-get updateto update package listsapt-get install vim sudo htop rpi-update raspi-config usbutils dosfstools -yto install some essentials- Run
raspi-config:- Choose
7. OverclockthenPi2 - Choose
1. Expand Filesystem - Choose
FinishthenYesto reboot
- Choose
rpi-updateto update firmware- Run
reboot apt-get upgrade -yto upgrade packagesapt-get dist-upgrade -yto ugprade distroapt-get install firmware-linux-nonfree wireless-tools wpasupplicant -yto install wireless firmwareadduser cinemato add user with namecinemaand passwordp!303$LhZVpNusermod -G sudo cinemato add usercinemato sudo group- Then run
sudo apt-get clean - Finally reboot and login as
cinema
- Make directory
Downloads, thencd Downloads mkdir 8188eu-driver, thencd 8188eu-driverwget https://dl.dropboxusercontent.com/u/80256631/install-8188eu.tgztar -zxvf install-8188eu.tgz./install-8188eu.sh
- Run
sudo vim /etc/network/interfaces - Add the following at the bottom of the file (press
i):allow-hotplug wlan0 auto wlan0 iface wlan0 inet dhcp pre-up wpa_supplicant -Dwext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -BNow the RPi will connect automatically to available Wi-Fi networks. - Now add the following:
iface usb0 inet static address 192.168.42.42 netmask 255.255.255.0 network 192.168.42.0 broadcast 192.168.42.255RPi can now connect through USB tethering from your Android phone. PressESCand enter:wqto save and quit. - Run
sudo /etc/wpa_supplicant/wpa_supplicant.conf. Add the following:ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev ap_scan=2 update_config=1 network={ ssid="YOUR_SSID" psk="YOUR_SSID_PASS" proto=RSN key_mgmt=WPA-PSK pairwise=TKIP }Edit the network details, thenESCand enter:wqto save and quit. - Run
echo PATH="/sbin:\$PATH" >> ~/.profile - Reboot with
sudo reboot - If everything is OK,
wlan0will be available when you runifconfig
- Run
sudo vim /etc/apt/sources.list.d/mene.list - Add the following (press
i):deb http://archive.mene.za.net/raspbian wheezy contribPressESC, then:wqto save and quit. - Import the archive signing key:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 5243CDED sudo apt-get updatesudo apt-get install kodi -yto install Kodi- The installation added a user
kodi. Ourkodiuser must be a member of these groups:audio video input dialout plugdev tty cinema - Run the following command
sudo usermod -a -G <GROUP> kodifor each<GROUP>above. If a group does not exist, create it withsudo addgroup --system <GROUP> - To enable keyboard support in Kodi, add the following udev rules to
/etc/udev/rules.d/99-input.rules:# input KERNEL=="mouse*|mice|event*", MODE="0660", GROUP="input" KERNEL=="ts[0-9]|uinput", MODE="0660", GROUP="input" KERNEL=="js[0-9]", MODE="0660", GROUP="input" # tty KERNEL=="tty[0-9]*", MODE="0666" # vchiq SUBSYSTEM=="vchiq", GROUP="video", MODE="0660" - Kodi need at least 96MB RAM to run normally. To configure this, change
gpu_memin/boot/config.txtto128:gpu_mem=128 - Edit
/etc/default/kodiand change the following:ENABLED=1- in order to start Kodi automatically on boot - Reboot using
sudo rebootand after the reboot, Kodi will start automatically
- If you have a Mac computer, you might want to share Airport content. In order to do that, you must install the
avahipackage:sudo apt-get install avahi-utils -y - SFTP connect to the RPi with
rootuser - Upload
kodi(TODO: Must upload .kodi to some cloud and put link here) directory to/home/kodi - Go to the terminal,
cd /home/kodi, thenrm .kodiandsudo mv kodi .kodi - Reboot and voila
- Install JDK 8:
mkdir ~/Downloads/JDK, thencd ~/Downloads/JDK- Get the latest JDK from https://jdk8.java.net/download.html:
wget --no-check-certificate http://www.java.net/download/jdk8u60/archive/b13/binaries/jdk-8u60-ea-bin-b13-linux-arm-vfp-hflt-28_apr_2015.tar.gz - Unarchive:
sudo tar zxvf jdk-8u60-ea-bin-b13-linux-arm-vfp-hflt-28_apr_2015.tar.gz -C /opt - Make symlink for java:
sudo ln -s /opt/jdk1.8.0_60/bin/java /usr/bin/java - And
jar:sudo ln -s /opt/jdk1.8.0_60/bin/jar /usr/bin/jar - Test if it works:
java -version
- Install Filebot:
cd ~/Downloads, thenmkdir Filebotandcd Filebot- Get the latest ARM version of Filebot from http://sourceforge.net/projects/filebot/:
wget http://sourceforge.net/projects/filebot/files/filebot/FileBot_4.5.6/filebot_4.5.6_arm.ipk/download -O filebot.ipk mkdir /tmp/filebotandsudo mv filebot.ipk /tmp/filebotcd /tmp/filebotandar -x filebot.ipktar zxvf data.tar.gzsudo cp -r opt/share/* /usr/share/sudo ln -s /usr/share/filebot/bin/filebot.sh /usr/bin/filebot
- Configure Filebot:
cd /usr/share/filebot/binsudo cp –p filebot.sh filebot.sh_oldsudo vim /usr/share/filebot/bin/filebot.sh- Replace the content with this one: https://gist.github.com/gkostadinov/e16bd0f47663001ba2e0
- Install JNA 4:
sudo apt-get install libjna-javamkdir /tmp/jna-4.1.0andcd /tmp/jna-4.1.0wget https://maven.java.net/content/repositories/releases/net/java/dev/jna/jna/4.1.0/jna-4.1.0.jarwget https://maven.java.net/content/repositories/releases/net/java/dev/jna/jna-platform/4.1.0/jna-platform-4.1.0.jarjar xf jna-4.1.0.jarcd /usr/lib/jnisudo cp -p /tmp/jna-4.1.0/com/sun/jna/linux-arm/libjnidispatch.so libjnidispatch_4.1.0.sorm libjnidispatch.soandsudo ln -s libjnidispatch_4.1.0.so libjnidispatch.socd /usr/share/javasudo rm jna.jar jna-platform.jarsudo cp /tmp/jna-4.1.0/*.jar .sudo ln -s jna-4.1.0.jar jna.jarsudo ln -s jna-platform-4.1.0.jar jna-platform.jar- Test with
java -jar jna.jar. Should outputVersion: 4.1.0
- Install and setup MediaInfo:
sudo apt-get install mediainfocd /usr/share/filebotsudo mv libzen.so libzen.so_oldsudo mv libmediainfo.so libmediainfo.so_oldsudo ln -s /usr/lib/arm-linux-gnueabihf/libmediainfo.so.0 libmediainfo.sosudo ln -s /usr/lib/arm-linux-gnueabihf/libzen.so.0 libzen.so
- Finally test if everything works:
sudo filebot -script "fn:sysinfo". You should see something like this:FileBot 4.5.6 (r2818) JNA Native: 4.0.0 MediaInfo: MediaInfoLib - v0.7.58 7-Zip-JBinding: ERROR chromaprint-tools: fpcalc version 1.1.0 (/usr/share/filebot/fpcalc) Extended Attributes: OK Groovy Engine: 2.3.9 JRE: Java(TM) SE Runtime Environment 1.8.0_60-ea (headless) JVM: 32-bit Java HotSpot(TM) Client VM CPU/MEM: 4 Core / 208 MB Max Memory / 9 MB Used Memory OS: Linux (arm) uname: Linux raspberrypi 3.18.12-v7+ #782 SMP PREEMPT Tue Apr 28 19:54:13 BST 2015 armv7l GNU/Linux Done ヾ(@⌒ー⌒@)ノ
1. Install it with `sudo apt-get install transmission-daemon -y`
- Go to Downloads -
cd Downloads - Make Complete and Inprogress directories:
mkdir Inprogress & mkdir Complete - Change permissions to 770:
chmod 770 Inprogresschmod 770 Complete - Create Media directory:
mkdir ~/Media,mkdir ~/Media/Movies ~/Media/TV\ Shows ~/Media/Music ~/Media/Picturesandsudo chmod -R 770 ~/Media - Transmission runs by default with user
debian-transmission. Let's add this user to groupcinemaso that it has rights to modify the directories we created:sudo usermod -a -G cinema debian-transmission - Configure Transmission. Open Transmission settings:
sudo vim /etc/transmission-daemon/settings.json - Replace the settings with these here: https://gist.github.com/gkostadinov/86e9768e153a7212db87
- Create a postprocess script that will run after a torrent completes:
sudo vim /etc/transmission-daemon/transmission-postprocessThe script runs Filebot and organizes your library. - Add this content to the script: https://gist.github.com/gkostadinov/bbe96a58ae3d7cea4066
sudo chmod +x /etc/transmission-daemon/transmission-postprocessandsudo chown debian-transmission:debian-transmission /etc/transmission-daemon/transmission-postprocessandsudo chown -R debian-transmission:debian-transmission /usr/share/filebotso that Transmission can run the script.- Reload the daemon:
sudo service transmission-daemon reload - Open your browser and navigate to
http://<YOUR_RPI_ADDRESS>:9091/ - Enter
raspberrycinemafor username andc1n3mat1cfor password - That's it! Now you can download torrents from here to your Raspberry Pi.
Note: If the postprocess script does not work, it is propbaly due to permission errors. To fix this edit
/etc/init.d/transmission-daemonand setUSERtoroot(generally not a good idea, but it is an easy fix).
dropbox links for 8188 is dead.