These instructions install ruby and rubygems from source, not from RPMs. For instructions on installing from RPMs, look at something like http://wiki.opscode.com/display/chef/Installation+on+RHEL+and+CentOS+5+with+RPMs or http://mykestubbs.com/blog/2010/03/chef-installation-on-centos-54.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install -y g++ curl libssl-dev apache2-utils make | |
sudo apt-get install -y git-core | |
# download the Node source, compile and install it | |
cd /opt | |
sudo git clone https://github.com/joyent/node.git | |
cd node | |
sudo git checkout v0.6 |