Skip to content

Lightweight Local LEMP Environment for your amazing web apps

Notifications You must be signed in to change notification settings

johnperricruz/vagrant-ubuntu-18-LEMP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Requirement

Note: Vagrant::Hostsupdater is optional to automatically add the entry to the hosts file. If you skip that, you will need to manually edit the hosts file and add the related entry yourself.

$ vagrant plugin install vagrant-hostsupdater

Usage

$ mkdir <project-name>
$ cd <project-name>
$ git clone https://github.com/johnperricruz/vagrant-ubuntu-18-LEMP.git
$ cd vagrant
$ vagrant up
$ vagrant ssh

All Vagrant commands like vagrant halt, vagrant destroy and vagrant suspend are applicable.

Credentials

MySQL root:

User: root Password: password

Additional MySQL access:

User: vagrant Password: password Database: vagrant

What's Included?

Directory Structure

  • config - Contains all services related configuration, please modify it accordingly to your usage.
  • logs - Contains all the logs generated from nginx as well as PHP errors.
  • www - The web root of your web application.

www.johnperricruz.com