Created
March 14, 2015 11:14
-
-
Save beeman/c9e777e7dd86e3365ae4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Create swapfile | |
fallocate -l 1G /swapfile | |
chmod 600 /swapfile | |
mkswap /swapfile | |
# Activate swapfile on boot | |
echo '# Activate swapfile on boot' >> /etc/fstab | |
echo '/swapfile none swap sw 0 0' >> /etc/fstab | |
# Activate swapfile on running system | |
swapon /swapfile | |
# My fancy profile | |
curl x.beeman.nl/profile.sh | bash | |
source ~/.profile | |
# Download and run dokku-alt installer | |
curl -fsSL https://raw.githubusercontent.com/dokku-alt/dokku-alt/master/bootstrap.sh >> /root/dokku-alt-installer.sh | |
chmod +x /root/dokku-alt-installer.sh | |
/root/dokku-alt-installer.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment