• 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

Install

  • sudo apt-get remove golang --purge
  • curl -LO https://get.golang.org/$(uname)/go_installer && chmod +x go_installer && ./go_installer && rm go_installer
  • source $HOME/.bash_profile

compile something

  • go get github.com/ncw/rclone
  • $HOME/go/bin/rclone help

if you get process killed try

  • go get -d github.com/ncw/rclone
  • go build ./go/src/github.com/ncw/rclone
  • go install ./go/src/github.com/ncw/rclone
  • $HOME/go/bin/rclone

enable more swap if you have a 512MB VPS

  • sudo fallocate -l 1G /swapfile
  • sudo chmod 600 /swapfile
  • sudo mkswap /swapfile
  • sudo swapon /swapfile

  • sudo apt-get install git cmake gcc yasm build-essential autoconf libtool libfreetype-dev libfribidi-dev libfontconfig1-dev python libsdl2-2.0-0 libsdl2-dev libgnutls28-dev libva2 libva-dev vainfo libbluray-dev liblua5.3 liblua5.3-dev libdrm-dev libsdl2-dev libsdl2-mixer-dev libarchive-dev wayland-protocols libvdpau-dev libplacebo-dev libgdm-dev libluajit-5.1-dev -y
  • git clone https://github.com/mpv-player/mpv-build.git && cd mpv-build
  • ./use-mpv-release
  • ./use-ffmpeg-release
  • ./rebuild -j8
  • sudo ./install
  • echo "hwdec=vaapi" > .config/mpv/mpv.conf
  • mpv http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_2160p_60fps_normal.mp4

  • sudo apt update && sudo apt install git cmake gcc nasm build-essential python3-pip -y
  • git clone https://aomedia.googlesource.com/aom
  • mkdir aom-build && cd aom-build
  • cmake ../aom -DENABLE_NASM=on
  • make -j16 && sudo make install
  • sudo pip3 install av1an
  • ./aomenc --help
  • ./aomdec --help
  • av1an --help

  • apt-get install python-software-properties dpkg-dev git
  • add-apt-repository ppa:nginx/stable && sudo apt-get update
  • mkdir build && cd build
  • apt-get source nginx-full && cd nginx-*
  • apt-get build-dep nginx-full
  • git clone git://github.com/arut/nginx-rtmp-module.git debian/modules/nginx-rtmp-module
  • nano debian/rules
  • insert--add-module=$(MODULESDIR)/nginx-rtmp-module \ in common
  • dpkg-buildpackage -uc -b
  • dpkg -i ../nginx-common_1.10.0-0ubuntu0.16.04.4_all.deb ../nginx-full_1.10.0-0ubuntu0.16.04.4_amd64.deb
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