瀏覽代碼

pm2 setup for linux

pull/18/head
Jeffery Mendis 9 月之前
父節點
當前提交
626aa1d084
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      linux/centos/elxr/setup.sh

+ 3
- 3
linux/centos/elxr/setup.sh 查看文件

@@ -424,11 +424,11 @@ chronyc tracking

# If pm2 command not found
# Step 1
npm config get prefix
# npm config get prefix
# Step 2
# Might give a path like /usr/local/lib/node-v20.8.0-linux-x64
# Append path with /bin
export PATH=$PATH:/usr/local/lib/node-v20.8.0-linux-x64/bin
# export PATH=$PATH:/usr/local/lib/node-v20.8.0-linux-x64/bin
# Step 3
# Check pm2
pm2
# pm2

Loading…
取消
儲存