Changing ColdFusion Temporary Install Directory

Assembled by: Jim Connor under Web Development

I was trying to install ColdFusion 9 on a Linux server and received this error:

Launching installer...

./ColdFusion_9_WWE_linux64.bin: line 2468: /tmp/install.dir.8076/Linux/resource/jre/bin/java: Permission denied
./ColdFusion_9_WWE_linux64.bin: line 2468: /tmp/install.dir.8076/Linux/resource/jre/bin/java: Success

Turns out that the hosting provider set up the /tmp directory to mount “noexec” as a security precaution.

To get around this I could remount the /tmp dir with exec turned on, or I could change the temp directory that the installer uses. That second option seemed like the better solution, but it took a bit of research to figure out how to do it.

Since the ColdFusion installer uses InstallAnywhere, we can set the IATEMPDIR environment variable:

mkdir /root/cf9_install
export IATEMPDIR=/root/cf9_install

You’ll need to do the same thing to run the uninstaller.