Quickie: Install ColdFusion 7.02 on Ubuntu 7.04 with Apache 2.2.4
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.
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
sudo mv wsconfig.jar /opt/coldfusionmx7/runtime/lib
sudo /opt/coldfusionmx7/bin/coldfusion start
In the window that pops up, choose 'Add...'
Configuration Directory: /usr/local/apache2/conf
Check 'Configure' box.
Control script: /usr/local/apache2/bin/apachectl
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 ...
sudo nano test.cfm
<cfset testvariable = "Testing." /> <cfoutput>#testvariable#</cfoutput>
Support This Site
If my blog was helpful to you, then please consider visiting my Amazon Wishlist.