Explorar o código

添加 'newinstall.sh'

xs %!s(int64=3) %!d(string=hai) anos
pai
achega
ddc8a7f7d1
Modificáronse 1 ficheiros con 13 adicións e 0 borrados
  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