Download Zulu Java

  • wget
  • 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


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

compile something

  • go get
  • $HOME/go/bin/rclone help

if you get process killed try

  • go get -d
  • go build ./go/src/
  • go install ./go/src/
  • $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

here is a simple guide, have fun


make two partitions

  • Ext4 with maximum size (first partition)
  • Fat16 with 16MB size (secound partiiton)

Install arch

  • wget
  • chmod +x && ./

now type in the disk you parititon with parted/gparted

up to date lftp builds for windows


I have been reseaching on howto get lftp with sftp/ssh working property on windows, it is a bit funky running under windows using standalone cygwin binaries, but it does work

Some things i noticed is

  • You have to add ./ssh.exe or ssh.exe to commandline to get it to work correctly

(on chocolately ssh works)

  • You have to use /cygdrive/driveletter/folder as source or dest path depending on which way you want to mirror
  • using quotes works like "C:\path\folder\" (thanks todd)

if you want to cancel a download press Ctrl + C

and am fully aware ssh.exe will spawn a few windows for each process, this started to happen in the latest lftp builds on windows 10 for some reason (fixed in 4.6.4?)

Download LFTP Builds (now in 64-bit flavour)

  • Full credits goes to lftp developers for their awesome software, donate to them
  • new builds are also heartbleed fixed
  • having issues?, first test it on a linux system to confirm its a real lftp bug or a cygwin issue, post in the blog forum, to cygwin issue tracker or lftp issue tracker

You can use the choco package manager for windows

Simple setup guide to choco with ssh batch examples (chocolately)

  • choco install lftp (latest)
  • choco install lftp --version 4.8.0 (* auto 32/64)
  • choco install lftp --version 4.7.5 (* auto 32/64)
  • choco install lftp --version 4.6.6 (* auto 32/64)
  • choco install lftp --version 4.6.5 (* auto 32/64)
  • choco install lftp --version 4.6.4 (* auto 32/64)
  • choco install lftp --version 4.6.1 (32-bit only)
  • *Can now run everywhere in cmd/powershell

or download standalone

feel free to mirror it with lftp -e "set ssl:verify-certificate no; mirror -c"

Version 4.7.7 - 2017-03-07

  • mirror: fixed coredump when source directory does not exist.
  • mirror: don't create target directory if can't enter to the source directory.
  • ftp: fixed a rare hang when a NOOP was sent between "transfer ok" reply and EOF on data *socket.
  • fixed xfer:log setting (compatibility alias).
  • ftp: don't use EPSV with a proxy.

older changelogs can be found at offical lftp site

Setup a Ubuntu Server

(a Idiots guide to running a linux based web server)

this guide will make your server both secure and easy to administer

1. Droplet with LAMP Stack (Linux, Apache, MySQL and PHP)

Go to DigitalOcean
Create a account
Select Size
Select Region
Select Image
LAMP on Ubuntu 14.04

2. Set mysql “root” Password and secure it

  • mysqladmin -u root -p'password' password newpassword
  • /usr/bin/mysql_secure_installation

3. Add a Web User

  • adduser webuser
  • usermod -a -G www-data webuser
  • chgrp -R www-data /var/www
  • chmod -R 770 /var/www
  • ln -s /var/www /home/webuser/www

Now you can login with webuser using
a sftp client like Filezilla (use port 22)
and you have access to www files

4. Adminer (Optional)

Web based MySQL administration

  • sudo apt-get install adminer
  • sudo servie apache2 restart

You can now login with mysql root/password

5. Monitoring (Optional)

vnstats lets you monitor daily/monthly bandwidth usage

  • apt-get install vnstat

nethogs is a realtime monitor for ethernet traffic

  • apt-get install nethogs

Glances is a system monitor for your GNU/Linux or BSD operating system from console

  • sudo apt-get install python-pip build-essential python-dev
  • sudo pip install Glances
  • sudo pip install PySensors

6. Secure the system

  • adduser your_username
  • echo "your_username ALL=(ALL:ALL) ALL" >> /etc/sudoers

Now you can run root commands by adding sudo before
the command you want to run like sudo apt-get install
use your user password

*disaster sudo recovery

  • Go to Droplets > Access > Console Access
  • logout
  • login as root
  • nano /etc/sudors <- modify it

7 Disable root login

  • nano /etc/ssh/sshd_config
  • change PermitRootLogin yes to PermitRootLogin no
  • sudo service ssh restart

now login as your_username and run sudo before every command
if you want to become root again run
sudo su

wiak //

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