Parcourir la source

添加 'newinstall.sh'

xs il y a 3 ans
Parent
commit
ddc8a7f7d1
1 fichiers modifiés avec 13 ajouts et 0 suppressions
  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