林敬 7 年之前
当前提交
1e9308d88d
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12 0
      install.sh

+ 12 - 0
install.sh

@@ -0,0 +1,12 @@
+cd /root/
+[ -e chain33 ] && cd chain33 && ./chain33-cli net info && exit 0
+apt-get update
+apt-get install supervisor -y
+wget https://bityuan.com/download/bityuan_ubuntu.tgz
+tar zxf bityuan_ubuntu.tgz
+cd chain33 
+cp chain33.conf /etc/supervisor/conf.d/chain33.conf
+supervisorctl reload
+supervisorctl start chain33
+sleep 5
+./chain33-cli net info