Загрузка страницы

Install Vagrant on Windows 10 along with Virtual Box, Git bash and Ubuntu 16.04 LTS

How to setup Vagrant on Window 10
we need the following:
1. Virtual box by Oracle
2. Vagrant Window version 34/64
3. Git Bash to use Linux commands

Download sources:
Virtual Box - https://www.virtualbox.org/wiki/Downloads
Vagrant - https://www.vagrantup.com/downloads.html
Git Bash - https://git-scm.com/download/win
Vagrant Boxes - https://app.vagrantup.com/boxes/search


Do not forget to Enable Virtualization from the Bios settings of your machine.

We will create a Virtual Machine environment using Vagrant:-

1. Vagrant - Vagrant is a tool for building and managing virtual machine environments.
2. VirtualBox - VirtualBox is a general-purpose full virtualizer for x86 hardware, targeted at server, desktop, and embedded use.
3. CLI - Command Line Interface to run Linux based commands. I am using MinGW-w64. You can use any of your choice e.g Cmder, Git Bash, etc.

we will use ubuntu/xenial64 Vagrant box:-

First of all, create a directory where you want to install the vagrant, in this video, I have created a repo "Virtualmachines/Ubuntu16.04" inside Y: of my windows 10
computer. Use the cd command to enter the directory where you want to install.

Use the following commands:
$ vagrant box add ubuntu/xenial64

$ vagrant init ubuntu/xenial64

The above command will set up the project and create the file "Vagrantfile" inside the ubunto16.04 directory.

Lastly, use the command:
$ vagrant up

The above command will set up and create the ubuntu in VirtualBox. For the first time, it would take some time but the next time "vagrant up" would not take much time because the next time it will just boot the installed Ubuntu 16.04 LTS in the virtual machine from the HHD.

To connect with virtual machine use command:
$ vagrant ssh

The above command will connect you with the virtual machine automatically, which you have created using Vagrant. In case, If you want to login to the machine from the VirtualBox, it would ask you to login with the user. The default user name is "vagrant" and the password is "vagrant".
#vagrant #virtualbox #gitbash #windows10 #ubuntu16.04 #rustamehind #localhost #developmentmode

Видео Install Vagrant on Windows 10 along with Virtual Box, Git bash and Ubuntu 16.04 LTS канала Rustam-e-hind
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
19 октября 2019 г. 13:58:17
00:13:31
Яндекс.Метрика