Last active
August 29, 2015 14:26
-
-
Save devhero/27b35bf53d352f787282 to your computer and use it in GitHub Desktop.
install nodejs centos - https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-a-centos-7-server
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
# INSTALL FROM BINARIES | |
wget https://nodejs.org/dist/v0.12.7/node-v0.12.7-linux-x64.tar.gz | |
sudo tar --strip-components 1 -xzvf node-v* -C /usr/local | |
# EPEL RELEASE | |
sudo yum install epel-release | |
sudo yum install nodejs | |
# COMPILE | |
wget https://nodejs.org/dist/v0.12.7/node-v0.12.7.tar.gz | |
tar xzvf node-v* && cd node-v* | |
sudo yum install gcc gcc-c++ | |
./configure | |
make | |
sudo make install | |
# CHECK | |
node --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment