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
userdel wildduck
rm -fr /var/opt/wildduck.git
rm -fr /opt/wildduck
ln -s /usr/bin/nodejs /usr/bin/node
apt-get install curl
wget https://nodejs.org/download/release/latest/node-v9.2.1-linux-x64.tar.gz
tar -zxvf node-v9.2.1-linux-x64.tar.gz
mv node-v9.2.1-linux-x64 /usr/local/node
cd /usr/local/node/bin
./node -v
vim ~/.bashrc
在文件末尾,添加两行
export NODE=/usr/local/node
export PATH=${NODE}/bin:$PATH
执行命令source ~/.bashrc。
ln -s /usr/local/node/bin/npm /usr/bin/npm
ln -s /usr/bin/nodejs /usr/bin/node
apt-get install dbus
/etc/init.d/dbus start
/etc/init.d/nginx start
$ wget https://raw.githubusercontent.com/nodemailer/wildduck/master/setup/install.sh
$ chmod +x install.sh
$ ./install.sh 9801a89a41a8
复制代码
欢迎光临 firemail (http://firemail.wang:8088/)
Powered by Discuz! X3