The best place to start would be the following guide, which will cover the initial setup of you server. The guide that follows assumes that you’ve completed this guide, so it’s best to take a look at it now.
Once the above guide is complete, the next guide will cover how to go about setting up your LAMP Stack on Ubuntu 16.04.
As for Laravel, the recommended method of installation is using Composer, so once you’re done with both of the above guides, you’ll want to install composer using the following guide:
After downloading composer, you’ll be left with a
composer.phar file which you can rename by running:
mv composer.phar composer
With composer ready to use, all you’d need to do is follow the quick-start guide for Laravel:
This is more of a crash course since there’s not an official tutorial for Apache or NGINX on 16.04 as of now. If you run in to any issues, however, feel free to reply and I’ll be more than happy to help.
When you start a new server, there are a few steps that you should take every time to add some basic security and give you a solid foundation. In this guide, we'll walk you through the basic steps necessary to hit the ground running with Ubuntu 16.04.