Main Menu
Polls
Most Popular Tags
Advertisement
How to Install ColdFusion 9On Ubuntu 9.14 with ApacheThis is a Step-By-Step walkthru for installing Apache and ColdFusion 9 on Ubuntu 9.14. If you have not heard Adobe Coldfusion 9 is a fully supported when installed on the Ubuntu OS. This walkthru starts with a clean installed version Ubuntu 9.14. Optional Prerequisite: How to Install OpenOffice on Ubuntu - If OpenOffice is not configured ColdFusion will not be able to convert some Microsoft Office Documents to PDF First update the server: sudo apt-get update sudo apt-get upgradeInstall a ssh server to work remotely: sudo apt-get install openssh-serverInstall Vim-NoX a slightly better version of Vim if you use VI: sudo apt-get install apt-get install vim-noxSoft boot the VM to apply any changes and upgrade. sudo rebootNow open your favorite SSH Client because you are now ready to install Apache. Apache Server Installationsudo apt-get install apache2Optional and a shamless plug, modifying the index.html. If your new to VI here is a good spot to pratice editing a file. sudo vim /var/www/index.html ![]() Now preform a simple test to verify Apache is functioning properly. http://localhost/ ![]() Requred: Installation of additional librarys for C++ to avoid any issues. If you do not install the libaries you will be warned in the installer process: sudo apt-get install libstdc++5 REVISION for Ubuntu 9.14 As of Ubuntu 9.10 libstdc++5 has been deprecated and libstdc++6 was used instead. You will need to download a copy of libstdc++5_3.3.6-17ubuntu1_i386.deb and run sudo dpkg -i libstdc++5_3.3.6-17ubuntu1_i386.deb You will now need to download ColdFusion 9 In this example I am using a 32 bit Linux version. The ColdFusion_9_WWE_linux.bin is in the home directory.
ColdFusion 9 Server InstallationCreate an installer file:chmod +x ColdFusion_9_WWE_linux.binRun the Installer file: sudo ./ColdFusion_9_WWE_linux.bin You have no choice accept the license agreements to continue. ![]() A serial number is not required and can be put in at a later time, if you do not put in a serial number within 30 days, the trial will auto convert into a developer edition. Choose 2 Install new version of Adobe ColdFusion 9 (30-day trial) Choose 1. ![]() Now install all the default components. Choose 5. In this example I have kept the standard install path. Press Enter. This is a clean server if you have a prior versions of ColdFusion you will receive aditional notices. Press Enter. ![]() Set ColdFusion to use the Apache Web Server. Choose 1. Choice between Apache and Sun ONE Server (iPlanet) Choose 1 What directory contains your Apache Configuration File? The default location for the apache.conf files in Ubuntu is: /etc/apache2 Where is the Apache program binary file? The default location for the binary is: /usr/sbin/apache2 Where is the control file that you use to start and stop the Apache web server? The default location uses init.d: /ect/init.d/apache2 We are now ready to continue with the install. Choose 4 Set the location of CFIDE in the webroot. Select the location of the web root for Adobe ColdFusion 9. This is where the installer places the Adobe ColdFusion 9 Administrator. This directory must be the web root for one of the websites to be configured for use with Adobe ColdFusion 9. This location can be elsewhere and can be moved after the install. To keep things simple I will set this up in the default webroot. The default location for apache web root is: /var/www Enter the name of the runtime user. The runtime user must already exist on the system. In this example ColdFusion will run as nobody. Configuring OpenOffice installation. Configureing OpenOffice installation with ColdFusion will enable office documents to be processed using OpenOffice. Choose 1 Installer has detected OpenOffice installation at /usr/lib/openoffice/ Select 'ENTER' to continue or enter a new location Press Enter Enter your administrator password: Enter the password that you will use to restrict access to the ColdFusion Administrator. Enable RDS for the developers: ![]() Verify your installation settings then press enter to begin the installation. You have successfully completed the installation. ![]() You will need to start the ColdFusion Service. sudo /opt/coldfusion9/bin/coldfusion start Wait a few minutes for the services to start up then visit http://serverip/CFIDE/administrator/index.cfm You will need to enter the administrator password to continue the setup. ![]() ![]() ![]() This will complete the installation. Log into the administrator section to continue. ![]() You may like to set the default document to be a cfm file. add this to: /etc/apache2/apache2.conf DirectoryIndex index.cfm. sudo vim/etc/apache2/apache2.conf Then Restart the Apache Server. sudo /ect/init.d/apache2 restart Connect to the ColdFusion 9 server with ColdFusion builder (or any other tool) and make a test page in /var/www. I will use vi to make a simple test file; I will also remove the original index.html. cd /var/www ![]() You can now run this file by simply entering the IP address of the ColdFusion Server. The default document now will be index.cfm ![]() You now have ColdFusion 9 Running on Apache using Ubunto 9.04 Operating System |
| Last Updated ( Monday, 29 August 2011 22:52 ) |



















