Compound Theory

v2.0

Categories

  1. Transfer
  2. ColdFusion
  3. JRuby
  4. Java
  5. ColdSpring
  6. Squabble
  7. JavaLoader
  8. ColdDoc
  9. 2ddu
  10. AsyncHTTP
  11. OO Analysis and Design
  12. Flex
  13. Railo
  14. XML / XSL
  15. Hibernate
  16. ColdFusion Builder
  17. Fall
  18. Ubuntu
  19. XHTML / CSS
  20. Eclipse
  21. Git
  22. Oracle Database
  23. Usability / UI Design
  24. webDU
  25. cf.Objective()
  26. LWJGL
  27. cf.Objective(ANZ)
  28. Captcha
  29. MAX
  30. Melbourne CFUG
  31. Martial Arts
  32. Random Things
  33. Conduit

Recent Posts

Projects

Recent Comments

Brian Rinaldi on Object Composition and Transfer

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.
13 June 2007 02:13 PM 10 Comments

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.

  1. Download coldfusion-702-lin.bin from www.adobe.com/coldfusion
  2. Install apache2 using
    sudo apt-get install apache2
  3. Make sure you can compile things by installing:
    sudo apt-get install build-essential
  4. Rename the coldfusion-702-lin.bin to coldfusion-702-lin.bak
  5. 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
  6. 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
  7. Run the newly made installer
    sudo ./coldfusion-702-lin.bin
    1. Choose Server Configuration
    2. Add web server Configuration
      1. Apache
        1. What directory contains your Apache configuration file:
          /etc/apache2
        2. Where is the Apache program binary file?:
          /usr/sbin/apache2
        3. Where is the control file that you use to start and stop the Apache web server?:
          /etc/init.d/apache2
    3. Choose ColdFusion MX Administrator Location:
      /var/www
    4. Enter the name of the runtime user:
      Enter the name of the user that you set to own /var/www
  8. Download the hotfix wsconfig.jar for Apache 2.2 support and install it as per the instructions.
  9. 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 $#
  10. Start ColdFusion
    sudo /opt/coldfusion/bin/coldfusion start
  11. There will be an error about the connector - do not worry about it
  12. Run the apache connector
    cd /opt/coldfusionmx7/bin/connectors/
    sudo ./apache_connector.sh
  13. Browser to: http://localhost/cfide/administrator/index.cfm
  14. Rename cfmx-connectors.sh, so we never see that error message again
    cd /opt/coldfusionmx7/bin
    mv cfmx-connectors.sh cfmx-connectors-run.sh
  15. 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.