I can\'t install node.js v0.6.1 on AWS EC2 (Ubuntu or CentOs - never mind). After installation I type node, and processor loads to 100%.
But v0.4.12 works fine.
I had the same / similar problem.
on standard 32-bit linux AMI with node v0.6, and redis package, if i opened node command line:
var redis = require('redis');
var r = redis.createClient();
r.quit();
the cpu would go to 100%.
I went to a ubuntu image, this time if I installed node v0.6, just running npm caused cpu to go to 100%.
What solved both situations was installing node v0.4.12.
I had successfully install 0.6.x in ubuntu 11.04, Download nodejs from http://nodejs.org/
Do not install from sudo apt-get install node. This will install radio package. this radio package requires axports to be active, which is not linked with nodejs
After installing then set the environment variables echo PATH=$PTATH:/home/user/pathtonode/