diff --git a/VMSETUP.md b/VMSETUP.md index 218d8a6..ee1ad3b 100644 --- a/VMSETUP.md +++ b/VMSETUP.md @@ -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' @@ -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 | | ------------- |---------------------|---------- | @@ -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: @@ -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