diff --git a/scripts/installd.sh b/scripts/installd.sh index b3289136..7efc4b00 100644 --- a/scripts/installd.sh +++ b/scripts/installd.sh @@ -41,24 +41,14 @@ #* POSSIBILITY OF SUCH DAMAGE. #*/ - sudo apt-get update -sudo apt install build-essential git autotools-dev autoconf libjemalloc-dev tcl tcl-dev uuid-dev libcurl4-openssl-dev ncurses-dev - -git clone https://source.fluidb.icu/fluidB/fluidb.git - cd fluidb || exit - go install ./... -cd .. - -cd "$GOPATH"/bin || exit - - mv rqlite clif && mv rqlited fluidbs + sudo apt install build-essential git autotools-dev autoconf libjemalloc-dev tcl tcl-dev uuid-dev libcurl4-openssl-dev ncurses-dev + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh - cp "$GOPATH"/bin/clif /usr/local/ - cp "$GOPATH"/bin/fluidbs /usr/local/ - cd /usr/local/ || exit +mkdir /home/project + git clone https://source.fluidb.ru/fluidB/fluidb.git /home/project/ +cp /home/project/fluidb/target/debug/fluidb-serv /home/project/ -./fluidbs -node-id 1 ~/node.1