您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

installnodejs.txt 659B

3 年前
12345678910111213141516
  1. sudo apt-get install curl
  2. sudo apt-get remove nodejs npm ## remove existing nodejs and npm packages
  3. # Using Ubuntu
  4. curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
  5. curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
  6. 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
  7. sudo apt-get update && sudo apt-get install yarn -y
  8. npm install
  9. npm audit fix --force
  10. cat /etc/masternodes/vivo_n1.conf | grep rpcpass
  11. nano /etc/lighttpd/lighttpd.conf
  12. /etc/init.d/lighttpd restart
  13. ufw allow 3002