- Installing the required libstdc++.so.5 C++ Library
- Running the ColdFusion installer
- Starting ColdFusion for the first time
- Adding hostname pointed to localhost
- Finish the ColdFusion installation in your browser
1. Install the required libstdc++.so.5 C++ Library
There’s one final thing you need to do before running the installer. ColdFusion 8 and 9 require the libstdc++.so.5 C++ library for a few features such as custom tags, Web Services and some cfimage functionality. Download and install the library using the package manager built into CentOS.
There are several ways you can go about getting the installation file for ColdFusion 9. The easiest is probably by logging into your Adobe account and downloading either the 32-bit install file (coldfusion_11_WWE_linux.bin) or the 64-bit install file (coldfusion_11_WWE_linux64.bin). I highly recommend you go with a 64-bit installation as this will allow you to allocate much more RAM to the ColdFusion server than in a 32-bit environment. Of course, this requires you have a 64-bit version of CentOS installed as well.
2. Make the install file executable and running the installer
Before you can run the installation file you need to make it executable. Navigate to the directory where you placed the file and run the change mod command to make it executable.
# For the 32-bit installation
chmod +x coldfusion_11_WWE_linux.bin
# For the 64-bit installation
chmod +x coldfusion_11_WWE_linux64.bin
The install process may take a few minutes to get going depending on your server specs. You’ll be presented with a multi-page license agreement that you have to accept in order to continue the installation. After that, you are presented with installation questions.
After the installation is finished you will see a success screen that tells you to start ColdFusion and run the Configuration Wizard. The wizard isn’t something you have to run specifically, as the first time you launch the ColdFusion Administrator the wizard will run for you. You are given a URL for the ColdFusion Administrator:
3. Starting the coldfusion for first time
Change the directory to coldfusion install location
4. Adding hostname pointed to 127.0.0.1
You might end into error 500.
Issue this as root
echo “127.0.0.1 “`hostname` >> /etc/hosts
Then restart the coldfusion. It worked in my case.
5. Finish the ColdFusion installation in your browser
Open your favorite browser and copy/paste the following into the address bar. Change machinename to the IP address of your server. A local IP such as 10.x.x.x or 192.x.x.x will work if you are connected to a server in your office or you are connected to an external server via VPN. You might also be able to use the external IP of the server. Or, if the server is already hosting a domain name, you could change machinename to yourdomain.com.
After loading this URL you should see a ColdFusion-branded Configuration and Settings wizard screen with a password prompt. Enter the password for the ColdFusion Administrator you created during installation and press enter. ColdFusion will do a few things and then show a new screen with an okay button. Press the button to go straight to the main screen of the ColdFusion Administrator.