This commit is contained in:
Mr Chen
2019-02-28 14:05:43 +08:00
parent 32b0a2f0a8
commit 7f485ba841
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -14,6 +14,8 @@ install_tmp=${rootPath}/tmp/bt_install.pl
Install_pm2()
{
echo '正在安装脚本文件...' > $install_tmp
yum install -y nodejs
curl -o- http://npmjs.org/install.sh | bash
npm install pm2 -g
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash