2014-05-13 15:56:13 +02:00
..
2014-04-08 19:58:26 +02:00
2014-02-20 12:22:29 +07:00
2014-05-13 15:56:13 +02:00
2014-04-12 15:43:59 +02:00
exp
2013-05-21 11:27:20 +08:00
2013-10-15 13:11:05 +02:00
2014-04-09 19:24:15 +08:00
2014-05-05 17:25:59 +02:00
2014-05-13 15:56:13 +02:00
2014-05-13 15:27:39 +02: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