This guide is one section of a larger guide to installing a cent 6.x server in virtual box for development purposes with different applications. The top level guide with links to all of the sections is here: https://gist.github.com/ryanguill/5149058 Some instructions in this guide may assume a configuration from other parts of the guide.
#Install Adobe ColdFusion (ACF)
make sure you have httpd installed and running using these instructions: https://gist.github.com/ryanguill/7928972
Download English Linux 64-bit installer from http://adobe.com/products/coldfusion
Just hit try, log in, and then pick the appropriate installer
You will have to download on your host system - then mount the user directory and drop the file in there
Make sure you are root
# su -
Go to the user home
# cd /home/user
# ls -la
You should see your file. chmod it and execute
# chmod 755 ColdFusion_10_WWEJ_linux64.bin
# ./ColdFusion_10_WWEJ_linux64.bin
Accept the license agreement
Install Type: 3 Developer Edition
Installer Configuration: 1 Server Configuration
Subcomponent Installation: remove option 1, documentation, then continue: 1, 5
Secure Profile: N ( you would obviously want to do different things for a production box)
Remote Component Administrator Credentials: Username: admin
Remote Component Administrator Credentials: Password: batman
Install Folder: Use the default: /opt/coldfusion10
Earlier Version: 2 No
Configure Web Servers: 1 Add web Server Configuration
1 Apache
Configuration file directory: /etc/httpd/conf
Apache Binary file: /usr/sbin/httpd
control file: /etc/init.d/httpd
4 Continue with installation
runtime user: apache
open office configuration: 2 Skip
Administrator Password: batman
Enable RDS: N
Server Updates Check: Y
press to continue
press to exit the installer
Edit your hosts file:
# vi /etc/hosts
Add your server name to the end of the 127.0.0.1 line
127.0.0.1 localhost cent6-ACF cent6-ACF.local
go to start the ColdFusion service
# cd /opt/coldfusion10/cfusion/bin
# ./coldfusion start
Hopefully, everything works properly and the web service connector is installed properly.
Try to log into the ColdFusion administrator from an external browser:
http://<ipaddress of server>/CFIDE/administrator
Log in, it will finish the installation, hit ok to get into the administrator
create a test file to test out the cf install
# echo '<cfdump var="#server#" />' >> /data/www/server.cfm
hit that page in the web browser:
http://<ip address of server>/server.cfm
Some settings you might want to change in the administrator to make your life easier for development
-Server Settings / Settings: -uncheck timeout requests
-Server Settings / Caching: -uncheck cache template in request -uncheck component cache -uncheck save class files
-Server Settings / Java and JVM: -If you have more than 1GB of ram in your vm, expanding the maximum JVM heap size might be a good idea
-Debugging & Logging / Debug Output Settings: -check Enable Robust Exception Information -Check Enable Request Debugging Output -Custom Debugging Output: -Check Application, Request, Server
-Debugging & Logging / Debugging IP Addresses: -click the add current button
Clean up after yourself
# rm /home/user/ColdFusion_10_WWEJ_linux64.bin
Reboot to make sure that ColdFusion was installed to start on startup
To start / stop / restart ColdFusion
# service coldfusion_10 start
# service coldfusion_10 stop
# service coldfusion_10 restart