Installing Apache And ColdFusion 9 On Ubuntu 9.04
Ubuntu is now an officially support Operating system for ColdFusion 9. This is a guide on installing Apache and ColdFusion 9 on a clean install of Ubuntu 9.04. This starts with a clean install on Ubuntu 9.04 with no additional options selected during the install. If you are planning on running PHP side by side with ColdFusion my recommendation is to set up PHP first then ColdFusion.
Update the server:
sudo apt-get update
sudo apt-get upgrade
Install ssh server so we can work remotely:
sudo apt-get install openssh-server
Install a slightly better version of Vim (not needed if you don't use vi):
sudo apt-get install apt-get install vim-nox
Reboot to apply any changes from the upgrade.
sudo reboot
At this point I switch to a remote ssh client (putty Windows or terminal on OSX). We are now ready to install Apache.
sudo apt-get install apache2
I like to make one change to the default index.html for testing:
sudo vi /var/www/index.html
Test the Apache install:
OK Apache is functioning.
There is one additional library required for C++ custom tags, webservices and some cfimage functionality to work properly. If you do not install this you will be warned in the installer process:
sudo apt-get install libstdc++5
At this point you need to download ColdFusion 9. This example is using the 32 bit Linux version. I don't need ftp on this server so I will use scp to move the ColdFusion 9 installer to my home directory.
Make the installer file executable:
chmod +x ColdFusion_9_WWE_linux.bin
Run the installer:
sudo ./ColdFusion_9_WWE_linux.bin
You will need to accept the agreements to continue.
I will install the trial (you can put in a serial number at a later time).
Select 2.
I will install the standard version with jrun.
Select 1.
I will install all the default components. If you do not need a subcomponent opt it out.
Select 5. (missed a screen shot here)
The standard install path is acceptable. Just press enter.
This is a clean server so I do not have any prior versions of ColdFusion to deal with.