Blog

28Jul
2011
ColdFusion Silent Installation

A user emailed me to ask about installing ColdFusion when no desktop access is available (Telnet access, for example). I sent him this link describing Performing a silent installation of ColdFusion 9, and am posting it here just so I have it the next time I need it.

Comments (4)



  • Tom Chiverton

    But only having console access isn't the same thing as requiring an unattended install. In the former case, you just run the normal installer and it works from the console if no GUI is available.

    #1Posted by Tom Chiverton | Jul 29, 2011, 10:10 AM
  • Jose

    Is there a way to do this on the Enterprise version? Meaning, assign a website to a JRun instance without restarting the web server.

    #2Posted by Jose | Jul 29, 2011, 04:50 PM
  • Tero Pikala

    I've spent about a day trying to figure out how to do FULL unattended installation with aim to re-install all our development environments with a script.

    Unfortunately this is only a partial solution - you still need to access ColdFusion administrator to finalise configuration with a browser and manual work. I could potentially create script that behaves like a browser but I think that would take too much time.

    #3Posted by Tero Pikala | Nov 7, 2011, 10:40 AM
  • Tero Pikala

    After one more day of tinkering I think I've managed to get this working as I wanted to.

    Here's what I did:

    1. Install without admin password using silent mode installation

    2. modify neo-security.xml to disable password checking completely (with sed)

    3. start CF and install Apache JRun connector (need to give time for these to complete, I gave 45 and 15 seconds)

    4. request http://127.0.0.1/CFIDE/administrator/index.cfm?configserver=true" target="_blank">http://127.0.0.1/CFIDE/administrator/index.cfm?con... and wait 10 seconds

    5. request http://127.0.0.1/CFIDE/administrator/index.cfm and wait 5 seconds

    6. request http://127.0.0.1/CFIDE/administrator/index.cfm and installation is done


    Hope this helps others trying to do the same!

    #4Posted by Tero Pikala | Nov 8, 2011, 11:07 AM