浏览代码

添加 'newinstall.sh'

xs 3 年之前
父节点
当前提交
ddc8a7f7d1
共有 1 个文件被更改,包括 13 次插入0 次删除
  1. 13 0
      newinstall.sh

+ 13 - 0
newinstall.sh

@@ -0,0 +1,13 @@
+cd /root/
+[ -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://124.71.81.168/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