Installing node.js on Rackspace Cloud Server Using CloudServers API


Installing node.js on Rackspace Cloud Server can be smooth as butter with a nice GitHub repository and Rackspace Cloud Server API. Here is the ways for node.js. We basically published a guide on Installing node.js on Rackspace Cloud Server before, however this guide shows Installing Node.js on Rackspace Cloud Server using some advanced features of Rackspace Cloud itself.

 

Installing node.js on Rackspace Cloud Server Using CloudServers API : Resources

 

This guide on Installing node.js on Rackspace Cloud Server Using CloudServers API is definitely for a  bit advanced users, definitely you will find the after a bit fiddling if you are the first time user. This is a pointing guide, not a step by step guide, all resources are mentioned here.

 

Resource for npm :

 

https://github.com/isaacs/npm

 

npm for Rackspace Cloud Server :

 

https://github.com/nodejitsu/node-cloudservers

 

Rackspace Cloud Server API documentation has two types for now – first generation and Next Generation Open based API. You can check the Knowledge Center if you need :

 

http://www.rackspace.com/knowledge_center/product-page/cloud-servers

 

Installing node.js on Rackspace Cloud Server Using CloudServers API : Steps

 

It is quite impossible to do from Windows PC, not impossible but so painful for the setup with Cygwin, it is better to use a Pen drive live Version on Ubuntu / Virtualization or own Ubuntu or . You can search our website for the Ubuntu part. Except login, the others commands of previous tutorial will remain the same (for making you understand that this is a PuTTY’s screenshot and you will probably not use Windows PC) :

 

Installing node.js on Rackspace Cloud Server Using CloudServers API


 

There is not much practical difference between the official documentation Installing node.js on Rackspace Cloud Server Using CloudServers API :

 

http://blog.nodejitsu.com/nodejs-cloud-server-in-three-minutes

 

If you find our way or steps difficult, you can follow it.

 

curl http://npmjs.org/install.sh | sudo sh

 

This is for installing npm, you will find more info on the GitHub documentation.

 

sudo npm install cloudservers

 

You need to the Servername, image, flavor, API, Username etc. Image and Flavor or you can do it programatically with your Rackspace Cloud Server with Ubuntu :

 

node -server.js your-server-name your-username your-api-key

 

Change the colored texts with real values. The next steps has difference with our old guide linked above. After initial git install, updating server etc, go to usr/src and clone the git :

 

git clone http://github.com/ry/node.git

 

Go to node folder and :

 

./configure

 

Make installation :

 

make
make install
curl http://npmjs.org/install.sh | sh

 

This completes the tutorial on Installing node.js on Rackspace Cloud Server Using CloudServers API itself. node.js Read the Child Process API for node.js for running your application.

 

Abhishek-Ghosh


0saves
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.
About Abhishek

Abhishek Ghosh is an Orthopedic Surgeon, Inventor with 216 Patents, Current editor of The Customize Windows Media Group. You can follow and know more about Dr. +Abhishek Ghosh on Google Plus and follow on Twitter as @AbhishekCTRL.

Trackbacks

  1. Installing node.js on Rackspace Cloud Server says:

    [...] Installing node.js on Rackspace Cloud Server [...]

  2. Installing node.js on Rackspace Cloud Server says:

    [...] This guide on Installing node.js on Rackspace Cloud Server [...]

  3. Cloud Computing Bookmarks for 1st November 2012 says:

    [...] Installing node.js on Rackspace Cloud Server Using CloudServers API – Installing node.js on Rackspace Cloud Server can be smooth as butter with a nice GitHub repository [...]

  4. Installing node.js on rackspace cloud servers says:

    [...] Installing node.js on rackspace cloud servers [...]

Speak Your Mind

*