install node.js on CentOS6.4
(1)openssl,python
$ yum install openssl-devel
$ yum install python
(2)gcc
$ yum install gcc
$ yum install yum install gcc-c++
(3)node.js
$ tar xvzf node-v0.2.6.tar.gz
$ cd node-v0.2.6
$ ./configure
$ make
$ sudo make install
(4)npm
$ curl http://npmjs.org/install.sh | sh
(5)MySQL
$ yum -y install mysql-server
(6)modules
$ npm install mysql
$ npm install express
$ npm install ejs
$ yum install openssl-devel
$ yum install python
(2)gcc
$ yum install gcc
$ yum install yum install gcc-c++
(3)node.js
$ tar xvzf node-v0.2.6.tar.gz
$ cd node-v0.2.6
$ ./configure
$ make
$ sudo make install
(4)npm
$ curl http://npmjs.org/install.sh | sh
(5)MySQL
$ yum -y install mysql-server
(6)modules
$ npm install mysql
$ npm install express
$ npm install ejs
コメント