firemail

标题: Wild Duck Installer install.sh [打印本页]

作者: java    时间: 2017-12-12 09:36
标题: Wild Duck Installer install.sh
https://github.com/nodemailer/wildduck/tree/master/setup

  1. userdel wildduck
  2. rm -fr /var/opt/wildduck.git
  3. rm -fr /opt/wildduck
  4. ln -s /usr/bin/nodejs /usr/bin/node
  5. apt-get install curl  

  6. wget https://nodejs.org/download/release/latest/node-v9.2.1-linux-x64.tar.gz
  7. tar -zxvf node-v9.2.1-linux-x64.tar.gz
  8. mv node-v9.2.1-linux-x64 /usr/local/node
  9. cd /usr/local/node/bin
  10. ./node -v
  11. vim ~/.bashrc
  12. 在文件末尾,添加两行
  13. export NODE=/usr/local/node
  14. export PATH=${NODE}/bin:$PATH
  15. 执行命令source ~/.bashrc。


  16. ln -s /usr/local/node/bin/npm /usr/bin/npm
  17. ln -s /usr/bin/nodejs /usr/bin/node

  18. apt-get install dbus
  19. /etc/init.d/dbus start
  20. /etc/init.d/nginx start


  21. $ wget https://raw.githubusercontent.com/nodemailer/wildduck/master/setup/install.sh
  22. $ chmod +x install.sh
  23. $ ./install.sh 9801a89a41a8
复制代码





欢迎光临 firemail (http://firemail.wang:8088/) Powered by Discuz! X3