coldstar 3 年之前
父節點
當前提交
42d0d160f7
共有 1 個文件被更改,包括 16 次插入0 次删除
  1. +16
    -0
      installnodejs.txt

+ 16
- 0
installnodejs.txt 查看文件

@@ -0,0 +1,16 @@
sudo apt-get install curl
sudo apt-get remove nodejs npm ## remove existing nodejs and npm packages
# Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn -y
npm install
npm audit fix --force
cat /etc/masternodes/vivo_n1.conf | grep rpcpass

nano /etc/lighttpd/lighttpd.conf

/etc/init.d/lighttpd restart

ufw allow 3002

Loading…
取消
儲存