Coldfusion MX 7 on Linux Gentoo

Coldfusion Admin Page

This gonna be a series of article, “migrating web application developed on windows to linux server running coldfusion MX7″.
So I have the installer coldfusion-702-lin.bin, put in /opt directory
and here the step by step what Im doing to get coldfusion running on Linux Gentto

# adduser cfusion
# cat /home/endy/coldfusion-702-lin.bin | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > coldfusion-702-lin.bin
# cd /opt
# chmod +x coldfusion-702-lin.bin
# emerge -av lib-compat x11-libs/libXp x11-libs/libXt x11-libs/libXtst
# ./coldfusion-702-lin.bin
#

I need coldfusion running with apache 2.2

===============================================================================
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/apache2 
 
****************************************************
 
 
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 MX. (Note: this is not the Apache start and 
   stop script.)
 
   File: /usr/sbin/apache2
 
****************************************************
 
 
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/apache2
 
****************************************************
 
 
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/apache2
  ->4- Continue with installation
 
Choice: 4
 
 
 
===============================================================================

next ..

# wget -c http://kb.adobe.com/support/coldfusion/ts/documents/8001e97/wsconfig.zip
# unzip wsconfig.zip
# cp wsconfig.jar coldfusionmx7/runtime/lib/wsconfig.jar
# /opt/coldfusionmx7/bin/coldfusion wsconfig -host <my_host> -server coldfusion -ws Apache -dir /etc/apache2  -coldfusion -v -bin /usr/sbin/apache2 -script /etc/init.d/apache2
# cd /opt/coldfusionmx7/bin/
# ./coldfusion restart
# /etc/init.d/apache2 restart

added: 19 nov 2008

running x86_64 : add -apxs on the wsconfig part and it works like charm, and no more “wrong ELF class: ELFCLASS32″ error message

Leave a Comment

Name: (Required)

E-mail: (Required)

Website:

Comment: