Skip to content

Commit 3ec1266

Browse files
committed
Add Vagrant Setup for Windows Installation
1 parent cf917f2 commit 3ec1266

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

documentation/windows-setup-new.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
## Setup Vagrant on Windows
2+
3+
1. Setup `VirtualBox`. Vagrant requires VirtualBox to create Virtual Machine. Navigate to https://www.virtualbox.org/wiki/Downloads to Download Virtual Box.
4+
5+
2. Setup `Vagrant`. Navigate to https://www.vagrantup.com/downloads to download latest version of Vagrant.
6+
7+
3. Setup `Putty`. Navigate to https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html to download latest version of putty.
8+
9+
10+
## Connect to Cloud VM from your Local Windows Machine using Port Forwarding Technique.
11+
12+
Requirements:
13+
- Putty
14+
15+
### Steps
16+
17+
1. Nagivate to C:\Windows\System32\drivers\etc
18+
19+
2. Open the `host` file by right clicking and editing with either a text editor or notepad.
20+
![Step2](images/Setup1.PNG)
21+
22+
3. Add these lines to the `host` file:
23+
```
24+
127.0.0.1 localhost
25+
127.0.0.1 klocalhost
26+
```
27+
![Step3](images/Setup2.PNG)
28+
29+
4. Open Putty. Here you will need to create a session. Under `Host Name (or IP address)` supply your [username]@[IP of VM] with Port 22.
30+
![Step4](images/Setup3.PNG)
31+
32+
5. On the left-hand navigation bar, expand `SSH` and click on `Auth`. Supply your SSH key you used to create the VM.
33+
![Step5](images/Setup4.PNG)
34+
35+
6. Open up `Tunnels` below `SSH` and add:
36+
`Source Port: 80 Destination: klocalhost:80`
37+
`Source Port: 8080 Destination: localhost:80`
38+
![Step6](images/Setup5.PNG)
39+
40+
7. Save your session as you may need/want to reuse it.
41+
42+
8. After saving the session, you can now `load` it and `open` which will connect you to the VM.

0 commit comments

Comments
 (0)