Skip to main content
Known Participant
January 3, 2014
Question

Is there a guide for starting coldfusion development on Ubuntu?

  • January 3, 2014
  • 1 reply
  • 1149 views

I have successfully installed coldfusion on Ubuntu 13.10, but as a newbie to Ubuntu I am looking for a guide on the best way to continue from here?

For example, I can view the CFADMIN at "http://localhost:8500/CFIDE/administrator/index.cfm", but am having difficulties viewing test documents placed in the wwwroot folder.

  Wayne

    This topic has been closed for replies.

    1 reply

    Anit_Kumar
    Community Manager
    Community Manager
    January 3, 2014

    Hi Wayne,

    What is the version of ColdFusion you are using? ColdFusion is not yet supported on Ubuntu 13.10. It's great , that it is working for you.

    You may refer to http://help.adobe.com/en_US/ColdFusion/10.0/Developing/index.html and http://blogs.coldfusion.com/post.cfm/getting-started-with-tomcat-in-coldfusion-10.

    If you are able to access CF Admin, that means, CF engine is working on your server. Is there any specific code/file not working for you?

    Regards

    Anit Kumar

    Known Participant
    January 3, 2014

    Hi Anit!

    I am accustomed to setting up my applications through IIS ... and developing in Dreamweaver ... and it is quite easy to be up and viewing quickly.

    In the past 30 min I have successfully viewed my test page (finally).

    There seems to be a large learning curve re permissions and the like.  I cannot just right click and add folders per Windows.

    I guess what I am looking for is a guide pointing out the differences between use of CF in Windows compared to Ubuntu, and how to navigate these successfully.

    Another "problem" will be getting MySQL up and going too of course!

    I have scoured the internet and cannot see much for Ubuntu bunnies like me

    Cheers, Wayne

    Anit_Kumar
    Community Manager
    Community Manager
    January 5, 2014

    Hi Wayne,

    I am not sure about a document describing the difference between use in windows/ubuntu from Adobe. You can search on the web (I found one non-adobe article, you may refer to http://www.iknowkungfoo.com/blog/index.cfm/2007/5/24/Moving-Coldfusion-applications-from-Windows-to-Linux ). Happy searching.

    You can use the commannd to create the connector between Apache (Ubuntu) and CF

    /opt/coldfusion10/cfusion/runtime/bin/wsconfig -ws Apache -dir /etc/httpd/conf -v

    Verify your Apache configuration

    1. Verify that one of the following files was created

         cf_root/config/wsconfig/number

    2. To set the connectionpooltimeout and reuseconnectioncount click on Advanced Setting tab.

    Configuring Apache:


    • Creates a folder 1 in cfroot\config\wsconfig that contains all connector-related files.
    • Creates a file mod_jk.conf in Apache_root_folder\conf. This file has paths to all files in the cfroot\config\wsconfig\1 directory.
    • Adds an entry in the httpd.conf file of Apache to include mod_jk.conf.
    • The following files are significant:

              a) uriworkermap.properties: Mapped extensions based on which the connector forwards requests to Tomcat.

              b) mod_jk.conf: Contains paths to all files in the \config\wsconfig\1 directory.

    • Change the entry JKloglevel info to JKloglevel debug for debugging purposes.

    Note: For virtual host configuration, add the following entry in each of the virtual blocks: JkMountFile "cfroot\config\wsconfig\1\uriworkermap.properties:".

    You can also refer to http://help.adobe.com/en_US/ColdFusion/10.0/Installing/WSc3ff6d0ea77859461172e0811cdec18c28-7ffd.html for difference for webconnector between windows and linux.

    Hope it helps.

    Regards

    Anit Kumar