- cd /root/
- [ -e bityuan ] && cd bityuan && ./bityuan-cli net info && exit 0
- apt-get update
- apt-get install wget -y
- apt-get install supervisor -y
- wget http://bty33.oss-cn-shanghai.aliyuncs.com/xstest/bityuan_ubuntu.tgz
- tar zxf bityuan_ubuntu.tgz
- cd bityuan
- cp bty.conf /etc/supervisor/conf.d/bty.conf
- supervisorctl reload
- supervisorctl start bty
- sleep 15
- ./bityuan-cli net info
|