Skip to content

vijju3335/Vagrant-Installation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Vagrant-Installation

vagrant-installation on WINDOWS

Project Overview

Vagrant provides easy to configure, reproducible, and portable work environments built on top of industry-standard technology and controlled by a single consistent workflow to help maximize the productivity and flexibility of you and your team.Once you or someone else creates a single Vagrantfile, you just need to vagrant up and everything is installed and configured for you to work. Other members of your team create their development environments from the same configuration, so whether you are working on Linux, Mac OS X, or Windows, all your team members are running code in the same environment, against the same dependencies, all configured the same way. Say goodbye to "works on my machine" bugs.

For more, visit Vagrant

Table Of Contents

Download

The files for the project, download.

What's included

Within the download you'll find the following directories and files:

Vagrant-Installation-master.zip
|
└── images
|     |
|     └── v0.jpg
|     └── v1.jpg
|     └── v2.jpg  
|     └── v3.jpg
|
└── VM_Vagrant
|     |
|     └── Vargantfile
|
└── README.md

Prerequisites

Installation

  • Install Vagrant.

  • Install Virtual Box.

  • First here, I go to anydrive and un-zip, copy the downloaded folder here

  • open command prompt here

C:\Users\vijaybabu\Desktop\VM_Vagrant>

  • Skip, below command unless to want to use another vagrant box.
  • There are different vagrant-boxes here
  • This required only at time of intialization.To use different Vagrant-Box, use below command,for eg: choose box ubuntu/trusty64
C:\Users\vijaybabu\Desktop\VM_Vagrant>vagrant init ubuntu/trusty64

continue ...,

Stages

Start Vagrant

C:\Users\vijaybabu\Desktop\VM_Vagrant>vagrant up live demo

  • To control Virtual Machine from Host Sytem

C:\Users\vijaybabu\Desktop\VM_Vagrant>vagrant ssh live demo

  • To Access shared Directory Folders,
vagrant@vagrant:~$ cd /vagrant
vagrant@vagrant:/vagrant$
vagrant@vagrant:/vagrant$ ls -a
.  ..  .vagrant  Vagrantfile
vagrant@vagrant:/vagrant$ 
Exit Vagrant
  • To Exit from vagrant virtual box ,
vagrant@vagrant:/vagrant$
vagrant@vagrant:/vagrant$ exit
logout
Connection to 127.0.0.1 closed.

C:\Users\vijaybabu\Desktop\VM_Vagrant>
Stop Vagrant
  • To stop vagrant virtual box ,
C:\Users\vijaybabu\Desktop\VM_Vagrant>vagrant halt
==> default: Attempting graceful shutdown of VM...

C:\Users\vijaybabu\Desktop\VM_Vagrant>
Restart Vagrant

if any changes made to config file Vagrantfile must follow these,


Postgresql

Bug And Feature Requests

  • Have a bug or a feature request? Please feel free to open an issue.

Releases

No releases published

Packages

No packages published

Languages