2014-08-24 22:03:43 +02:00
..
2014-08-24 22:03:43 +02:00
2014-06-13 16:11:43 +02:00
2014-08-22 17:00:20 +02:00
pre
2014-08-18 14:40:08 +02:00
2014-08-24 22:03:43 +02:00
exp
2013-05-21 11:27:20 +08:00
2014-04-09 19:24:15 +08:00

Installing development version

$ npm install git://github.com/Unitech/pm2.git#development -g

Redhat

$ sudo yum install git wget emacs
$ sudo yum groupinstall "Development Tools"
$ wget -qO- https://raw.github.com/creationix/nvm/master/install.sh | sh
$ # put .bash_profile content to .bashrc
$ source .bashrc
$ nvm install v0.11.10
$ nvm alias default 0.11.10
$ npm install pm2 -g
$ # OR
$ npm install git://github.com/Unitech/pm2.git#development -g

CentOS

$ yum install git wget emacs
$ wget -qO- https://raw.github.com/creationix/nvm/master/install.sh | sh
$

Remove init script

sudo update-rc.d -f pm2-init.sh remove

$ chkconfig --del pm2-init.sh
$ chkconfig --add pm2-init.sh

gyp WARN EACCES user "root" does not have permission to create dev dir : https://github.com/TooTallNate/node-gyp/issues/126 -> add --unsafe-perm