ColdFusion MX 6.1 Installation on Linux (Ubuntu -- Hoary Hedgehog)
ColdFusion MX 6.1 Installation for Ubuntu 5.4 (Hoary Hedgehog)

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 ....

All ColdFusion Tutorials By Author: Anang A Phatak
  • Basic Calculator
    This is a tutorial to build a simple calculator for your web pages. You should get it pretty easily as you browse through the code.
    Author: Anang A Phatak
    Views: 20,205
    Posted Date: Tuesday, October 14, 2003
  • An E - Rolodex System
    Quick and easy way to sort and list your contacts by last names, in two really really simple steps. Almost everybody who uses a data-driven website has a database containing some information about the users. I had a database table called "contact" in which user's first name, last name, address, zip, email, phone, fax.... everything was listed. If you do have something like that and wish to draw and group your contacts by say last names, maybe you will find this tutorial useful.
    Author: Anang A Phatak
    Views: 19,255
    Posted Date: Friday, November 7, 2003
  • A plot to plot a line
    I had no work one day due to a worm attack on our servers, thus a plot to plot a line on a graph was hatched in my empty mind. These files show you, how to plot a line using no database, no java, no long wait times for aplet loading, just 3 tools, Loop, table and text.
    Author: Anang A Phatak
    Views: 17,386
    Posted Date: Thursday, May 6, 2004
  • Automatic Form Generator
    This is not a tutorial as such, more like an application that you can put in a directory. It could boring if you use the CF editor, to pick "cfform" fill its attributes, then pick "cfinputs" one by one. fill out those attributes... one by one, then change tabs and pick the "submit" button... so on and so forth. Even if you code in a note pad, it might get lengthy to code individual element. Wouldn't it be nicer to code all these elements at once, then just copy the code and paste it in your editor?
    Author: Anang A Phatak
    Views: 20,505
    Posted Date: Thursday, May 20, 2004
  • A random password generator
    RANDOM PASSWORD GENERATOR SCRIPT ! I know there is a random password tutorial here already. This is just another way to do the same. I think this is a little easier to understand. Refresh it to generate a new password string everytime !
    Author: Anang A Phatak
    Views: 22,821
    Posted Date: Monday, May 24, 2004
  • Advanced Calculator
    I have posted a "Basic Calculator" tutorial here. That was more like a representation of how you would calculate with a paper and a pencil. You provide INPUT A then a MATHEMATICAL OPERATION like a "+" or a "-" and then an INPUT B. This is more a represntation of how you would use a regular hand-held calculator complete with buttons for NUMBERS, OPERATIONS and CLEAR TEXT.
    Author: Anang A Phatak
    Views: 17,868
    Posted Date: Friday, June 18, 2004
  • Automatically Query To CFM
    This is a custom tag application. The cf_QueryRender custom tag takes your query arguments and gives you a final page table and all...
    Author: Anang A Phatak
    Views: 24,169
    Posted Date: Friday, October 29, 2004
  • A Mp3 Streaming Server
    This is a small application that shows you how to create an MP3 streaming server.
    Author: Anang A Phatak
    Views: 25,179
    Posted Date: Monday, November 8, 2004
  • Breaking down your query results into pages (Paging Tutorial)
    I havent come across a "paging" tutorial on this site. I know there are JavaScripts available that help you achieve this, and the DataSet object in VB.Net comes with paging. All you do is "enable paging". But how do you do it in ColdFusion ?
    Author: Anang A Phatak
    Views: 29,598
    Posted Date: Tuesday, November 16, 2004
  • A DataSet just like VB.Net
    This tutorial shows you how to create a "dataset" just like the one in VB.Net In VB.Net you would create a dataset with "edit" button in an extra column. Once you click "edit", you get an option to "update", "delete" or "cancel edit mode" This is just like a cfgrid tag. Although a cfgrid tag lets you bulk insert, bulk update or bulk delete, the dataset object does it one by one. But cfgrid is slower, and may give users Java errors, depending on their browser settings.
    Author: Anang A Phatak
    Views: 32,271
    Posted Date: Wednesday, November 17, 2004
  • Dynamic time and date for your pages
    Have you seen the "www.EasyCFM" page closely? On the main page, top right, there is a place for time, and top left a place for day-date. Ever wonder how Pablo does it ? This is not a ColdFusion tutorial. Its JavaScript.
    Author: Anang A Phatak
    Views: 20,249
    Posted Date: Wednesday, January 5, 2005
  • ColdFusion MX 6.1 Installation on Linux (Ubuntu -- Hoary Hedgehog)
    I have tried hoards of websites on how to install coldfusion on Fedora Core 3 with apache webserver. For some reason the connectors always failed. I had "Ubuntu" on my laptop, basically because "acpi" suspend/hibernate actually works. I decided I might try to install CF there to find out what was going wrong. Surprisingly everything worked like a charm. Make sure you use "apt-get install apache2" before you try this. BEST OF LUCK ....
    Author: Anang A Phatak
    Views: 22,648
    Posted Date: Tuesday, May 10, 2005
  • Dynamic textbox and progress bar for your pages
    The principle of this tutorial is similar to "Dynamic time and date for your pages" tutorial. Except that this one generates messages, and that one updated time. Read on, you will get the hang of it....
    Author: Anang A Phatak
    Views: 24,840
    Posted Date: Thursday, May 19, 2005
  • Getting ColdFusion Studio for Linux
    I like using HomeSite+ for windows, and I am getting used to Dreamweaver Mx. But I still need something just as good for Linux. For some reason, I couldnt get "wine and Dreamweaver Mx" to work. So I "Googled" a bit and stumbled upon Eclipse and cfEclipse. Here is how to set it up.
    Author: Anang A Phatak
    Views: 22,885
    Posted Date: Wednesday, May 25, 2005
  • Breaking down your query results into pages (Paging Tutorial) Part-II
    This is an extension to my last tutorial "Breaking down your query results into pages (Paging Tutorial)" which is posted here on www.easycfm.com In the last tutorial, you could retrieve a dataset with a , then use a technique to seperate the results over several pages. It simply ; - took the total "recordCount" - divided that with the "number of records per page" - then displayed the number of pages at the bottom of the table. This is a little more sophisticated than that. Read on...
    Author: Anang A Phatak
    Views: 18,105
    Posted Date: Wednesday, January 11, 2006
Download the EasyCFM.COM Browser Toolbar!