• Spin up a droplet at Digitalocean ($100 credit by using my link)
  • login as root
  • adduser --disabled-password --gecos "" livego
  • su livego
  • cd $HOME
  • wget https://github.com/gwuhaolin/livego/releases/download/0.0.15/livego_0.0.15_linux_amd64.tar.gz
  • tar zxvf livego_0.0.15_linux_amd64.tar.gz
  • exit
  • install /home/livego/livego /usr/bin/
  • git clone https://github.com/nwgat/livego-scripts.git
  • sudo cp livego-scripts/livego.service /etc/systemd/system/livego.service
  • systemctl daemon-reload
  • systemctl enable livego (enable service)
  • systemctl start livego (start service)
  • systemctl status livego (check status)

Generate room key

  • apt-get install curl jq
  • curl -s http://livegoip:8090/control/get?room=pi| jq -r '.data' (get the room key)

Setup the stream in obs studio or ffmpeg

  • RTMP: rtmp://livegoip:1935/live/room-key-hee

Test the stream

Download Zulu Java

  • wget https://cdn.azul.com/zulu-embedded/bin/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf.tar.gz
  • mkdir -p /usr/lib/jvm/ && cd /usr/lib/jvm/
  • tar zxvf zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf.tar.gz

Configure Zlulu Java as default

  • update-alternatives --install /usr/bin/java java /usr/lib/jvm/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/java 100
  • update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/javac 100
  • update-alternatives --display java && update-alternatives --display javac

Check if its installed

  • java -version && javac -version

dry run (check first)

patch -p1 --dry-run -i 323cc165b663a078c50da10ca9d79c48feddd4a4.patch

patch multiplier files

patch -p1 -i 323cc165b663a078c50da10ca9d79c48feddd4a4.patch

patch single file

patch foo.c < patch.diff

Undo patch

patch -R < /path/to/file

more sources
http://www.cyberciti.biz/faq/appy-patch-file-using-patch-command/

gnome-player is a mpc-be mpc-hc alternative for linux

Install on ubuntu 14.04 LTS
sudo apt-get update && sudo apt-get install gnome-mplayer

Homepage
https://code.google.com/p/gnome-mplayer/

found this neat utility the other day
here is how to clone and mount the result images

sudo apt-get update && sudo apt-get install safecopy sudo safecopy --stage1 /dev/source /media/mount/dest.img

(if all data was copied then skip stage2 and stage3, if not proceed to stage2)

sudo safecopy --stage2 /dev/source /media/mount/dest.img sudo safecopy --stage3 /dev/source /media/mount/dest.img

list image information file dest.img

Receive $10 in credit at DigitalOcean for your VPS Hosting
Cheaper Games on Instant-Gaming
Proudly published with Ghost | Theme based on Draugur | Header Image by GUWEIZ@DeviantArt
Creative Commons Licence