Comments on ColdFusion 7.x Installation on Debian Sarge (3.1r1) Linux
I will try to explain here a clean Debian Sarge 3.1r1 and ColdFusion MX 7.0.1 installation. Why This Tutorial? Because there is no documentation about ColdFusion installation on Debian on the internet. As you know Debian Linux is not supported officially by Adobe. But Debian is one of the mosts used and well known Linux distributions especially for server usage and I think there would be some other people who want to use Debian and ColdFusion together.
12 Comment(s)
Comments
Hi,
nice tutorial. Thank you on behalf of the community! There's just one little detail that you are missing. With this configuration, the ColdFusion Administrator will not work and you won't be able to use CFFORM or WDDX properly.
The reason is that CF needs the directory /CFIDE for those to work. With your installation it is located in /opt/coldfusionmx7/wwwroot, outside the apache document root, which is fine. Apache simply needs a web server mapping to be able to find the directory. Just add the following line to httpd.conf:
Alias /CFIDE/ "/opt/coldfusionmx7/wwwroot/CFIDE/"
You might also consider to add a <Directory> directive for this mapping. Don't forget to restart apache when you are done. ;-)
If you want to leave CF-Admin deactivated due to security reasons, but want to use CFFORM or WDDX, do the following:
Create another directory CFIDE inside the apache document root (or anywhere else if you still want to use a mapping; could be handy for virtual hosts) and copy /CFIDE/scripts and all it's contents to the new created directory.
Best,
Chris
Thanks for your excellent work making this tutorial. You are indeed a friend of CF on linux. :-)
Mike.
Many thanks
I use also ubuntu 5.10 server.
And i needed also installing libxp6 libxt6 libxtst6
for getting the graphing running.
I needed the RDS stuff in order for some of Dreamweaver8 stuff to function correctly. I had dl'd the developer edition (not sure if it matters) and found I had to create a link to _mmServerScripts in the www folder.
I used
ln -s /opt/coldfusionmx7/wwwroot/CFIDE/gettingstarted/extranet/_mmServerScripts
in order to get this working for me. Using Ubuntu 5.10. I had created another link for /CFIDE as well instead of editing the Apache conf file. I'm using it for a development platform, on an internal network, so the security portion was not a factor I needed to put too much thought towards.
Good work.
MBeach.
Very nice, thank you.
I followed your directions and installed Cold Fusion Server MX7 on Fedora Core 4. I had to make a few adjustments that I thought other folks might want to know about.
1) After installing CFMX7 Fedora Core 4 users may need to do:
yum install libXp.so.6
instead of "apt-get install xlibs"
2) For FC4 users Making CFMX7 run under Apache will require the following command:
/opt/coldfusionmx7/runtime/bin/wsconfig -server coldfusion -ws apache -dir /etc/httpd/conf -bin /usr/sbin/httpd -script /usr/sbin/apachectl -coldfusion
3) If you are planning on using the Cold Fusion Adminstrator Panel you'll reach that at http://localhost/CFIDE/administrator/index.cfm (although some of the links to icons are broken for me).
Thanks again for a really super howto.
Very helpfull thanks!
To install on Ubuntu - Breezy Badger
To fix the Graphing Service error i needed to install.
libxp6
libxt6
libxtst6
And it worked :)
Vince - www.vlowe.co.uk
Very good - I wish I had found this sooner!!
Thank you. :)
Hi,
Thanks for this most excellent guide.
I just required a couple of extra steps in order to get webservices working correctly. From memory the cfinvoke tag was not working, but it may have been the creation of the wsdl which was broken, anyways after I did the following everything webservice related is working:
Install the package: (not sure if this is required)
libstdc++2.10-glibc2.2
then add this sym-link:
sudo ln -s /usr/lib/libstdc++-libc6.2-2.so.3 /usr/lib/libstdc++-libc6.1-1.so.2
After that everthing is working sweet.
Big thanks to everyone adding tips.
cheers
Marcel - http://cfavatar.com
re: At this step we get a warning from the system. This is not direct problem for ColdFusion installation but as you can see if you need verity or custom tag supports you must find a solution. This error has been explained in ColdFusion Technotes for RedHat Linux. But these explanations does not work for Debian. I would suggest to install libstdc packages on Debian as follows:
compat-libstdc++-7.3-2.96.118.i386.rpm is all extra's that is needed.
To install this library on Debian: download the rpm, convert it to a debian package and install.
Use alien to convert the package.
Install alien: apt-get install alien
Download the compat-libstdc++-7.3-2.96.118.i386.rpm file: wget ftp://ftp.uni-bayreuth.de/pub/linux/fedoralegacy/fedora/1/os/i386/compat-libstdc++-7.3-2.96.118.i386.rpm
convert the .rpm: alien compat-libstdc++-7.3-2.96.118.i386.rpm
install the .deb file: pkg -i compat-libstdc++_7.3-3.96_i386.deb
I had problems to connect to MySQL via a JDBC Connector/J in "ColdFusion MX 7" and got the error message ""#HY000Host 'localhost.localdomain' is not allowed to connect to this MySQL server". The solution is to change a line in /etc/hosts :
# nano -w /etc/hosts
Change to:
127.0.0.1 localhost localhost.localdomain server1
Make sure that localhost comes before localhost.localdomain on the first line !!!
MySQL can't determine that two hostnames are equivalent.
The skip-networking option may be replaced by the bind-address option in /etc/mysql/my.cnf.
Reboot the system:
# shutdown -r now
I hope that helps :-) !
MySQL Connectors Download: http://dev.mysql.com/downloads/connector/
When installing CFMX on Ubuntu 6.10 (edgy eft) the installer will exit complaining about missing lib files, something along the lines of:
Configuring the installer for this system's environment...
nawk: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
The problem is caused by a directive within the installer file, which triggers somekind of bug that edgy eft has in relation with java (or so i assume). The instruction that causes the problem is:
export LD_ASSUME_KERNEL
The following commands uncomment all occurences of export LD_ASSUME_KERNEL within the installer, allowing CFMX to be installed on Edgy Eft.
cp coldfusion.bin coldfusion.bin.bak
cat coldfusion.bin.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > coldfusion.bin
The above commands first make a bakup of the original installer and then uncomments all occurences of the offending command in the original installer.
CFMX can then be installed as per the instructions. (I tested this with CFMX 7 and Scorpio).
cheers
Marcel : http://www.cfavatar.com
First, many thanks to the original poster.
This worked for installing on Debian 4.0 (etch), however when trying to run
apt-get install xlibs
You get a note about dependency errors and the package is deprecated. In doing some research this is indeed the case for Debian 4 and newer versions of ubuntu. The solution is to install the following package.
apt-get install xorg-dev
The following thread discusses at least for ubuntu, the discontinuation of the xlibs library.