|
@@ -1,13 +0,0 @@
|
|
|
-cd /33cn
|
|
|
-[ -e bityuan ] && cd bityuan && ./bityuan-cli net info && exit 0
|
|
|
-apt-get update
|
|
|
-apt-get install wget -y
|
|
|
-apt-get install supervisor -y
|
|
|
-wget http://bty33.oss-cn-shanghai.aliyuncs.com/xstest/33cn/6.7.1/bityuan_ubuntu.tgz
|
|
|
-tar zxf bityuan_ubuntu.tgz
|
|
|
-cd bityuan
|
|
|
-cp bty.conf /etc/supervisor/conf.d/bty.conf
|
|
|
-supervisorctl reload
|
|
|
-supervisorctl start bty
|
|
|
-sleep 15
|
|
|
-./bityuan-cli net info
|