• 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

Server Setup

  • Get yourself a VPS at DigitalOcean
  • git clone https://github.com/nwgat/wg-quick-setup && cd wg-quick-setup
  • sh wg-quick-setup-auto.sh (automatic, opens firewall, configure routing)
  • sh wg-quick-setup-manual.sh(manually input the ip/domain and ethernet device)
  • sh wg-quick-setup-uninstall.sh (removes /etc/wireguard and wireguard/wireguard-tools packages)

Client Setup

  • Windows: Open Wireguard. Press Ctrl + N. Now Copy & Paste the client config output here
  • Linux: copy the client config output to /etc/wireguard/wg0.conf and starte wireguard with wg-quick up wg0

Create a new Xshell Profile

  • New Connection
  • Name: yourserver
  • Host: yourserveripdomain
  • Port: your ssh port


  • public Key
  • Username: yourusername
  • Userkey: youruserkey

SSH > Tunneling > Add

  • Type Direction: Local (Outgoing)
  • Source Host: Localhost
  • Listening Port: 3400
  • Destination Host: Localhost (for rdp host or ip of machine inside ssh network)
  • Destination Port: 3389
  • Description: Remote Desktop SSH Tunnel

Now connect to rdp server via ssh network

  • Run Ctrl + R and mstsc.exe -v localhost:3400

Notice either setup a sshd server on the windows server or have a linux server inside your network with sshd running and that has port open

  • apt-get remove golang --purge
  • wget https://storage.googleapis.com/golang/go1.7.3.linux-amd64.tar.gz
  • sudo tar -zxvf go1.7.*.linux-amd64.tar.gz -C /usr/local
  • echo 'export GOROOT=/usr/local/go/bin/go' >> ~/.bashrc
  • echo 'export GOPATH=$HOME/go' >> ~/.bashrc
  • echo 'export PATH=$PATH:$GOROOT/bin:$GOPATH/bin' >> ~/.bashrc

compile something

  • go get github.com/ncw/rclone
  • go get github.com/mholt/caddy/caddy
  • $HOME/go/bin/rclone help
  • $HOME/go/bin/caddy -h

Computer Hope

Compile Partclone

  • sudo eopkg it -c system.devel
  • sudo eopkg it e2fsprogs-devel ntfs-3g ntfs-3g-devel btrfs-progs btrfs-progs-devel ncurses-devel
  • mkdir build && cd build
  • wget https://github.com/Thomas-Tsai/partclone/archive/0.2.89.zip
  • unzip 0.2.89.zip && cd partclone*
  • ./configure --enable-ncursesw --enable-btrfs --enable-exfat --enable-fat --enable-ntfs --enable-extfs --enable-hfsp --enable-minix --prefix=/usr/
  • make -j4
  • sudo make install

using Partclone.dd (Full Backup & Restore using dd mode )

  • lsblk
  • sudo partclone.dd -s /dev/device -o /home/backups/device.img (Backup drive to file)
  • sudo partclone.dd -s /home/backups/device.img -o /dev/device (Restore file to drive)

explain Partclone

  • show ncurses progress = -N
  • source file or device = -s
  • output file or device = -o
  • set buffer size = -z 4096 (useful for raspberry pi)

using Partclone (Partition Backup & Restore)


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