Преглед на файлове

add install-lite.sh 安装采集版本

linj-disanbo преди 6 години
родител
ревизия
c8cd5f79a9
променени са 1 файла, в които са добавени 13 реда и са изтрити 0 реда
  1. 13 0
      install-lite.sh

+ 13 - 0
install-lite.sh

@@ -0,0 +1,13 @@
+cd /root/
+[ -e chain33 ] && cd chain33 && ./chain33-cli net info && exit 0
+apt-get update
+apt-get install wget -y
+apt-get install supervisor -y
+wget https://bityuan.com/download/bityuan_ubuntu-lite.tgz
+tar zxf bityuan_ubuntu-lite.tgz
+cd chain33 
+cp chain33.conf /etc/supervisor/conf.d/chain33.conf
+supervisorctl reload
+supervisorctl start chain33
+sleep 15
+./chain33-cli net info