13 June 2007 02:13 PM
Installing ColdFusion 7 on Ubuntu Feisty Fawn
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
-
What directory contains your Apache configuration file:
-
Apache
-
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.






Comments
Posted by Chris on 13 June 2007 10:25 PM
Hi Mark,
as a side note: ColdFusion 8 (Scorpio) installs without any change on Feisty Fawn. It is simply a matter of running the installer. :-)
Best,
Chris
Posted by Danny on 17 July 2007 05:07 AM
I kept getting 'Exception occured trying to get an MBean' error when using wsconfig.
Use the cf jre when using wsconfig:
http://kb.adobe.com/selfservice/viewContent.do?externalId=fa9e26a2&sliceId=1
Posted by Jamie Jackson on 10 August 2007 03:47 AM
How about Verity and the search service, etc.: Did you get that going? I haven't been able to make that happen.
Posted by Mark on 10 August 2007 09:06 AM
Jamie,
They *installed* okay, but I haven't actually tried using any of them yet... so.... no idea?
Posted by Etch on 17 August 2007 12:06 PM
The process was just as seamless in Debian Etch although I did have to :
apt-get install libstdc++6 libstdc++5 libstdc++2.10-glibc2.2
This link is a great reference if u need to install on Etch CF8 installed the same as CF7 ( and its a sarge how to etch was no different ). MySql connect right away aswell.
http://www.howtoforge.com/coldfusion_installation_debian_sarge
Posted by Chris on 27 September 2007 09:03 PM
This helped me enormously. Only issue I had was getting the CF administrator to load once the install was complete. I got an error saying the graphing service was not available.
I found this post that fixed it:
http://ubuntuforums.org/archive/index.php/t-197864.html
short story, though, you just need to tack this on the end of the procedure if the problem occurs:
sudo apt-get install libxp6
sudo apt-get install libxt6
sudo apt-get install libxtst6
Posted by engine on 31 December 2007 12:35 AM
Clear, but there was one piece of information I was looking for and didn't find: is there a preferred location for saving the installer .bin?
Posted by Chris on 31 December 2007 02:09 AM
it doesn't matter where you save the installer file... just put it in your download directory. Once CF is installed you can delete it anyway.
Posted by Whit on 26 February 2008 01:56 AM
I found that I needed to edit the apache configuration file to load the module. So for me, the process went Install CF8>Unzip Apache module (located in wsconfig.jar)>Update/run apache_connector.sh>Update apache2 config to load module (make sure it also recognizes index.cfm)
basically coldfusion is one server, apache is another server and the connector allows apache to pass cfm pages to the CF server, which renders them, sends them back to apache for delivery to the browser. what needs to happen is: proper apache, CF8 installs; set up apache connector that comes with CF8 (via wsconfig.jar - use unzip command); configure apache to load CF8 (via jrun module) and recognize index.cfm
Posted by Whit on 02 March 2008 07:39 AM
useful settings here http://www.simonwhatley.co.uk/configuring-coldfusion-8-with-apache