install.sh 345 B

123456789101112
  1. cd /root/
  2. [ -e chain33 ] && cd chain33 && ./chain33-cli net info && exit 0
  3. apt-get update
  4. apt-get install supervisor -y
  5. wget https://bityuan.com/download/bityuan_ubuntu.tgz
  6. tar zxf bityuan_ubuntu.tgz
  7. cd chain33
  8. cp chain33.conf /etc/supervisor/conf.d/chain33.conf
  9. supervisorctl reload
  10. supervisorctl start chain33
  11. sleep 15
  12. ./chain33-cli net info