I would like to announce that I have successfully installed ColdFusion MX 6.1 on Ubuntu 5.x (Hoary...). Despite what some readers might think "uh, so what..." , for me this is a big deal.
I tried this installation several times on Fedora 3 with httpd (apache 2.0.xx) running and I was unsuccessful all the time. Of course I could get it installed properly with their jrun server (requests to port 8500).
Since then I have searched for a "howto" all over the internet and spent several hours on google. I have tried in vain to follow some obscure directions on how to compile jrun and apache into the kernel (or something like that...). I am a total newbie to the Linux world and most of my development was on IIS 5/6 on Windows machines.
So.... here it is, for another newbie like myself....
How to install ColdFusion Mx 6.1 on Ubuntu (Debian Based)
-----------------------------------------------------------------
1. Download the ColdFusion Mx 6.1 from Macromedia's website.
My download directory is located in /home/anang/Downloads
You will find the "coldfusion-61-lin.bin" file download completes.
-----------------------------------------------------------------
2. At the prompt type
sudo chmod +x cold*.bin
----------------------------------------------------------------
3. Now execute this file by typing
./cold*.bin
----------------------------------------------------------------
This will execute the coldfusion installer, extract "jre" and do lots of stuff.
The it will ask you for a "locale" with only one option (in mycase) for english
type 1 (one) at the prompt and press "ENTER"
----------------------------------------------------------------
It will ask for type of installation. I chose "single user/developer". I you choose a different type, it will ask you for the key/serial code. Type that and be sure to include all "-" (hyphens). It does ask you one more question, but I forgot what it was. It was relatively easy.
---------------------------------------------------------------
Then comes the license agreement. Since its not possible to install this without agreeing to their terms, a liberal use of "ENTER" key is encouraged here, unless you actually intend to read the boring document.
---------------------------------------------------------------
It will look something like this....
....
The Software may contain third party software which requires notices and/or
additional terms and conditions. Such required third party software notices
and/or additional terms and conditions are located at
http://www.macromedia.com/go/thirdparty/ and are made a part of and
incorporated by reference into this EULA. By accepting this EULA, you are also
accepting the additional terms and conditions, if any, set forth therein.
....
PRESS <ENTER> TO CONTINUE:
...
and so and and so forth...They do make an effort to make sure you see this document at least.
DO YOU ACCEPT THE TERMS OF THIS LICENSE AGREEMENT?
(Y/N) : y
----------------------------------------------------------------
I accepted whatever was in that agreement (like I have a choice) and pressed the "y" as shown above. Given below is the "cut - paste" of the questions they asked me and the answers I had for them. I have tried to use the color "blue" for all my answers. Forgive me if I missed any....
---------------------------------------------------------------
==============================================
Pre-Installation Check
==============================================
The installer has found the following errors/warnings:
Warning: C++ compatibility pack
The installer was unable to determine if the C++ compatibility pack is
installed by running the following command: rpm --query compat-libstdc++
If this machine uses a version of glibc that is 2.2.5.x or higher the
compatibility pack is necessary for C++ custom tags, Verity, and web server
connectors to work properly.
For more information see the installation manual at
http://www.macromedia.com/go/livedocs_cfmx61docs
PRESS <ENTER> TO CONTINUE WITH THE INSTALLER:
==============================================
Existing Macromedia ColdFusion MX Installation?
==============================================
You cannot install a new installation of Macromedia ColdFusion MX 6.1 if you
have an existing version of Macromedia ColdFusion MX installed on this
computer.
If you do have a previous version installed, the installer can update your
current current installation to Macromedia ColdFusion MX 6.1.
Is there already a version of Macromedia ColdFusion MX installed on this
computer? (Y/N): N
==============================================
Install Type
==============================================
Choose the type of Macromedia ColdFusion MX installation you want to perform:
->1- Install new version of ColdFusion MX
2- 30-day trial (Enterprise Edition)
3- Developer Edition (Single-IP Only)
Installation Choice: 3
==============================================
Install Configuration
==============================================
What kind of installation do you want?
->1- Server configuration
2- J2EE configuration (ColdFusion MX with JRun 4)
3- J2EE configuration (EAR file)
4- J2EE configuration (WAR file)
Please choose one of the following options: 1
==============================================
Choose Install Folder
==============================================
Select the directory in which to install Macromedia ColdFusion MX.
Directory:
Default Install Folder: /opt/coldfusionmx
ENTER AN ABSOLUTE PATH, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
:Just press enter here
==============================================
Existing ColdFusion 4.5 or 5 Installation?
==============================================
The installer can migrate your settings from ColdFusion 4.5 or 5 if you have an
installation on this computer.
Is there a version of ColdFusion 4.5 or 5 installed on this computer? (Y/N)
: N
==============================================
Configure Web Servers
==============================================
Please configure your webserver(s). If you do not configure a webserver the
built-in webserver will be used on port 8500.
1- Add Web Server Configuration
->2- Continue with installation
Choice: 1
****************************************************
->1- Apache
2- Netscape Enterprise 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.)
Directory: /etc/apache2
****************************************************
Where is the Apache program binary file? (For example, on Red Hat Linux it
could be located in the /usr/sbin/httpd directory if you installed from an
rpm.) 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 and it could be /usr/local/apache/bin/apachectl on
hand-compiled versions.)
File: /etc/init.d/apache2
****************************************************
Please configure your webserver(s). If you do not configure a webserver the
built-in webserver will be used on port 8500.
1- Add Web Server Configuration
2- Remove Web Server Configuration
3- Edit:Apache : /etc/apache2
->4- Continue with installation
Choice: 4
==============================================
Choose ColdFusion MX Administrator Location
==============================================
Select the location of the web root for Macromedia ColdFusion MX. This is where the installer places the ColdFusion MX Administrator.
This directory must be the web root for one of the websites to be configured for use with ColdFusion MX.
Directory: (DEFAULT: /etc/htdocs): /var/www
==============================================
Runtime User
==============================================
Enter the name of the runtime user. This user must exist already on the system.
User Name: (DEFAULT: nobody):your username here.
==============================================
Init System
==============================================
Would you like ColdFusion MX to start at System Boot? Please note, this is only
supported on Solaris and Red Hat Linux. If you answer no to this, you can add
ColdFusion MX to system boot post install by running
/opt/coldfusionmx/bin/cfmx-init.sh
Answer (Y/N): Y
==============================================
Administrator Password
==============================================
Enter the password you will use to control access to the ColdFusion MX
Administrator.
This field is required.
Password: your password here. Note: there is no echo for what you type
Confirm Password:Retype password
==============================================
Installation Confirmation
==============================================
Installation Type:
Server configuration
Licensing:
Developer Edition (Single-IP Only)
Install Directories:
Product: /opt/coldfusionmx
Web root: /var/www
Server Information:
Web Server: Apache (/etc/apache2)
Disk Space Information (for Installation Target):
Required: 433,293,879 bytes
Available: 34,133,983,232 bytes
PRESS <ENTER> TO CONTINUE:
==============================================
Installing...
==============================================
[==================|==================|==================|==================]
[------------------|------------------|------------------|------------------]
==============================================
Installation Complete
==============================================
You have successfully completed the first step in installing Macromedia
ColdFusion MX.
To continue with your installation, go to /opt/coldfusionmx/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 "ENTER" here
---------------------------------------------------------
Coldfusion services will be stopped. If you are impatient like me, you want to start them right away. You can either restart or do the following...
Navigate to the directory where you installed coldfusion and then the "bin". My directory was in /opt/coldfusionmx like shown below....
--------------------------------------------------------
prompt:/home/anang/Downloads # cd /opt/cold*
prompt:/opt/coldfusionmx # ls
CustomTags Macromedia_ColdFusion_MX_InstallLog.log cache charting lib logs runtime uninstall wwwroot
META-INF bin cfx db license.txt registry temp_zip verity
prompt:/opt/coldfusionmx # cd bin
prompt:/opt/coldfusionmx/bin # ./coldfusion start
--------------------------------------------------------
If everything went all right this is what you should see ...
-------------------------------------------------------
Starting ColdFusion MX...
There may be a few moments before you can access the ColdFusion MX administrator. This is normal.
==============================================
Running the ColdFusion MX connector wizard
==============================================
Running the connector installer (Launched on the first run of the ColdFusion MX server start script)
Running apache connector wizard...
Connector installation succeeded for apache
======================================================================
ColdFusion MX has been started.
ColdFusion MX will write logs to /opt/coldfusionmx/logs/cfserver.log
======================================================================
And thats done ....