Installing ColdFusion Server in Linux

This following procedure describes a ColdFusion Server Enterprise Edition installation. Other editions' procedure might differ.

By default, ColdFusion Server installs into the /opt directory. To install ColdFusion Server into a different directory, you must create that directory before running the installation.

  1. Log in as root.
  2. If you are installing from a CD-ROM, copy the gziped tar file, using the coldfusion-50-linux.tar.gz command, to a directory on your local disk. Using gunzip, uncompress the ColdFusion Server tar file with the following command:
    gunzip coldfusion-50-linux.tar.gz.
    
    
  3. Untar the resulting tar file by entering the following command:
    tar -xvf coldfusion-50-linux.tar
    
    
  4. Using the cd command, go to the resulting directory:
  5. cd coldfusion-50-linux
  6. Run the ColdFusion Server installation script by entering the following command:
    ./cfinstall
    
    

    The ColdFusion Server installation script starts.

  7. Enter your ColdFusion license key and press Enter.

    Note

    You can find your ColdFusion Server license key on the product box and the CD-ROM packaging.


  8. After entering the install directory for ColdFusion Server, the installation process prompts you to enter the name of your Web server.

    Note

    If you entered Other or if you have a custom release of Apache, such as usr/local/apache, see "Configuring Web servers manually".


    At the corresponding prompt, press Enter to let the installation script automatically configure your Web server. When prompted, enter the location of your httpd.conf file.

  9. When prompted, enter the path of your Web server's document root directory, and select whether to install the ColdFusion Server documentation and the example applications.

    Warning

    Because of potential security concerns, the ColdFusion Server team recommends that you not install the example applications in production environments.


  10. After entering and confirming the passwords for the ColdFusion Administrator and ColdFusion Studio, enter the login name under which ColdFusion Server runs.
  11. For each option that you want to install, you are prompted to enter y to install the ColdFusion Server options. Enter y for each option that you want to install.

    The following table lists important installation option options and considerations for ColdFusion Enterprise Edition customers:
    Option
    Description
    Reporting and Archive/Deploy
    Accessed through the ColdFusion Administrator, this option provides ColdFusion application reporting statistics and the ability to archive and deploy ColdFusion applications.
    Monitors, Alarms, and Load-Balancer Integration
    Accessed through the ColdFusion Administrator, this option provides ColdFusion application performance monitoring, threshold alarms, and hardware load-balancing integration for Cisco LocalDirector. If you select ClusterCATS, these features is provided through the ClusterCATS Web Administrator.
    ClusterCATS
    Provides software-based load-balancing and IP failover support for ColdFusion Server. If you want the server on which you are installing ClusterCATS to be able to assume the IP address and HTTP traffic of a failed server in the cluster, enter y to configure this server with failover services. For more information, see "Preparing Your Server for ClusterCATS".
    SNMP MIB
    Provides application information to third-party applications. You must install SNMP on Linux before installing ColdFusion Server. For instructions, see "Installing SNMP in Red Hat" and "Configuring SNMP MIB".
    .

  12. Press Enter to begin the installation.

When the installation is complete, a shell script restarts the Web server and starts ColdFusion Server services.

ColdFusion Server processes

The ColdFusion Server installation creates the following processes in Linux
Process
Purpose
cfexec
Starts and stops the other processes and manages page scheduling.
cfserver
The main ColdFusion Server service. ColdFusion pages cannot be processed if this service is not running.
cfrdsservice
Provides system support for the Administrator and security and debugging services for ColdFusion Studio,
java
Provides a runtime for the ColdFusion Server graphing and charting features and application management features.
ipaliasd
Provides IP failover capability for ClusterCATS.*
reqmgr
Processes ClusterCATS operations as root.*
ccmgr
Creates processes to support ClusterCATS*
wsprobe
Probes the application server for load and restarts unresponsive Web servers*
CANamingAdapter
Controls the data store for application management features*
dfp
Provides load-balancing information to LocalDirector*
* Available in ColdFusion Server Enterprise only
:

Starting and stopping ColdFusion Server processes

In general, you should stop and restart ColdFusion Server after making changes in the ColdFusion Administrator that affect a data source or connection parameter, such as caching, thread count, and so on.

ColdFusion Server provides two scripts for starting and stopping ColdFusion Server processes manually in Linux:

/opt/coldfusion/bin/start

/opt/coldfusion/bin/stop

In addition, ColdFusion Application Manager provides two scripts for starting and stopping ClusterCATS and the Application Manager:

/opt/coldfusion/bin/cfam-start

/opt/coldfusion/bin/cfam-stop




Note

To run the scripts, you must be logged in with root privileges.


ColdFusion Server also provides the following scripts to start and stop ColdFusion Server during system startup and shutdown
Script
Function
/etc/rc.d/init.d/coldfusion
Starts and stops ColdFusion Server.
/etc/rc1.d/K19coldfusion

Stops ColdFusion Server during system shutdown.
/etc/rc3.d/S90coldfusion

Starts ColdFusion Server during system startup.
/etc/rc4.d/S90coldfusion

/etc/rc5.d/S90coldfusion

/etc/rc.d/init.d/btccmgr start

Starts ClusterCATS and application management processes.
/etc/rc.d/init.d/btccmgr restart

Stops ClusterCATS and application management processes.
:



Banner.Novgorod.Ru