Newsflash

Home \ Ubuntu 9 \ How to Install ColdFusion 9 On Ubuntu 9.14 with Apache
How to Install ColdFusion 9 On Ubuntu 9.14 with Apache
PDF Print E-mail
AddThis Social Bookmark Button

How to Install ColdFusion 9

On Ubuntu 9.14 with Apache


This is a Step-By-Step walkthru for installing Apache and ColdFusion 9 on Ubuntu 9.14. If you have not heard Adobe Coldfusion 9 is a fully supported when installed on the Ubuntu OS. This walkthru starts with a clean installed version Ubuntu 9.14.

Optional Prerequisite:
How to Install OpenOffice on Ubuntu - If OpenOffice is not configured ColdFusion will not be able to convert some Microsoft Office Documents to PDF

First update the server:
sudo apt-get update
sudo apt-get upgrade
Install a ssh server to work remotely:
sudo apt-get install openssh-server
Install Vim-NoX a slightly better version of Vim if you use VI:
sudo apt-get install apt-get install vim-nox
Soft boot the VM to apply any changes and upgrade.
sudo reboot
Now open your favorite SSH Client because you are now ready to install Apache.

Apache Server Installation

sudo apt-get install apache2
Optional and a shamless plug, modifying the index.html. If your new to VI here is a good spot to pratice editing a file.
sudo vim /var/www/index.html

How to Install ColdFusion 9 on Ubuntu 9 Step 1

Now preform a simple test to verify Apache is functioning properly.
http://localhost/
How to Install ColdFusion 9 on Ubuntu 9 Step 2

Requred: Installation of additional librarys for C++ to avoid any issues. If you do not install the libaries you will be warned in the installer process:
sudo apt-get install libstdc++5

REVISION for Ubuntu 9.14
As of Ubuntu 9.10 libstdc++5 has been deprecated and libstdc++6 was used instead.
You will need to download a copy of libstdc++5_3.3.6-17ubuntu1_i386.deb
and run sudo dpkg -i libstdc++5_3.3.6-17ubuntu1_i386.deb


You will now need to download ColdFusion 9 In this example I am using a 32 bit Linux version.
The ColdFusion_9_WWE_linux.bin is in the home directory.
How to Install ColdFusion 9 on Ubuntu 9 Step 3

ColdFusion 9 Server Installation

Create an installer file:
chmod +x ColdFusion_9_WWE_linux.bin 
Run the Installer file:
sudo ./ColdFusion_9_WWE_linux.bin 

You have no choice accept the license agreements to continue.
How to Install ColdFusion 9 on Ubuntu 9 Step 4

A serial number is not required and can be put in at a later time, if you do not put in a serial number within 30 days, the trial will auto convert into a developer edition.
Choose 2
How to Install ColdFusion 9 on Ubuntu 9 Step 5

Install new version of Adobe ColdFusion 9 (30-day trial)
Choose 1.
How to Install ColdFusion 9 on Ubuntu 9 Step 6

Now install all the default components.
Choose 5.
How to Install ColdFusion 9 on Ubuntu 9 Step 7

In this example I have kept the standard install path.
Press Enter.
How to Install ColdFusion 9 on Ubuntu 9 Step 8

This is a clean server if you have a prior versions of ColdFusion you will receive aditional notices.
Press Enter.
How to Install ColdFusion 9 on Ubuntu 9 Step 9

Set ColdFusion to use the Apache Web Server.
Choose 1.
How to Install ColdFusion 9 on Ubuntu 9 Step 10

Choice between Apache and Sun ONE Server (iPlanet)
Choose 1

How to Install ColdFusion 9 on Ubuntu 9 Step 11

What directory contains your Apache Configuration File?
The default location for the apache.conf files in Ubuntu is: /etc/apache2
How to Install ColdFusion 9 on Ubuntu 9 Step 12

Where is the Apache program binary file?
The default location for the binary is: /usr/sbin/apache2
How to Install ColdFusion 9 on Ubuntu 9 Step 13

Where is the control file that you use to start and stop the Apache web server?
The default location uses init.d: /ect/init.d/apache2
How to Install ColdFusion 9 on Ubuntu 9 Step 14

We are now ready to continue with the install.
Choose 4
How to Install ColdFusion 9 on Ubuntu 9 Step 15

Set the location of CFIDE in the webroot. Select the location of the web root for Adobe ColdFusion 9. This is where the installer places the Adobe ColdFusion 9 Administrator. This directory must be the web root for one of the websites to be configured for use with Adobe ColdFusion 9. This location can be elsewhere and can be moved after the install.

To keep things simple I will set this up in the default webroot.
The default location for apache web root is: /var/www
How to Install ColdFusion 9 on Ubuntu 9 Step 16


Enter the name of the runtime user.
The runtime user must already exist on the system. In this example ColdFusion will run as nobody.
How to Install ColdFusion 9 on Ubuntu 9 Step 17

Configuring OpenOffice installation.
Configureing OpenOffice installation with ColdFusion will enable office documents to be processed using OpenOffice.
Choose 1
How to Install ColdFusion 9 on Ubuntu 9 Step 18

Installer has detected OpenOffice installation at /usr/lib/openoffice/
Select 'ENTER' to continue or enter a new location
Press Enter
How to Install ColdFusion 9 on Ubuntu 9 Step 19

Enter your administrator password:

Enter the password that you will use to restrict access to the ColdFusion Administrator.
How to Install ColdFusion 9 on Ubuntu 9 Step 20 

Enable RDS for the developers:

How to Install ColdFusion 9 on Ubuntu 9 Step 21
 
Verify your installation settings then press enter to begin the installation. 

How to Install ColdFusion 9 on Ubuntu 9 Step 22

You have successfully completed the installation.
How to Install ColdFusion 9 on Ubuntu 9 Step 23

You will need to start the ColdFusion Service.

sudo /opt/coldfusion9/bin/coldfusion start
How to Install ColdFusion 9 on Ubuntu 9 Step 24 

Wait a few minutes for the services to start up then visit http://serverip/CFIDE/administrator/index.cfm
You will need to enter the administrator password to continue the setup.

How to Install ColdFusion 9 on Ubuntu 9 Step 25
How to Install ColdFusion 9 on Ubuntu 9 Step 26
How to Install ColdFusion 9 on Ubuntu 9 Step 27

This will complete the installation.

 Log into the administrator section to continue.
How to Install ColdFusion 9 on Ubuntu 9 Step 28

You may like to set the default document to be a cfm file.

add this to: /etc/apache2/apache2.conf
DirectoryIndex index.cfm.
sudo vim/etc/apache2/apache2.conf

How to Install ColdFusion 9 on Ubuntu 9 Step 29

Then Restart the Apache Server.
sudo /ect/init.d/apache2 restart

Connect to the ColdFusion 9 server with ColdFusion builder (or any other tool) and make a test page in /var/www. I will use vi to make a simple test file; I will also remove the original index.html.
cd /var/www
sudo rm index.html
sudo vim index.cfm
How to Install ColdFusion 9 on Ubuntu 9 Step 30

You can now run this file by simply entering the IP address of the ColdFusion Server.

The default document now will be index.cfm
How to Install ColdFusion 9 on Ubuntu 9 Step 31
You now have ColdFusion 9 Running on Apache using Ubunto 9.04 Operating System
Last Updated ( Monday, 29 August 2011 22:52 )