CF Online Meetup – VirtualBox for the CF Developer: Results

Questions about VMs, VirtualBox, Linux, ColdFusion or any combination are welcome at DavidHenry |at| coldfusionpowered.com

A link to the recording:

http://experts.na3.acrobat.com/p36124700/

Slides

http://blog.coldfusionpowered.com/wp-content/uploads/2010/01/vbox_for_cf_dev.pdf

Better Answers to Questions I Answered Poorly

Is Xen dead? No, Xen is alive and kickin’

Can you run a VM inside of another VM? To my surprise, yes. VirtualBox seems to allow this but it is extra slow.

What was the problem when you tried to use snapshots? The machine I was presenting from was using an old version of VirtualBox (3.0.12).  The feature I was trying to show was introduced in VirtuaBox 3.1.  Download directly from virtualbox.org to get the latest version for your operating system.  Proper use of snapshots can be found at http://www.virtualbox.org/manual/UserManual.html#snapshots.

Magic commands to forward a port from host to guest “MyVM”

DOS/Terminal Commands


VBoxManage setextradata "MyVM" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/Protocol" TCP
VBoxManage setextradata "MyVM" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/GuestPort" 80
VBoxManage setextradata "MyVM" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/HostPort" 8585

–== OR ==–

Edit {vboxhome}/Machines/MyVM/MyVM.xml

“pcnet” is the default network card, “0″ is the first network card

Add this to the <ExtraData></ExtraData> section:

<ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/http/GuestPort" value="80"/>
<ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/http/HostPort" value="8585"/>
<ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/http/Protocol" value="TCP"/>

Links

http://www.virtualbox.org/
http://download.virtualbox.org/virtualbox/3.0.12/UserManual.pdf
http://forthedeveloper.com/2009/coldfusion-virtualbox-and-ubuntu/

http://blog.zoobiesoft.com/index.cfm/2009/10/22/

http://httpd.apache.org/docs/2.0/mod/mod_alias.html#alias
Making the cfide directory map correctly in Apache2.

http://help.adobe.com/en_US/ColdFusionBuilder/Using/WS0ef8c004658c1089-38317734121cdfd5fd3-7fff.html#WS0ef8c004658c1089-38317734121cdfd5fd3-7ffe
ColdFusion Builder RDS setup instructions.

Tags: , ,

Leave a Reply