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 |
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
#!/bin/bash | |
# get PGP & Debian public key (used to validate download packages) | |
sudo apt-get install pgpgpg | |
sudo gpg --keyserver pgp.mit.edu --recv-key AED4B06F473041FA | |
sudo gpg -a --export AED4B06F473041FA | sudo apt-key add - | |
# add debian experimental repo to apt-get list | |
sudo sh -c "echo 'deb http://ftp.debian.org/debian experimental main' > /etc/apt/sources.list.d/debian.list" |
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
#user nobody; | |
worker_processes 1; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; |