From 4367040a034d39231314cd8b953791037af614f7 Mon Sep 17 00:00:00 2001 From: Nicholas Cerminara Date: Mon, 14 Apr 2014 12:06:35 -0400 Subject: [PATCH 1/3] Updated recipe ref --- site-cookbooks/app/recipes/db.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site-cookbooks/app/recipes/db.rb b/site-cookbooks/app/recipes/db.rb index f877d7c..86159ab 100644 --- a/site-cookbooks/app/recipes/db.rb +++ b/site-cookbooks/app/recipes/db.rb @@ -6,7 +6,7 @@ # # Install MySQL server & MySQL client -include_recipe "mysql" +include_recipe "mysql::client" include_recipe "mysql::server" # Create database if it doesn't exist @@ -28,4 +28,4 @@ grep 1" action :create end -end \ No newline at end of file +end From ea9ed7c8107e467259a5c5ed11b971b15aaa0639 Mon Sep 17 00:00:00 2001 From: Nicholas Cerminara Date: Thu, 17 Apr 2014 11:03:48 -0400 Subject: [PATCH 2/3] Updated README --- README.md | 63 ++----------------------------------------------------- 1 file changed, 2 insertions(+), 61 deletions(-) diff --git a/README.md b/README.md index f0172be..d89f672 100644 --- a/README.md +++ b/README.md @@ -1,62 +1,3 @@ -# Vagrant LAMP stack -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. - -## Requirements -* [VirtualBox](https://www.virtualbox.org) -* [Vagrant](http://vagrantup.com) -* [Berkshelf](http://berkshelf.com) - * `gem install berkshelf` -* [vagrant-berkshelf](https://github.com/riotgames/vagrant-berkshelf) - * `vagrant plugin install vagrant-berkshelf` -* [vagrant-hostmanager](https://github.com/smdahlen/vagrant-hostmanager) - * `vagrant plugin install vagrant-hostmanager` - -**Note:** Vagrant 1.0.x compatible stack [is also available](https://github.com/MiniCodeMonkey/Vagrant-LAMP-Stack/tree/Vagrant-1.0.x). - -## Installation -Clone this repository - - $ git clone git@github.com:MiniCodeMonkey/Vagrant-LAMP-Stack.git - -Place your website in the `public_html` folder - -## Usage -Start the VM - - $ cd Vagrant-LAMP-Stack - $ vagrant up - -You can now access your project at [http://projectname.local](http://projectname.local) - -![Screenshot of up-and-running server](http://i.imgur.com/TP1i9Zd.png) - -### Database dump import -Chef will automatically try to import the database dump specified by the filename set in the `:db_dump` option of your Vagrantfile. - -If you are using the default configuration, just create a `dump.sql` file in the root directory with your table structure and/or content and it will be imported automatically when you run `vagrant up`. - -## Installed software -* Apache 2 -* MySQL -* PHP 5.4 (with mysql, curl, mcrypt, memcached, gd) -* memcached -* postfix -* vim, git, screen, curl, composer - -## Default credentials -### MySQL -* Username: root -* Password: root -* Host: localhost -* Port: 3306 - -**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). - -### Memcached -* Port: 11211 - - -[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/MiniCodeMonkey/vagrant-lamp-stack/trend.png)](https://bitdeli.com/free "Bitdeli Badge") +# Heads up! +This fork is not supported. Please refer to the official repo here: (Vagrant Lamp Stack)[https://github.com/MiniCodeMonkey/Vagrant-LAMP-Stack] From 88043d0c2d06a951f41af15c8c6257c5caa85303 Mon Sep 17 00:00:00 2001 From: Nicholas Cerminara Date: Thu, 17 Apr 2014 11:04:13 -0400 Subject: [PATCH 3/3] Disclaimer :heart: --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d89f672..ef012cd 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # Heads up! -This fork is not supported. Please refer to the official repo here: (Vagrant Lamp Stack)[https://github.com/MiniCodeMonkey/Vagrant-LAMP-Stack] +This fork is not supported. Please refer to the official repo here: [Vagrant Lamp Stack](https://github.com/MiniCodeMonkey/Vagrant-LAMP-Stack)