In this tutorial, we are going to install ColdFusion on Macintosh OSX. There are actually multiple parts to doing this, but you should find it very useful.

Installing JRun 4

Go to the Macromedia Website and download JRun 4 Developer Edition . Select English | Mac OS X | 47.24 MB.

  1. At the Introduction Screen, click Next.
  2. Accept the License and click Next.
  3. It will ask you for a Serial Number, but this is not required for the Developer Edition. Click Next.
  4. Let the program install inside of the Applications Folder.
  5. Leave Complete Selected on the Choose Product Features screen and click Next.
  6. Go ahead and choose a user name and type in a password for the server.
  7. Continue pressing the Affirmative Accepting the Defaults until the install is complete.

Note: You can also use Apache Tomcat as an alternative.

JRun Install Screen

 

Installing ColdFusion MX 6.1

Go to the Macromedia Website and download ColdFusion MX 6.1. You will want to select English | Mac OS X | 74.42 MB.

  1. Double-click the file coldfusion-61-other.jar that you previously downloaded.
  2. This should open the Installation Screen (shown left). Click OK.
  3. Click Next at the Introduction Screen.
  4. Accept the license and click Next.
  5. You may get a warning at the next screen stating "Running installer as non-root User." That is okay, Click Next
  6. In the Install Type Screen, choose Install a new version of ColdFusion MX and check Developer Edition (Single-IP Only). ColdFusion can only be used for development on OSX. Click Next.
ColdFusion MX 6.1 Install Screen
  1. This will open the Install configuration Screen where you will choose J2EE Configuration (EAR/WAR file) and select WAR underneath. Click Next.
  2. Go back to the ColdFusion Installer and change the path to /Applications/CFMXJ2ee. The reason for the change is because the default installation directory is hidden from Finder. Click Next.
  3. Enter an Administrator Password and Click Next.
  4. You will now see the Installation Configuration screen. Click Install.
  5. You should see a progress bar indicating the files being installed.
  1. At the Installation Complete screen, Click Done.
  2. Now we need to configure ColdFusion to work underneath JRun.
  3. Open Finder and create a new folder called cfusion inside of your jrun/default folder the complete path should be /Applications/jrun4/servers/default/cfusion.
  4. After you have created the cfusion folder, create another one inside of it called CFIDE (Make sure it's uppercase).
  5. Now we need to open Terminal found under Applications | Utilities | Terminal. Within Terminal, type the following line:

    cd /applications/jrun4/servers/default/cfusion


    This will take you to the directory you installed the ColdFusion package.
Installation Progress
  1. While you are inside of the directory, you will need to extract and install the package into JRun. This is accomplished with the following line:
    jar -xvf /Applications/CFMXJ2ee/cfusion.war
  2. You will see a flurry of files being extracted into the directory as shown to the left.
  3. After ColdFusion has been installed, you may want to enable RDS. Type the following to go into your CFIDE directory:
    cd CFIDE
  4. While in the CFIDE directory, type the following:
    jar -xvf /Applications/CFMXJ2ee/rds.warThis installs the the RDS login capabilities for your server.
  5. Now we just need to start up JRun and check to see that ColdFusion is working properly. This can be accomplished by changing to the correct directory: cd /applications/jrun4/bin

    This will put you in the same directory as the startup file for JRun. Now type ./jrun.

    The JRun Launcher program will now launch as shown:

Output from Terminal

The JRun Launcher program should be used to start your Servers. Since we have installed ColdFusion under the Default Server, select default from the list an press the Start button. You may see the error message displayed below. If so, press the OK button, and wait a few more seconds and press refresh.

JRun Configuration Error

You should then see Running in the Status column of the default server. Go ahead and press the Exit button. You will only need to be in this program to Start and Stop your server.

You can access the program any time by double-clicking on JRun in the Finder.

It is now time to configure your ColdFusion installation which is a seperate tutorial located here.

JRun Launcher

  Home | Books | About | Links | Contact

Valid XHTML 1.0! Valid CSS!
Main Page Books by Eric About Eric Links