install-lite.sh 379 B

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