David - Musings of an SRE

Things to do with a new Ubuntu Installation

This post will be constantly updating for new information

Step 1: Setup Swap space

sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=2048 # count is in MB
sudo /sbin/mkswap /var/swap.1
sudo /sbin/swapon /var/swap.1

Setup 2:Setup IPv4 Precedence

To ensure that your apt-gets are not slowed down due to your system grabbing repository files over IPv6

# in /etc/gai.conf
# uncomment this line
prescedence ::ffff:0:0/96 100