This project installs and configures a simple lamp-stack with nginx, mysql and php5 on a Ubuntu 14.04 Server. The credentials for the mysql-user can be configured in the default.rb file.
##Dependencies
###Installed software If you only want to quickly setup a lamp stack just download vagrant and virtualbox. Additional you will need the vagrant-berkshelf plugin. For installation tutorials read the github readme of vagrant-berkshelf plugin. If you want to use this project without vagrant but with chef get the ChefDK which contains all neccessary tools to setup the lamp-stack
###cookbooks
##Installation
###Installation with vagrant
Check first if you have installed vagrant and virtualbox. After that just run git clone https://github.com/slipke/csm_ss15_sem_team_vagrant.git
an navigate to /lamp-apache/chef and run vagrant up
from your terminal
###Installation with Chef and Berkshelf Navigate to your chef directory and type the following:
* berks vendor cookbooks
* berks install --path cookbooks
Hence the cookbooks install and change system configuration files, they must be run with root permissions.
* sudo chef-client --local-mode --runlist 'recipe[apt], recipe[apache], recipe[mysql], recipe[php]'
- Author: Patrik Jakober [email protected]
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.