1
0

newinstall.sh 440 B

123456789101112131415
  1. cd /33cn
  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 wget https://old.bityuan.com/download/bityuan_ubuntu.tgz
  7. tar zxf bityuan_ubuntu.tgz
  8. cd bityuan
  9. rm -rf bty.conf
  10. wget https://dev.33.cn/xs/installChain33/raw/master/bty.conf
  11. cp bty.conf /etc/supervisor/conf.d/bty.conf
  12. supervisorctl reload
  13. supervisorctl start bty
  14. sleep 15
  15. ./bityuan-cli net info