Skip to content

Instantly share code, notes, and snippets.

@ultrasilicon
Last active June 6, 2021 20:46
Show Gist options
  • Select an option

  • Save ultrasilicon/1ef8cb2b03378f31240c80526f4e9576 to your computer and use it in GitHub Desktop.

Select an option

Save ultrasilicon/1ef8cb2b03378f31240c80526f4e9576 to your computer and use it in GitHub Desktop.
# setup swap
dd if=/dev/zero of=/swapfile bs=256M count=16
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
sudo swapon --show
# install pkgs
apt update
apt upgrade -y
apt install -y tmux htop vim git docker-compose zsh wormhole
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment