Command Line Course
Install Vagrant
Setup Vagrant & Virtualbox from here: Installing Virtualbox:
- $ sudo apt-get install virtualbox
Installing Vagrant:
- $ sudo apt-get install vagrant
Follow these steps, https://docs.vagrantup.com/v2/getting-started/project_setup.html Install Boxes for php 5.3, 5.6, php 7 , with each having ubuntu as os, apache as server and mysql as db server .
- For PHP 5.3 :
- $ vagrant init sixlive/tjay-ubuntu-12-php-53; vagrant up –provider virtualbox
- For PHP 5.6 :
- $ vagrant init jaceju/lamp; vagrant up –provider virtualbox
- For PHP 7.1 :
- $ vagrant init brownell/xenial64lemp; vagrant up –provider virtualbox
Task : Brownell’s box contains nginx by default, provision it to remove nginx and install apache.