Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I had success installing it on Ubuntu 32 bits version, but it won’t install it on the 64 bits Ubuntu, it appears the compiler is crashing. Here is all the text shown after I run “make install”. You can see the error message in the end:
Anyone had any problem like this?
Fixed it. The problem above usually happens when the system runs out of memory. My VPS has only 256mb RAM, and it appears gcc uses more memory to compile it in 64 bits version, so I created a swapfile following this tutorial: http://digitizor.com/2011/02/06/create-swap-file-ubuntu-linux/
Hope it helps if anyone have the same problem.
Probably best to run on 512mb or higher while compiling.
The same issue can happen with Rails and ruby, the need to install the latest version often means you can’t go through package management and have to compile from src.
Thanks for the post, it helped me install node on ubutnu 12.04, the only mistake or things changed is URL to update npm is changed
from curl http://npmjs.org/install.sh | sh to curl https://npmjs.org/install.sh | sh
thanks Srinath
Thank you for pointing out the URL change! I have updated the article to reflect the new URL.
I use chris lea’s repo $ sudo apt-get install python-software-properties $ sudo apt-add-repository ppa:chris-lea/node.js $ sudo apt-get update $ sudo apt-get install nodejs
Thank for your comments. I will go through and update this article to include installing it through apt-get and Chris Lea’s Repo.
I’ve always compiled it from a tarball which I grab from the Node.js web site. Then it’s just a matter of ./configure, make & make install.
Configure will show you what it’s about to install (it includes npm amongst other things) & defaults to /usr/local.
You just have to make sure you have a tool kit installed (build-essential, `group install “Development Tools”, etc depending on your distro) & Python 2.6 or greater…
Best way I know on how to install node is from https://github.com/creationix/nvm So you can easily manage versions.
Also, you probably don’t want to have a Linux x64 instance on a machine with less than 4Gb RAM, there are good explanations online about this, basically you are wasting a bunch of RAM