Git Product home page Git Product logo

vagrant-centos7-ansible-lamp's Introduction

Vagrant Centos 7 lamp using Ansible playbook

Issues Forks Stars License

This personal development VM with Ansible provisioning is fully working example. I created this VM in order to have a proper php testbed for my php applications. After vagrant up, the main url will welcome you with phpinfo(). I hope you will enjoy this VM and I always accept recommendations and requests.

Guest OS

I am using the lastest CentOS 7 x64 image from official Hashicorp (thanks)

Prerequisites / Requirements

How to run

Create your new folder for your project. Clone this repository into that folder, which will download all configuration needed to run vagrant machine. Then just run vagrant up in terminal and the rest will be done automatically. Open up terminal and run these commands:

$ cd /var/www
$ mkdir project
$ cd project
$ git clone https://github.com/skecskes/vagrant-centos7-ansible-lamp.git
$ cd vagrant-centos7-ansible-lamp/
$ vagrant up

Your /var/www/project folder will be synced with with vagrants apache root directory. Note, that if you run it first time, vagrant will download the guest OS (414 MB of Centos 7 in this case) box from internet, which in my case took 8 minutes and will save it locally so that vagrant can use it later.

installation

Licence

GNU GENERAL PUBLIC LICENSE

What is included

Tag 0.1.0

  • Apache 2.4.6
  • latest php 5.6.*
  • latest mySQL MariaDB 5.5.* on port 3306 (user: root, pass: toor)
  • phpinfo() on http://10.0.0.10
  • phpmyadmin on http://10.0.0.10:9000 (latest version is cloned into vagrantbox)

Tag 0.2.0

Same as previous, but latest PHP 7.0.* (php7) is used

php7

vagrant-centos7-ansible-lamp's People

Contributors

sadovnik avatar skecskes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vagrant-centos7-ansible-lamp's Issues

No ansible on vagrant box... can't provision

No ansible on vagrant box... can't provision. Getting the following error:

==> default: Running provisioner: ansible...
    default: Running ansible-playbook...
The Ansible software could not be found! Please verify
that Ansible is correctly installed on your host system.

If you haven't installed Ansible yet, please install Ansible
on your host system. Vagrant can't do this for you in a safe and
automated way.
Please check https://docs.ansible.com for more information.

"rsync" could not be found on your PATH.

C:\Users\SrinivD1\Desktop\vagrantvms\vagrant-centos7-ansible-lamp [master +0 ~1 -0]> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'centos/7' is up to date...
==> default: Fixed port collision for 443 => 443. Now on port 2201.
==> default: Fixed port collision for 22 => 2222. Now on port 2202.
"rsync" could not be found on your PATH. Make sure that rsync
is properly installed on your system and available on the PATH.

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.