![]()
|
Changes in Central Web SupportCharity Beck of the Computer and Information
Technology Center is now serving as interim manager of Central
Web Support. Charity brings over 8 years of web development
experience as well as 5 years of service to the CITC to the
position. Charity can be contacted at 369-7440 or Talking to a Coldfusion MX 7 Cluster with Apache2 (On Debian)By Shannon Eric Peevey, UNT Central Web SupportGeneral InformationI am currently setting up ColdFusion MX 7 on Debian Sarge. The setup looks like:
The cluster name is “webcf”. I installed and setup the ColdFusion MX 7 cluster on two Debian Sarge machines with no problem, (ok, some problems, but it has been a month, so I don’t remember exactly what they were). Clustering was more of a pain, (come on Adobe… Let’s get more documentation on running ColdFusion clusters on JRun 4 servers). I’ll try to remember how I did it, so I can document that as well. Configuring Apache2 and mod_jrun20Finally, when I went to setup Apache2 with mod_jrun20.so, I ended up copying all of the /opt/jrun4 directory to the Apache2 machine. Therefore,
(Watch out that apache-dev is not installed… It is not needed for building mod_jrun20.so). The java command above will probably generate the following error:
This is ok. Now:
Open build_jrun20 in your favourite editor:
And change all instances of /usr/bin/apxs to /usr/bin/apxs2. Once this is complete, save the file and run:
Now, I symlink the new so to /usr/lib/apache2/modules:
Generate the load file to work with the Debian Apache2 package:
Control-d to quit and save the cfm.load file.
(Or, use your favourite editor and put the following line in /etc/apache2/mods-available/cfm.load:
LoadModule jrun_module /usr/lib/apache2/modules/mod_jrun20.so ). Now, enable your module:
Restart Apache2:
|