A dead-simple LAMP stack without any bells and whistles for your basic Linux/Apache/MySQL/PHP install.
A dead-simple LAMP stack without any bells and whistles for your basic Linux/Apache/MySQL/PHP install, using Chef Solo for provisioning.
The idea is for developers to fork this and add additional software and configuration that suits the needs of their project.
gem install berkshelf
vagrant plugin install vagrant-berkshelf --plugin-version '>= 2.0.1'
vagrant plugin install vagrant-hostmanager
vagrant plugin install vagrant-omnibus
Note: Vagrant 1.0.x compatible stack is also available.
Clone this repository
$ git clone [email protected]:MiniCodeMonkey/Vagrant-LAMP-Stack.git
Place your website in the
Start the VM
$ cd Vagrant-LAMP-Stack $ vagrant up
You can now access your project at http://projectname.local
Chef will automatically try to import the database dump specified by the filename set in the
:db_dumpoption of your Vagrantfile.
If you are using the default configuration, just create a
dump.sqlfile in the root directory with your table structure and/or content and it will be imported automatically when you run
Note: Remote MySQL access is enabled by default, so you can access the MySQL database using your favorite MySQL client with the above credentials (and using e.g. projectname.local as hostname).