raspberry pi + moodeaudio + tigervnc + jdownloader + transmission all in one

Make bootable sd card on Mac.

List disk.
$ diskutil list

unmount SD card.
$ sudo umount /dev/disk2s1

copy moodeaudio to SD card.
$ sudo dd bs=1m if=Downloads/moode-r630-iso.img of=/dev/rdisk2

update raspberry pi and install vim
$ sudo apt-get update
$ sudo apt-get install vim
$ sudo apt-get upgrade

Mount extra usb on raspberry pi
$ sudo fdisk -l
obtain UUID of usb disk

$ sudo mkdir /home2
$ sudo mount /dev/sda1 /home2

$ sudo vim /etc/fstab
UUID=dc69fc31-4a50-44e2-a3f7-f5648fea6f8d /media/usb0 ext4 defaults,nofail 0 0

Reboot -> open moode.local on web browser.

Go Configure -> open Network, change to static IP,
Go System check for update and update.

Check progress of update with
$ moodeutl -t


Update USB music library.
$ cd /mnt/SDCARD
$ sudo ln -s /home2/Music Music

open moode.local on web browser. Configure -> Library -> RE-GEN MPD database.

Install vncserve
$ sudo apt-get install tightvncserver

Install x and gui

$ sudo apt-get install –no-install-recommends xserver-xorg
$ sudo apt-get install –no-install-recommends xinit
$ sudo apt-get install –no-install-recommends raspberrypi-ui-mods lxsession

Install Japanese font
$ sudo apt-get install fonts-noto

$ vncserver :0 -geometry 1600×1200 -depth 24

Install Jdownloader and Java

$ mkdir ~/bin
$ mkdir ~/bin/jdownloader
$ cd ~/bin/jdownloader
$ wget http://installer.jdownloader.org/JDownloader.jar

$ sudo apt-get install openjdk-11-jre-headless

Connect report desktop by VNC, Open xterm
$ java -jar JDownloader.jar -norestart
$ java -jar JDownloader.jar -norestart

Run Until jdownloader update finish.

Install transmission
$ sudo apt install transmission-daemon
$ sudo systemctl stop transmission-daemon
$ sudo systemctl disable transmission-daemon

$ transmission-daemon
$ ps -u pi
$ kill ****
$ vim ~/.config/transmission-daemon/settings.json
Remove web access restriction, update download folder etc..
$ transmission-daemon
transmission-daemon -f will run with log.
Open http://moode.local:9091 and update setting.

edit nginx.conf and add
$ sudo vim /etc/nginx/nginx.conf

server {
listen 8080;

location / {
root /home2/t;
autoindex on;

$ sudo sqlite3 /var/local/www/db/moode-sqlite3.db “DROP TRIGGER ro_columns”
$ sudo sqlite3 /var/local/www/db/moode-sqlite3.db “UPDATE cfg_hash SET ACTION = ‘warning’ WHERE PARAM = ‘/etc/nginx/nginx.conf'”

$ sudo systemctl restart nginx.service

Japanese font for jdownloader.
$ sudo apt-get install fonts-ipaexfont
$ cd /usr/lib/jvm/java-11-openjdk-armhf/
$ mkdir fonts
$ mkdir fonts/fallback
$ cd /usr/lib/jvm/java-11-openjdk-armhf/lib/fonts/fallback
$ ls
$ sudo ln -s /usr/share/fonts/opentype/ipaexfont-gothic/* ./

Install vsftpd
$ sudo apt-get update
$ sudo apt-get install vsftpd ftp
$ sudo vim /etc/vsftpd.conf
# Uncomment this to enable any form of FTP write command.

$ sudo systemctl enable vsftpd
$ sudo systemctl start vsftpd




Raspberry Pi 3B+ Downloadserver mit jDownloader und Deluge Torrent



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.