All proceeds from Ad Clicks goes to the author of this site.

 

Tuesday, August 16, 2011

Node on Nexenta

I discovered node.js that Joyent  is using extensively to work its cloud magic. What is node.js check out this video for info, it seems very cool.


Now the next question becomes how do I get it running on Nexenta. First hope was that it was already there considering the following announcement of the of the Joyent/Nexenta partnership


jamesd@amd:~/nodejs/node$ apt-cache search node | grep ^node
jamesd@amd:~/nodejs/node$

nope no luck, okay that was out, well since I wanted to give it a try I popped over to my Ubuntu box and then built node using http://www.codediesel.com/linux/installing-node-js-on-ubuntu-10-04/ and it worked fine, and was painless. Except the git node repository has moved to github.com/joyent/node.git

opteron:nodejs$ uname -av
Linux opteron.themagic.com 2.6.32-33-generic-pae #71-Ubuntu SMP Wed Jul 20 18:46:41 UTC 2011 i686 GNU/Linux
opteron:nodejs$ node
> process.platform
'linux'
>

Well now for a leap of faith... back to Nexenta and give it a try.

To make a short story even shorter, it WORKS!!! using eveything just the same.

jamesd@amd:~/nodejs/node$ uname -av
SunOS amd 5.11 NexentaOS_134f i86pc i386 i86pc Solaris
jamesd@amd:~/nodejs/node$ node
> process.platform
'sunos'




Labels:

0 Comments:

Post a Comment

<< Home