Skip to content

Vagrant basic box with LAMP (Linux, Apache, MySql and PHP) on Ubuntu 12.04 LTS

Notifications You must be signed in to change notification settings

ducnguyenhuy-agilityio/vagrant-lamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Vagrant LAMP

Vagrant basic box with LAMP (Linux, Apache, MySql and PHP) on Ubuntu 12.04 LTS

Requirements

Usage

Startup

$ git clone https://github.com/ducnguyenhuy/vagrant-lamp.git
$ cd vagrant-lamp
$ vagrant up

Connecting

Apache

The Apache server is available at http://vagrant-lamp.dev or http://vagrant-lamp.lc

MySQL

Externally the MySQL server is available at port 8889, and when running on the VM it is available as a socket or at port 3306 as usual. Username: root Password: root

Run PHP test file

Enter http://vagrant-lamp.dev/phpinfo.php or http://vagrant-lamp.lc/phpinfo.php in your browser to see PHP information.

Access guest machine

$ vagrant ssh

Technical Details

  • Ubuntu 12.04 LTS
  • Apache 2
  • PHP 5.3
  • MySQL 5.5

I'm using the base Ubuntu 12.04 box from Vagrant. If you don't already have it downloaded the Vagrantfile has been configured to do it for you.

The web root is located in the vagrant-lamp directory and you can install your files there.

About

Vagrant basic box with LAMP (Linux, Apache, MySql and PHP) on Ubuntu 12.04 LTS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages