Quickie: Install ColdFusion 7.02 on Ubuntu 7.04 with Apache 2.2.4

Once again, may not be the best, but installing ColdFusion 7.02 on Ubuntu 7.04 (Apache 2.2.4 already installed).

Ubuntu 6.10(Edgy Eft) Apache2, PHP5, MySQL & Coldfusion Install Howto provided some inspiration, with changes made as necessary (per my Apache 2.2.4 installation).

Downloaded 7.02 Developer Edition from Adobe (coldfusion-702-lin.bin) to src directory.

cp coldfusion-702-lin.bin coldfusion.bak
cat coldfusion.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > coldfusion-702-lin.bin

sudo sh coldfusion-702-lin.bin

Server Configuration. Choose a server configuration. Choose Apache.

httpd.conf directory = /usr/local/apache2/conf

Program binary = /usr/local/apache2/bin/httpd (default)

Control file = /usr/local/apache2/bin/apachectl (default)

Continue with installation.

Administrator = /usr/local/apache2/htdocs (default)

User = apache

Password = *****

Don't enable RDS.

Installation finished.

Downloaded 6/16/06 zip file from http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_17883&sliceId=2, with wsconfig (wsconfig.zip) and saved to src directory. Extracted to the same.

sudo mv /opt/coldfusionmx7/runtime/lib/wsconfig.jar /opt/coldfusionmx7/runtime/lib/wsconfig.bak

cd src

sudo mv wsconfig.jar /opt/coldfusionmx7/runtime/lib

sudo /opt/coldfusionmx7/bin/coldfusion start

sudo /opt/coldfusionmx7/runtime/bin/wsconfig

In the window that pops up, choose 'Add...'

Configuration Directory: /usr/local/apache2/conf

Check 'Configure' box.


Binary: /usr/local/apache2/bin/httpd

Control script: /usr/local/apache2/bin/apachectl




Exit window.

sudo nano /usr/local/apache2/conf/httpd.conf

Ctrl + W for directoryindex, which should have index.cfm already added (your call if you want to add anything else at this point).

sudo /usr/local/apache2/bin/apachectl restart

http://localhost/ should still work, and http://localhost/CFIDE/administrator/ will put you at the Administrator login to finish up there (the server should configure itself, and you should be able to click on a link to continue to the administrator).

Creating a quick file ...

cd /usr/local/apache2/htdocs

sudo nano test.cfm

<cfset testvariable = "Testing." />