Giter Club home page Giter Club logo

vagrant-ansible-lemp's Introduction

vagrant-ansible-lemp

You can view additional details and a detailed write up for this project here: http://software.danielwatrous.com/build-a-multi-server-lemp-stack-using-ansible/

In this project I use Vagrant and VirtualBox on Windows to create three Ubuntu Linux servers to explore ansible. I then use an Ansible playbook to install a Multi-server LEMP stack with an external and internal network

To run this, first prepare your system to use Vagrant based on these instructions: http://software.danielwatrous.com/using-vagrant-to-explore-ansible/

Clone this repository and from a command line run

vagrant up

That will take several minutes but it will result in three new servers running in VirtualBox on your system. You will then want to login to the control box over SSH (watch the vagrant output to know on which port SSH is running). Then cd into the lemp directory inside the vagrant shared directory and run the ansible playbook.

cd /vagrant/lemp
ansible-playbook -i hosts site.yml

Depending on your environment, you may need to uncomment the proxy declarations and identify your proxy environment in the files

control.sh
lemp/group_vars/all

You should be able to view the wall web page

http://127.0.0.1:8080/wall.php or http://[external_ip]/wall.php

vagrant-ansible-lemp's People

Contributors

dwatrous avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.