Source: StackOverflow
With a Linux Guest run this:
sudo dd if=/dev/zero | pv | sudo dd of=/bigemptyfile bs=4096k
sudo rm -rf /bigemptyfile
cat <<EOF >> /etc/apt/sources.list | |
deb [trusted=yes] http://eu-west-2.ec2.archive.ubuntu.com/ubuntu/ precise main restricted universe | |
deb [trusted=yes] http://eu-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe | |
deb [allow-insecure=yes] http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse | |
EOF | |
apt-get update | |
apt-get purge \ | |
apache2 \ |
Source: StackOverflow
With a Linux Guest run this:
sudo dd if=/dev/zero | pv | sudo dd of=/bigemptyfile bs=4096k
sudo rm -rf /bigemptyfile