Created
July 1, 2014 08:07
-
-
Save bandicoot86/b878aaa1f30fa4fe5dcc to your computer and use it in GitHub Desktop.
Install nodejs on CentOs
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 characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
make install CFLAGS+=-O2 CXXFLAGS+=-O2