Skip to content

Instantly share code, notes, and snippets.

@NicolasRitouet
Last active August 29, 2015 14:18
Show Gist options
  • Save NicolasRitouet/cca3a2d3117f484e017e to your computer and use it in GitHub Desktop.
Save NicolasRitouet/cca3a2d3117f484e017e to your computer and use it in GitHub Desktop.
Dokku alt on DO

How to install Dokku-alt on Digital Ocean

  1. If you want to use your own domain, add the following dns records in the DNS area: Imgur
  2. Create a 5$ droplet on DO with Ubuntu 14.04 x64. Hostname should be your domain name.
  3. SSH into the droplet and create a swap file:
dd if=/dev/zero of=/swapfile bs=1024 count=256k
mkswap /swapfile
swapon /swapfile
echo -e "/swapfile\tnone\tswap\tsw\t0\t0" >> /etc/fstab
echo 10 | sudo tee /proc/sys/vm/swappiness
echo vm.swappiness = 10 | sudo tee -a /etc/sysctl.conf
sudo chown root:root /swapfile
sudo chmod 0600 /swapfile
  1. Install Dokku-alt:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/dokku-alt/dokku-alt/master/bootstrap.sh)"
  1. Install dokku-alt manager (UI administration):
dokku manager:install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment