Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions VMSETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Please perform the following steps in order to provide a CentOS6 VM:
* with the type Linux/Red Hat (64 bit)
* with 2048MB RAM
* an empty HDD
* with a VDMI disk format
* with a VDI disk format
* and a dynamically allocated size of 20GB
* Change the VM settings
* Network: The first network adapter uses 'NAT'
Expand Down Expand Up @@ -56,7 +56,9 @@ The network configuration is a bit more complicated with Virtualbox. What we nee

The IP is usually something like '10.0.2.15'. Each VM ${i} has then usually the same NAT IP. There are no conflicts here because the NAT IP is anyway not accessible from the outside world.

In order to enable access from the outside world via NAT, port forwarding can be used. So to simplify further configuration steps it makes sense to allow the access from the outside world to the VM via NAT and port forwarding. Under the network settings of the VM's NAT network define the following port forwardings:
In order to enable access from the outside world via NAT, port forwarding can be used. So to simplify further configuration steps it makes sense to allow the access from the outside world to the VM via NAT and port forwarding.

In VirtualBox, under the Network Settings: Advanced of the VM's NAT network define the following port forwardings:

| Name | Host port | Gest port |
| ------------- |---------------------|---------- |
Expand All @@ -79,6 +81,10 @@ vncserver
```
/etc/init.d/iptables stop
```
* Disable the firewall permanently by executing
```
chkconfig iptables off
```

You should now be able to establish a secure shell connection from the host to the VM via Putty or the following command:

Expand Down Expand Up @@ -233,7 +239,7 @@ Now start perform the following steps to test if your Development environment se

* Start the 'Qt Creator'
* File -> New File or Project
* Choose 'Qt Widgest Application'
* Choose 'Qt Widgets Application'
* Name the project 'TestWithQtUI' and create it under '/home/couchbase/Projects'
* Next -> Next -> Next -> Finish
* Right click on the project -> Run
Expand Down