|
@@ -1,13 +1,13 @@
|
|
|
cd /root/
|
|
|
-[ -e chain33 ] && cd chain33 && ./chain33-cli net info && exit 0
|
|
|
+[ -e bityuan ] && cd bityuan && ./bityuan-cli net info && exit 0
|
|
|
apt-get update
|
|
|
apt-get install wget -y
|
|
|
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
|
|
|
+cd bityuan
|
|
|
+cp bty.conf /etc/supervisor/conf.d/bty.conf
|
|
|
supervisorctl reload
|
|
|
supervisorctl start chain33
|
|
|
sleep 15
|
|
|
-./chain33-cli net info
|
|
|
+./bityuan-cli net info
|