From c5144a405a6204d12d8b25ea4746a19bb7c54e90 Mon Sep 17 00:00:00 2001 From: Simon Leigh Date: Mon, 22 Aug 2016 11:50:50 +0100 Subject: [PATCH 1/4] Fix typo on virtual disk format --- VMSETUP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VMSETUP.md b/VMSETUP.md index 218d8a6..8793087 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' From 929331af2ed82f3c40dcbf8b135b911cea20875e Mon Sep 17 00:00:00 2001 From: Simon Leigh Date: Mon, 22 Aug 2016 12:54:08 +0100 Subject: [PATCH 2/4] Improve clarity on changing VM port forwards --- VMSETUP.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/VMSETUP.md b/VMSETUP.md index 8793087..03486ad 100644 --- a/VMSETUP.md +++ b/VMSETUP.md @@ -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 | | ------------- |---------------------|---------- | From 07e202ae68a414f852ae20528b2eddd0d1b7bc98 Mon Sep 17 00:00:00 2001 From: Simon Leigh Date: Mon, 22 Aug 2016 13:35:15 +0100 Subject: [PATCH 3/4] Any reason not to turn this off by default? Otherwise restarting keeps reactivating it when setting up --- VMSETUP.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/VMSETUP.md b/VMSETUP.md index 03486ad..24b6c2f 100644 --- a/VMSETUP.md +++ b/VMSETUP.md @@ -81,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: From 800729292574942ff6b2efe95143e83f5bd8c298 Mon Sep 17 00:00:00 2001 From: Simon Leigh Date: Mon, 22 Aug 2016 15:05:00 +0100 Subject: [PATCH 4/4] fix typo --- VMSETUP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VMSETUP.md b/VMSETUP.md index 24b6c2f..ee1ad3b 100644 --- a/VMSETUP.md +++ b/VMSETUP.md @@ -239,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