Created
October 20, 2010 13:22
-
-
Save j1n6/636386 to your computer and use it in GitHub Desktop.
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
# required libraries | |
sudo apt-get install g++ curl libssl-dev apache2-utils | |
# install git if needed | |
sudo apt-get install git-core | |
# checkout the latest node file | |
git clone http://github.com/ry/node.git | |
# configure the installation to ~/opt folder | |
cd node | |
mkdir ~/opt | |
export PREFIX=~/opt; ./configure | |
make | |
make install | |
# add to the environment PATH variable | |
echo 'export PATH=~/opt/bin:${PATH}' >> ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment