Created
October 8, 2012 20:05
-
-
Save theturtle32/3854634 to your computer and use it in GitHub Desktop.
Revisions
-
theturtle32 revised this gist
Oct 8, 2012 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -53,7 +53,7 @@ $ node --version Make Node available via sudo ```bash $ sudo ln -s /usr/local/bin/node /bin/node $ sudo ln -s /usr/local/bin/node-wav /bin/node-waf $ sudo ln -s /usr/local/bin/npm /bin/npm ``` -
theturtle32 revised this gist
Oct 8, 2012 . 1 changed file with 7 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -49,4 +49,11 @@ $ sudo make install Verify installation (should print "v0.8.11") ```bash $ node --version ``` Make Node available via sudo ```bash $ sudo ln -s /usr/local/bin/node $ sudo ln -s /usr/local/bin/node-wav $ sudo ln -s /usr/local/bin/npm ``` -
theturtle32 created this gist
Oct 8, 2012 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,52 @@ Compiling/Installing Node 0.8.11 on Amazon Linux ============================================================================== Verify Python 2.6 is ready to go. (Should print "Python 2.6.8") ```bash $ python -V ``` Install Development Toolchain ```bash $ sudo yum groupinstall "Development Tools" ``` Switch to home directory: ```bash $ cd ~ ``` Download Node 0.8.11 source tarball: ```bash $ wget http://nodejs.org/dist/v0.8.11/node-v0.8.11.tar.gz ``` Untar: ```bash $ tar -xzf node-v0.8.11.tar.gz ``` Switch to node directory: ```bash $ cd node-v0.8.11 ``` Run configure script with newly installed python binary ```bash $ ./configure ``` Compile Node ```bash $ make -j5 ``` Install Node ```bash $ sudo make install ``` Verify installation (should print "v0.8.11") ```bash $ node --version ```