HowTo: ColdFusion8 / SME 7.2
Download the ColdFusion binary from:
http://www.adobe.com/go/trycoldfusion At the time of writing it was:
Coldfusion-8-lin.bin 317MB
Make the binary executable and launch:
# chmod 550 ./Coldfusion-8-lin.bin
# ./Coldfusion-8-lin.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
Preparing CONSOLE Mode Installation...
===============================================================================
Choose Locale...
----------------
->1- English
CHOOSE LOCALE BY NUMBER: 1
license agreement...
DO YOU ACCEPT THE TERMS OF THIS LICENSE AGREEMENT? (Y/N): y
===============================================================================
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
Installation Choice: 2
===============================================================================
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)
Choose one of the following options:: 1
===============================================================================
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:
: 2
===============================================================================
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
[X] 1) ColdFusion 8 Documentation
[X] 2) Adobe LiveCycle Data Services ES
[X] 3) ColdFusion 8 Search Services
[X] 4) Start ColdFusion on system init
5) Continue with installation
Select an option: 5
===============================================================================
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
:
DO YOU ACCEPT THE TERMS OF THIS LICENSE AGREEMENT? (Y/N): y
===============================================================================
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::
===============================================================================
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:
:
===============================================================================
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
Choice: 1
****************************************************
->1- Apache
2- Sun ONE Web Server (iPlanet)
3- Cancel
What kind of web server are you configuring: 1
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)
Directory: /etc/httpd/conf
****************************************************
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: /usr/sbin/httpd
****************************************************
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: /etc/init.d/httpd
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 : /etc/httpd/conf
->4- Continue with installation
Choice: 4
===============================================================================
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: /var/www/html): /home/e-smith/files/ibays/Primary/html/
===============================================================================
Runtime User
------------
Enter the name of the runtime user. This user must already exist on the system.
User Name: (DEFAULT: nobody): www
===============================================================================
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): y
===============================================================================
Installation Confirmation
-------------------------
Installation Type:
Server configuration
Licensing:
30-day trial
Installation Directories:
Product: /opt/coldfusion8
Web root: /home/e-smith/files/ibays/Primary/html/
Server Information:
Web Server: Apache (/etc/httpd/conf)
Port:
Search Services: installed
Adobe LiveCycle Data Services ES: installed ( Express edition )
Documentation: installed
RDS: enabled
Disk Space Information (for Installation Target):
Required: 865,964,058 bytes
Available: 33,208,532,992 bytes
PRESS <ENTER> TO CONTINUE:
===============================================================================
Installing...
-------------
[==================|==================|==================|==================]
[------------------|------------------|------------------|------------------]
===============================================================================
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:
======================================================================
SME Server Config
Download the files below from:
http://mirrors.contribs.org/smeserver/contribs/dmay/smeserver/7.x/coldfusion8/35JRunCF
50DirectoryIndex00PHPCF
# mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
# cp ./35JRunCF ./50DirectoryIndex00PHPCF /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
# config set coldfusion service status enabled
# ln -s /etc/rc.d/init.d/coldfusion_8 /etc/rc.d/rc7.d/S99coldfusion
# expand-template /etc/httpd/conf/httpd.conf
# signal-event reboot
======================================================================
Finish and test
http://[machinename]/CFIDE/administrator/index.cfm