Brugerværktøjer

Webstedsværktøjer


xstreamer

New Install

Load preinstalled image to SD-card: http://cdimage.ubuntu.com/ubuntu/releases/18.04/release/ubuntu-18.04.1-preinstalled-server-armhf+raspi2.img.xz

apt update
apt upgrade
apt install darkice autossh alsa-utils alsa-base python python-alsaaudio python-pip

pip install RPi.GPIO

Since Liquidsoap 1.3.3 is not available in Ubuntu yet, we have to get them from Debian

wget http://http.us.debian.org/debian/pool/main/l/liquidsoap/liquidsoap_1.3.3-2_armhf.deb
wget http://http.us.debian.org/debian/pool/main/s/soundtouch/libsoundtouch1_2.0.0-1_armhf.deb
wget http://http.us.debian.org/debian/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.2-2%2Bb1_armhf.deb

apt install libao4 libfaad2 libfreetype6 libgavl1 libgd3 libgif7 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 liblo7 libmad0 libportaudio2 libsdl-image1.2 libsdl-mixer1.2 libsdl-ttf2.0-0 libsdl1.2debian libshine3 libspeex1 libtag1v5 libtheora0 libtiff5 libvorbisfile3 libxpm4 ocaml-base-nox libcamomile-ocaml-data sox

dpkg -i libjpeg62-turbo_1.5.2-2+b1_armhf.deb
dpkg -i libsoundtouch1_2.0.0-1_armhf.deb
dpkg -i liquidsoap_1.3.3-2_armhf.deb

Copy files

/etc/asound.conf
/var/lib/alsa/asound.state
/opt/galcom/LED_VU.py
/opt/galcom/off-switch.py
/etc/systemd/system/off-switch.service
/etc/systemd/system/led_vu.service

/etc/systemd/journald.conf.d/size.conf

Pickup the new services and enable them to start on boot

systemctl daemon-reload
systemctl enable led_vu.service
systemctl enable off-switch.service

Add to /etc/fstab:

tmpfs    /tmp    tmpfs    defaults,noatime,nosuid,size=100m    0 0
tmpfs    /var/tmp    tmpfs    defaults,noatime,nosuid,size=30m    0 0
tmpfs    /var/log    tmpfs    defaults,noatime,nosuid,mode=0755,size=50m    0 0
tmpfs    /var/run    tmpfs    defaults,noatime,nosuid,mode=0755,size=2m    0 0
xstreamer.txt · Sidst ændret: 2018/10/16 19:17 af noer