Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save davepoon/c56b07ae2d574eddf672d40dbd1910e5 to your computer and use it in GitHub Desktop.

Select an option

Save davepoon/c56b07ae2d574eddf672d40dbd1910e5 to your computer and use it in GitHub Desktop.

Revisions

  1. @douglascorrea douglascorrea revised this gist Jun 6, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install-nodejs-amazon-ec2-centos
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@ sudo yum install openssl openssl-devel
    sudo yum groupinstall "Development Tools"

    sudo yum install git-core
    git clone git://github.com/joyent/node.git
    git clone git@github.com:nodejs/node.git

    cd node
    ./configure
  2. @douglascorrea douglascorrea revised this gist Jun 6, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install-nodejs-amazon-ec2-centos
    Original file line number Diff line number Diff line change
    @@ -16,5 +16,5 @@ sudo yum install curl
    sudo su
    PATH=$PATH:/home/ec2-user/node
    export PATH
    curl http://npmjs.org/install.sh | sh
    curl https://www.npmjs.com/install.sh | sh
    exit
  3. @douglascorrea douglascorrea renamed this gist Jul 24, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. @douglascorrea douglascorrea renamed this gist Jul 24, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. @douglascorrea douglascorrea renamed this gist Jul 24, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  6. @douglascorrea douglascorrea renamed this gist Jul 24, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  7. @douglascorrea douglascorrea renamed this gist Jul 24, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  8. @douglascorrea douglascorrea renamed this gist Jul 24, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  9. @douglascorrea douglascorrea created this gist Jul 24, 2014.
    20 changes: 20 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    sudo yum install openssl openssl-devel
    sudo yum groupinstall "Development Tools"

    sudo yum install git-core
    git clone git://github.com/joyent/node.git

    cd node
    ./configure
    make

    sudo make install
    node -v

    sudo yum install curl

    sudo su
    PATH=$PATH:/home/ec2-user/node
    export PATH
    curl http://npmjs.org/install.sh | sh
    exit