Skip to content

Instantly share code, notes, and snippets.

@bandicoot86
Created July 1, 2014 08:07
Show Gist options
  • Save bandicoot86/b878aaa1f30fa4fe5dcc to your computer and use it in GitHub Desktop.
Save bandicoot86/b878aaa1f30fa4fe5dcc to your computer and use it in GitHub Desktop.
Install nodejs on CentOs
yum install gcc gcc-c++
yum install autoconf automake make
yum install curl
yum install openssl-devel
wget http://nodejs.org/dist/v0.10.17/node-v0.10.17.tar.gz
tar zxvf node-v0.10.17.tar.gz
cd node-v0.10.17
./configure
make CFLAGS+=-fno-builtin-memcpy CXXFLAGS+=-fno-builtin-memcpy V=1
make install
@bandicoot86
Copy link
Author

make install CFLAGS+=-O2 CXXFLAGS+=-O2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment