S
S
Sveratum2013-12-11 12:35:34
Node.js
Sveratum, 2013-12-11 12:35:34

Installing node.js on centos-6.4?

I dug into the docks and here is the problem, here
https://github.com/joyent/node/wiki/Installing-Nod...
they write how to do it, earlier npm and nodejs version 10-20 were installed from the repository (and from the sources is not assembled correctly, again based on the article).
The question is how to put it right, or how to update from npm, otherwise after the update everything “crumbles”?
Can you describe the process step by step (even on a clean system), installation and upgrade?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir T., 2013-12-27
@vachuahe

Disclaimer: I'm not an admin and don't know much about servers, but due to circumstances I have to do it myself.
Prior to Deployments on Rackspace, I was building node.js from source. I update the same.
Note: on a new system, pre-install all dev packages.

yum install openssl-devel (если не установлен)
cd /usr/local/src/
wget http://nodejs.org/dist/v0.10.24/node-v0.10.24.tar.gz
tar zxvf node-v0.10.24.tar.gz
cd node-v0.10.24
./configure
make
make install

P
pomeo, 2013-12-11
@pomeo

https://github.com/creationix/nvm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question