Code Monkey home page Code Monkey logo

vagrantvm1's Introduction

Step 1: Install VirtualBox

Step 2: Install Vagrant

Step 2.5 (if required): Download Ubuntu Precise32 Box by the following command:

vagrant box add precise32 http://files.vagrantup.com/precise32.box

Step 3: clone git repository : git clone https://github.com/mauriciovander/VagrantVM1.git

Step 4: cd into de new VagrantVM1 folder and execute "vagrant up" (takes about 10 minutes)

Step 5: wait for the VM instalation to complete and start using it.

Host folder www is syncronized with /var/www in the VM environment Other sync-folders are:

www --> /var/www

virtual-hosts --> /et/apache2/conf.d

php-config-files --> /usr/share/php5

./db.sh will access the VM hosted MySQL database with root privileges

Configure your Apache VirtualHosts as if you were in the VM environment and configure your local DNS to point your local sites to 12.0.1.20. (Yoy can change the IP in VagrantFile to whatever you like)

To access VM using

~ vagrant ssh

~ sudo ./postinstall.sh (can take about 10 extra minutes)

from the VM, execute sudo service apache2 restart every time you add or change a VirtualHost

Enjoy !

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.