Starting and Stopping ColdFusion for Linux ColdFusion Help

ColdFusion for Linux includes a script you can use to start and stop ColdFusion. To start ColdFusion, use the following command:

# /etc/rc.d/init.d/coldfusion start

Similarly, to stop ColdFusion for Linux, use the following command:

# /etc/rcd/init.d/coldfusion stop

When ColdFusion is running, you can access the Cold Fusion Administrator from your
Web browser using the URL: http://local host/cfide/administrator/index. cfm.

Databases and Cold Fusion for Linux

ColdFusion for Linux supports a smaller set of databases than ColdFusion for Windows. At the current time the following database drivers are provided with ColdFusion for Linux:
• PostgreSQL (ODBC)
• Informix 7.x (ODBC)
• Informix 9.x (ODBC)
• Sybase 11 (ODBC)
• Sybase 11 (Native)
• Oracle 8.0 (Native)
• Informix 7.3 (Native)
• DB2 (Native)

Use of these drivers is similar to their counterparts in Windows versions of ColdFusion. The PostgreSQL driveris not available in ColdFusion for Windows. PostgreSQL is a popular, freely available client-server database platform for Unix systems including Unux. Most major Linux distributions, including RedHat Linux, include PostgreSQL, which makes it an attractive choice for a cost-effective client-server database platform. In addition to these platforms, numerous Linux systems use the freely available MySQL database for their applications. While a MySQL driver does not currently ship with Cold Fusion for Linux, ColdFusion for Linux is reported to support the my ODBC  for MySQL available from http://www:mysql.com/down loadmyodbc. html. You should build the myODBC driver following the instructions included with the software and then copy the 1 ibmyodbc. so library to /opt/co ldfustcn/Hb/. After installing the myODBC driver library to the ColdFusion library directory, MySQL should’oe available from the ODBC driver drop-down list in the ColdFusion Administrator and ColdFusion should work with MySQL.

Where Do We Go from Here?

Congratulations! You’ve reached the end of your essential training for ColdFusion. This doesn’t mean there isn’t anything left to learn. To the contrary, you now have the knowl- edge and skills to tackle most ColdFusion tasks and have positioned y•ourself so that you can continue learn new, specialized knowledge when it is needed to complete a task. In your on-going ColdFusion education, you will find several of this book’s appendices useful. Our Appendix B,”ColdFusion Tag Reference,” and Appendix C, “ColdFusion Function Reference,” provide useful references for d.ailyuse when you are programming. Appendix E, “SQL Function Reference,” will help you when you need to build sophisticated database queries for your ColdFusion applications, and Appendix F, “Additional Resources,” will help you find useful information on the Internet when you are researching new problems and strategies for your work.

Posted on November 17, 2015 in Cold Fusion for Linux

Share the Story

Back to Top
Share This