Posts

Migrating Node.js apps from Heroku to Dokku

eroku (and Dokku) make for an awesome development environment- the most well-known feature being the use of “git push” to deploy changes to a server. For simple projects, I’ve found that the deployment time is as fast as compilation times on JVM based projects, except that at the end you have a working environment. Knowing […]

What is vSphere Hypervisor?

Computer virtualization allows resources from one powerful server to be split among many smaller servers. This lets you manage resources more effectively, e.g. moving memory and CPU resources between virtual machines, turning machines on and off as needed, and moving machines to new hardware with minimal downtime. VMware describes vSphere as their virtualization platform – […]

What is ESX and ESXi?

ESX and ESXi refer generally to two versions of the VMware product line- these are the hypervisors that are part of vSphere. VMware refers to vSphere as a “virtualization platform,” which appears to mean an OS and the administration tools that ship with it. ESX/ESXi are the hypervisors – the critical piece of the operating […]

,

Installing CouchDB on a VirtualBox instance with Chef and Vagrant

This assumes you’ve already installed Virtualbox and configured a base VM. mkdir cookbooks cd cookbooks git clone https://github.com/opscode-cookbooks/apt git clone https://github.com/opscode-cookbooks/erlang.git git clone https://github.com/opscode-cookbooks/couchdb.git cd .. mkdir vm cd vm vagrant init vi Vagrantfile Insert the following lines before the last line “end”, like so: config.vm.provision :chef_solo do |chef| chef.cookbooks_path = “../cookbooks” chef.add_recipe(“apt”) chef.add_recipe(“couchdb”) end […]

Fixing error “apt-get… return 100 expected 0” (Chef/Vagrant)

When running Chef for the first time on a VM, you may see an error like the following: apt-get -q -y install couchdb=0.10.0-1ubuntu2 returned 100, expected 0 The problem is that your Vagrantfile script does not require Chef to do an “apt-get update” before running it’s scripts. This normally triggers updating the apt database, and […]

Fixing “The box ‘base’ could not be found.” (Vagrant)

This is an indication that the the base virtual image is not configured, usually from forgetting to finish the installation. This image is copied, and modified to produce the desired virtualized environment. It’s easy to fix, by running the following: vagrant box add base http://files.vagrantup.com/lucid32.box It is also possible that you installed the box under […]

VirtualBox error indicating VT-X not enabled in BIOS

Creating a 64 bit Ubuntu VM on Virtual Box results in the following error: VT-x/AMD-V hardware acceleration has been enabled, but is not operational. Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot. Please ensure that you have enabled VT-x/AMD-V properly in the BIOS of your host […]