Sfoglia il codice sorgente

添加 'newinstall.sh'

xs 3 anni fa
parent
commit
ddc8a7f7d1
1 ha cambiato i file con 13 aggiunte e 0 eliminazioni
  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