Table of Contents

These instructions cover installing ColdFusion 9 on VirtualBox.

:!: WARNING: These instructions are for MY use and may or may not work for you. If you erase your hard drive, blow up your computer or otherwise harm yourself, your cat or others while following these instructions I am not responsible.

What We Will Install (details below)

My Environment

What You Need To Download

Adobe doesn't list 64bit Ubuntu as supported so it would probably work but for my needs (development) 32bit is fine.

VirtualBox Installation and Configuration

This assumes some basic working knowledge of VirtualBox. You will need to mount iso images, etc. VirtualBox is very similar to VMWare and other virtual machines. If you have problems - please consult VirtualBox site for help.

Manual Method: (this method is outdated - please update to VirtualBox 4 where it is very easy to do port forwarding!)

<ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort" value="2222"/> 
<ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort" value="22"/> 
<ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol" value="TCP"/> 
<ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/apache/HostPort" value="8888"/> 
<ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/apache/GuestPort" value="80"/> 
<ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/apache/Protocol" value="TCP"/> 

LAMP (Ubuntu, Apache, MySQL, PHP)

VirtualBox Guest Additions

Configure Your Shared Workspace

mount -t vboxsf workspace /var/www/workspace 

Notes:

Snapshot

ColdFusion Installation

Snapshot

Apache Configuration / Virtual Directories

My default config:

<VirtualHost *:80>
	ServerAdmin webmaster@localhost
	DocumentRoot /var/www/workspace

	Alias /CFIDE /var/www/cfide
        Alias /modelglueextensions /var/www/workspace/frameworks/modelglueextensions
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride all
		Order allow,deny
		Allow from all
	</Directory>

	# ErrorLog /var/log/apache2/error.log
	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	# LogLevel warn
	# CustomLog /var/log/apache2/access.log combined
</VirtualHost>

Install Hot Fix

Useful Links