Web DevCenter
oreilly.comSafari Books Online.Conferences.
MySQL Conference and Expo April 14-17, 2008, Santa Clara, CA

Sponsored Developer Resources

Web Columns
Adobe GoLive
Essential JavaScript

Web Topics
All Articles
Scripting Languages

Atom 1.0 Feed RSS 1.0 Feed RSS 2.0 Feed

Learning Lab

ColdFusion MX on Mac OS X, Part 3

by Dick Applebaum

Where We Left Off

In Part 2, we examined a simple program and the various environments in which ColdFusion MX can be used, including: Host, Developer, and User environments. We discussed the hardware requirements and we compiled a list of programs needed to install ColdFusion MX on Mac OS X. The required programs are:

  • Mac OS X version 10.1.4, or later
  • VirtualPC version 5.04, or later, with DOS
  • Red Hat Linux version 7.2, or later
  • ColdFusion MX Trial version for Linux

This article assumes you have the requisite hardware; Mac OS X and VirtualPC installed; and Red Hat Linux and ColdFusion MX available.

What We Are Going to Do Today

We have a busy day planned--we are going to install a complete ColdFusion MX Integrated Development Environment, or IDE, on our Local Mac OS X operating system. We will perform these tasks:

  • Create a Mac OS X User to run the ColdFusion MX Web Host services
  • Create a Virtual PC Dropbox drive--to exchange data between Linux and Mac OS X
  • Create a Virtual PC Machine to run DOS
  • Install DOS on the DOS Virtual PC Machine
  • Put the ColdFusion MX download file in the Virtual PC Dropbox
  • Create a Virtual PC Machine to run Red Hat Linux
  • Install Red Hat Linux on the Red Hat Linux Virtual PC Machine
  • Install ColdFusion MX on Hat Linux
  • Put the ColdFusion MX Installation files in the Virtual PC Dropbox
  • Transfer ColdFusion MX Installation files to Mac OS X
  • Acquire the gnutar utility
  • Install ColdFusion MX on Mac OS X
  • Run ColdFusion MX on Mac OS X

Create a Mac OS X User to Run the ColdFusion MX Web Host Services

When we finish today's work, we will have an operational ColdFusion MX Web Host that we will use as part of our Local IDE. We will set up a separate Mac OS X user to run CFMX, so we can isolate it from other users. It makes sense to do all our installation and porting under the same user that will run the eventual system.

  1. With the System Preferences Users panel add a user named: cfmx. This user should have a Password and Administrative Privileges.

  2. Copy any disk files needed for Linux or ColdFusion installation to the:

    Users ==> cfmx ==> Public ==> Drop Box

    folder on the Mac hard disk. You do not need to copy any files you have on CD. The disk files needed are summarized above and are discussed in Part 2 of this series. Likely, the only file you need at this point is the CFMX Trial download.

  3. Log Out, then Log On as the cfmx user.

Create a Virtual PC Dropbox Drive

Author's Note: There are several ways to exchange files between a Virtual Machine OS and the Host Mac OS (OS X). The easiest is a technique called "Shared Folders". Unfortunately, there is no support for "Shared Folders" with a Linux VPC. There are ways that the Virtual PC and the host can exchange files through Networking (LAN or Internet). Here again, we are unfortunate--not all of you will have the necessary hardware or Internet configuration. So, we will use a Dropbox (similar to the above) which will work regardless of your configuration.

To create our Virtual PC Dropbox we will:

  • Create a DOS Virtual drive, the Dropbox drive, which can be read by either DOS or Linux.
  • Use a DOS Virtual machine as the transfer agent. The DOS virtual machine can "Share Folders" with Mac OS X.
    • We will use DOS to copy Mac files from the "Shared Folder" to the Dropbox drive.
    • Then the Dropbox drive will be accessed by the Linux machine.
  • Use Linux to copy from the Dropbox drive to the Linux file system.
  • Reverse the process to transfer the installed ColdFusion MX files back to Mac OS X.

It's a little clumsy, but it works!

Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11

Next Pagearrow