After we are familiar with what Cold Fusion is, let us see how to install Cold Fusion on Linux Servers.
It is possible to install ColdFusion on VPS or Semi Dedicated Server however it is recommended to consider Dedicated Servers for better performance.
System Requirements:-
http://www.adobe.com/products/coldfusion/systemreqs/
We can check thesystem requirements for Cold Fusion via above link.
Installing ColdFusion on Linux Dedicated Servers:-
Download the coldfusion-801-lin.bin file on your server
Grant Execute permission to the coldfusion-801-lin.bin binary file
root@root [~]# chmod +x coldfusion-801-lin.bin
Step 1
root@root [~]# ./coldfusion-801-lin.bin
Step 2
Choose Locale…
—————-
->1- English
CHOOSE LOCALE BY NUMBER:
From the available option, select option 1.
Step 3
PRESS <ENTER> TO CONTINUE:
Here, continue pressing “Enter” tab for 28 times.
Step 4
DO YOU ACCEPT THE TERMS OF THIS LICENSE AGREEMENT? (Y/N):
Press “Y” to continue
Step 5
Install Type
————
If you do not have a serial number, select either 30-day trial or Developer
Edition.
->1- Install new version of Adobe ColdFusion 8 with a serial number
2- 30-day trial
3- Developer Edition
If you have Authorized Product Key, select option 1, else you can select option 2 for 30 days trial.
Step 6
Serial Number:
Here, you need to enter the Serial Number or Product Key.
Step 7
Installer Configuration
———————–
What kind of installation do you want?
->1- Server configuration
2- Multiserver configuration
3- J2EE configuration (EAR file)
4- J2EE configuration (WAR file)
Select “Server Configuration” which is option 1 to proceed.
Step 8
Is Adobe ColdFusion 8 (Server Configuration) Installed?
——————————————————-
You cannot install the server configuration of Adobe ColdFusion 8 if it is already installed on this computer.
Is there already a server configuration of Adobe ColdFusion 8 installed?
1- Yes
->2- No
ENTER THE NUMBER FOR YOUR CHOICE, OR PRESS <ENTER> TO ACCEPT THE DEFAULT:
Continue with “No”, so you will select option 2.
Step 9
Subcomponent installation
————————-
The following options are available for installation.
An option marked with “[X]” in front will be installed and an option with “[ ]”
will not. Choosing an option will toggle it on or off
1) ColdFusion 8 Documentation
2) Adobe LiveCycle Data Services ES
3) ColdFusion 8 Search Services
4) Start ColdFusion on system init
5) Continue with installation
Select option 5 to Continue Installation
Step 10
Choose Install Folder
———————
Select the directory where you want to install Adobe ColdFusion 8.
Directory:
Default Install Folder: /opt/coldfusion8
ENTER AN ABSOLUTE PATH, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
If you have any absolute path or you want to install it to any specific directory, you can enter it here. For eg., the path can be /usr/local/src
Else, you can directly hit “Enter” tab to install it to the default directory.
Step 11
INSTALL FOLDER IS: /opt/coldfusion8
IS THIS CORRECT? (Y/N):
If the folder path is correct then just press “Y”, else you can press “N” to correct the path.
Step 12
License Agreement
—————–
Installation and Use of Adobe LiveCycle Data Services ES Requires Acceptance of
the Following License Agreement:
ADOBE SYSTEMS INCORPORATED
ADOBE LIVECYCLE DATA SERVICES SOFTWARE
Software License Agreement
PRESS <ENTER> TO CONTINUE:
To go through the License Agreement details, here, you will need to press “Enter” tab for 30 times.
Step 13
DO YOU ACCEPT THE TERMS OF THIS LICENSE AGREEMENT? (Y/N):
Accept the agreement by pressing “Y” to proceed further with the installation.
Step 14
If you do not have an Adobe LiveCycle Data Services ES serial number, leave the
serial number field blank to install a 120-day trial.
After the trial period expires, LCDS becomes Express edition until registered.
The Express edition is a free, non-expiring commercial use product for
application deployed on a single machine with not more than one CPU.
Enter your serial number for Adobe LiveCycle Data Services ES.
Example (you can omit the dashes if you prefer):
XXXX-XXXX-XXXX-XXXX-XXXX-XXXX
Serial Number::
Again, enter the Serial Number, i.e., Product Key
Step 15
Earlier Versions of Adobe ColdFusion installed?
———————————————–
If you installed an earlier version of ColdFusion on this computer, you can migrate your settings to Adobe ColdFusion 8.
Is there an earlier version of ColdFusion installed on this computer (for example, ColdFusion 6 or ColdFusion MX 7)?
1- Yes
->2- No
ENTER THE NUMBER FOR YOUR CHOICE, OR PRESS <ENTER> TO ACCEPT THE DEFAULT:
Being it the first time for installing ColdFusion, select option 2 to continue.
Step 16
Configure Web Servers
———————
Please configure your web server(s). If you do not configure a web server the
built-in web server will be used on port 8500 or the next available port.
1- Add Web Server Configuration
->2- Continue with installation
You will here, configure the Web Server, so simply select option 1 and continue with configuration of Web Server.
Step 17
->1- Apache
2- Sun ONE Web Server (iPlanet)
3- Cancel
What kind of web server are you configuring:
Select option 1 which will configure Apache as a Web Server
Step 18
What directory contains your Apache configuration file (httpd.conf)? (For
example, on Red Hat Linux it could be located in the /etc/httpd/conf
directory if you installed from an rpm, or for SuSe Linux, it could be in
/etc/apache2)
You may keep it as /etc/httpd/conf or if it’s a specific path say /usr/local/apache/conf
Step 19
Where is the Apache program binary file? (For example, on Red Hat Linux it
could be /usr/sbin/httpd if you installed from an rpm, or for SuSE Linux it
could be located at /usr/sbin/httpd2) If you have more than one instance of
Apache on your computer, enter the binary file location for the Apache web
server that will use ColdFusion. (Note: this is not the Apache start and
stop script.)
File (DEFAULT: /etc/httpd/bin/httpd):
You run the command “which httpd” on server. The output will be your File where Apache program binary file is located. Do not forget to use other terminal to run this command.
Suppose the output is /usr/sbin/httpd, so you can enter /usr/sbin/httpd and proceed. By default, it will consider the location as /etc/httpd/bin/httpd
Step 20
Where is the control file that you use to start and stop the Apache web
server? (For example, this could be /etc/init.d/httpd on Red Hat Linux if
you installed from an rpm, /usr/sbin/apache2ctl on SuSe Linux, or it could
be /usr/local/apache/bin/apachectl on hand-compiled versions.)
File (DEFAULT: /etc/httpd/bin/apachectl):
Enter /etc/init.d/httpd
Step 21
Please configure your web server(s). If you do not configure a web server the
built-in web server will be used on port 8500 or the next available port.
1- Add Web Server Configuration
2- Remove Web Server Configuration
3- Edit:Apache : /usr/local/apache/conf
->4- Continue with installation
Choice:
If you think, there is some or the other information you need to change or update then you can select options between 1 to 3, otherwise, simply continue with the installation by selecting option 4.
Step 22
Choose Adobe ColdFusion 8 Administrator Location
————————————————
Select the location of the web root for Adobe ColdFusion 8. This is where the installer places the Adobe ColdFusion 8 Administrator.
This directory must be the web root for one of the websites to be configured for use with Adobe ColdFusion 8.
Directory: (DEFAULT: /usr/local/apache/htdocs):
It is recommended to continue with the default diretcory “/usr/local/apache/htdocs”.
Step 23
Runtime User
————
Enter the name of the runtime user. This user must already exist on the system.
User Name: (DEFAULT: nobody):
Proceed with “nobody”, the default user
Step 24
Administrator Password
———————-
Enter the password that you will use to restrict access to the ColdFusion
Administrator.
This field is required.
Password: The one you want.
Confirm password: Same password as above.
Keeping the record of password is always helpful.
Step 25
Enable RDS
———-
The ColdFusion Remote Development Service (RDS) lets developers using Adobe
tools remotely connect to this server for development purposes. RDS is required
for Line Debugging, Report Builder, and DreamWeaver Extensions.
If this is a production server, Adobe recommends that you disable RDS.
Note, however, that disabling RDS also disables debugging, the directory
browsing applets in the ColdFusion Administrator and some of the functionality
in the Report Builder.
Enable RDS (Y/N):
Press “Y” to enable RDS.
Password: The one you want.
Confirm password: Same password as above.
Step 26
Installation Confirmation
————————-
Installation Type:
Server configuration
Licensing:
Enterprise edition
Serial Number: XXXX-XXXX-XXXX-XXXX-XXXX-XXXX
Installation Directories:
Product: /opt/coldfusion8
Web root: /usr/local/apache/htdocs
Server Information:
Web Server: Apache (/usr/local/apache/conf)
Port:
Search Services: installed
Adobe LiveCycle Data Services ES: installed
Documentation: installed
RDS: enabled
Disk Space Information (for Installation Target):
Required: 923,564,250 bytes
Available: 205,550,153,728 bytes
You will get the overview/summary of the details you have entered for installation
PRESS <ENTER> TO CONTINUE:
Press the “Enter” tab to continue
Step 27
Installation Complete
———————
You have successfully completed the first step in installing Adobe ColdFusion
8.
To continue with your installation, go to /opt/coldfusion8/bin and type
“./coldfusion start” to start your server.
Once the server, is started log in to the Configuration Wizard at
http://[machinename]/CFIDE/administrator/index.cfm
Press Enter to exit the installer:
Press the “Enter” tab. You are exiting the installe, you are done with the installation.
You are done ! Congratulations !!
To start/stop coldfusion on the server you can follow the steps below
root@root# cd /opt/coldfusion8/bin
root@root[/opt/coldfusion8/bin]# ./coldfusion start
root@root[/opt/coldfusion8/bin]# ./coldfusion stop
To access the admin control panel please browse the URL http://[machinename]/CFIDE/administrator
Enter the password used while the installation and proceed further.
Note :: Make sure you have libstdc++.so.5 installed on your server. If you have already installed it ignore the below step
To Install:-
root@root [~]# yum install libstdc++.so.5
Note :: Here, machine name is the server hostname OR the server IP. Make sure you use the licensed copy of the software and the product key from the vendor.