Skip to content

Instantly share code, notes, and snippets.

Preface

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

Preface

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 Apache Tomcat

References:

ensure you have the latest java (you should already if you followed the guide at the top)

Preface

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 Railo ColdFusion - manual installation

These instructions assume you are starting with a new VM cloned from your template

##Install httpd

Preface

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.

#GitBucket

Gitbucket is a github clone written in scala. If you need a git remote inside your own network or on a server you control this is a good alternative to hosted providers like github or bitbucket. There are other hosted solutions such as atlassian stash, gitlab and others, but this is one of the easiest to install and has lots of features.

These instructions are taken and modified from here: https://github.com/takezoe/gitbucket

Preface

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.

#Useful Linux Commands

linux basic administration guide: http://library.linode.com/using-linux/administration-basics

More commands: http://www.pixelbeat.org/cmdline.html

@ryanguill
ryanguill / testRig.cfm
Last active December 31, 2015 08:19 — forked from adamcameron/testRig.cfm
<cfscript>
testNumbers = [
"0", "0.0", "0.00", "0.000", "0.001",
"0.1", "0.10", "0.100", "0.101",
"0.11", "0.110", "0.111"
];
function formatter(n){
n = int(n * 100) / 100;
@ryanguill
ryanguill / isDate_vs_isValid.cfm
Last active January 2, 2016 00:09
comparing isDate() vs isValid("date")
<cfscript>
variables.foo = 0;
writeDump("isDate(): " & isDate(variables.foo)); //returns false
writeoutput("<br />");
writeDump("isValid('date'): " & isValid("date",variables.foo)); //returns true
writeoutput("<br />");
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
@ryanguill
ryanguill / c.cfc
Last active August 29, 2015 13:57
railo-interface-bug
component implements="i" accessors="true" {
property name="name" type="string";
public any function init(name) {
setName(arguments.name);
return this;
}
}
jdbc:as400://{servername};prompt=false;translate binary=true;lazy close=true;extended dynamic=false;package={package Name (keep it to 6 chars or less)};package library={packageLibrary};naming=system;libraries=qtemp {library list};errors=full;
ClassName: com.ibm.as400.access.AS400JDBCDriver