Avoid running out of Memory
Heads Up: If you're installing Laravel on DigitalOcean's 512MB VPS, make sure you add a swapfile to Ubuntu to prevent it from running out of memory. You can quickly do this by issuing the following commands. This will only work during 1 session, so if you reboot during this tutorial, add the swapfile again.
dd if=/dev/zero of=/swapfile bs=1024 count=512k mkswap /swapfile swapon /swapfile











