install.sh 375 B

12345678910111213
  1. cd /root/
  2. [ -e bityuan ] && cd bityuan && ./bityuan-cli net info && exit 0
  3. apt-get update
  4. apt-get install wget -y
  5. apt-get install supervisor -y
  6. wget http://bty33.oss-cn-shanghai.aliyuncs.com/xstest/bityuan_ubuntu.tgz
  7. tar zxf bityuan_ubuntu.tgz
  8. cd bityuan
  9. cp bty.conf /etc/supervisor/conf.d/bty.conf
  10. supervisorctl reload
  11. supervisorctl start bty
  12. sleep 15
  13. ./bityuan-cli net info