Archive for the ‘hax’ tag
ColdFusion, apache, virtualbox shared setup
My setup is super hackery and isn’t necessary unless your VPN provider sucks and only supports Windows. Do not do try this at home without adult supervision.
Preamble: I have an ubuntu host and a Windows XP virtual machine. I prefer doing most of my development in linux and it works out OK when I’m physically connected to the work network, but because a) I’m too lazy to copy over the MS SQL Server database to work locally somehow and 2) I don’t have a linux VPN client I have to do pretty much everything through VirtualBox. That is the way of the world. So here’s what I do—I can think of only one other person who might want this, but I’ll jot this down for posterity anyway:
1) Make everything work in ubuntu first—get all the needed tools (git, vim, etc.) and mappings in CFIDE working. Installing ColdFusion 8+ with Apache2 in ubuntu is a piece of cake nowadays.
1a) Little quirky step that’s just for me: symlink ~/Public to /var/www so I can do my development all inside my homedir.
2) Share ~/Public with the Windows virtual machine.
3) Install all the necessary tools in the Windows VM: git, vim, xampp, and ColdFusion. Make CF use Apache instead of the standalone server.
4) Fix up apache’s conf to include the UNC path (//vboxsvr/public) as an alias (to /public)
5) Map everything in CF Administrator with the UNC path, NOT THE MOUNTED PATH, FOR THE LOVE OF GOD.