Brian Rinaldi just
finished up
a great tutorial on how to handle Object Composition, going from
creating CFCs from scratch, through to modelling the entire thing with
ColdSpring and
Transfer.
He goes into some great detail on how to use his
Illudium PU-36 code generator to generate the Transfer templates to make life a lot easier for the outset.
Definitely an interesting read.
I'm not going to say that I'm a hardcore Linux user, but I found that
this was the simplest way to install ColdFusion 7 on Ubuntu, with the
least amount of fuss.
I've skipped describing any step in which you have your own options which are up to you, or the default specification is fine.
Hope you find it useful.
-
Download coldfusion-702-lin.bin from
www.adobe.com/coldfusion
-
Install apache2 using
sudo apt-get install apache2
-
Make sure you can compile things by installing:
sudo apt-get install build-essential
-
Rename the coldfusion-702-lin.bin to coldfusion-702-lin.bak
-
We run the
usual
replace command on the binary
# cat coldfusion-702-lin.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > coldfusion-702-lin.bin
-
I like to put my help files in /var/www - so, give me permission to do what
I want to it:
sudo chown <your user name> /var/www
-
Run the newly made installer
sudo ./coldfusion-702-lin.bin
-
Choose Server Configuration
-
Add web server Configuration
-
Apache
-
What directory contains your Apache configuration file:
/etc/apache2
-
Where is the Apache program binary file?:
/usr/sbin/apache2
-
Where is the control file that you use to start and stop the
Apache web server?:
/etc/init.d/apache2
-
Choose ColdFusion MX Administrator Location:
/var/www
- Enter the name of the runtime user:
Enter the name of the user that you set to own /var/www
- Download the hotfix wsconfig.jar for Apache 2.2 support and install it as per the instructions.
- gedit /opt/coldfusionmx7/bin/connectors/apache_connector.sh and change the wsconfig to:
../../runtime/bin/wsconfig \
-server coldfusion \
-ws apache \
-dir /etc/apache2 \
-bin /usr/sbin/apache2 \
-script /etc/init.d/apache2 \
-coldfusion
exit $#
- Start ColdFusion
sudo /opt/coldfusion/bin/coldfusion start
- There will be an error about the connector - do not worry about it
- Run the apache connector
cd /opt/coldfusionmx7/bin/connectors/
sudo ./apache_connector.sh
- Browser to: http://localhost/cfide/administrator/index.cfm
- Rename cfmx-connectors.sh, so we never see that error message again
cd /opt/coldfusionmx7/bin
mv cfmx-connectors.sh cfmx-connectors-run.sh
- You are complete!
Now that you've seen all that, it's nice to know that ColdFusion 8 installs seamlessly with Apache 2.2 right out of the box.