File tree Expand file tree Collapse file tree 5 files changed +22
-10
lines changed
Expand file tree Collapse file tree 5 files changed +22
-10
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2- wget --timestamping https://apache-doris-releases.oss-accelerate.aliyuncs.com/${DORIS_PACKAGE} .tar.gz
3- mkdir ${DORIS_PACKAGE}
4- tar -xvf ./${DORIS_PACKAGE} .tar.gz --strip-components 1 -C ./${DORIS_PACKAGE}
2+
3+ wget https://apache-doris-releases.oss-accelerate.aliyuncs.com/${DORIS_FULL_NAME} .tar.gz
4+ mkdir ${DORIS_FULL_NAME}
5+ tar -xvf ${DORIS_FULL_NAME} .tar.gz --strip-components 1 -C ${DORIS_FULL_NAME}
6+
7+ sudo apt-get update
8+ sudo apt-get install -y mysql-client openjdk-17-jre-headless # somehow _EXACTLY_ v17 is needed
Original file line number Diff line number Diff line change 11#! /bin/bash
2- export DORIS_PACKAGE=" apache-doris-3.0.5-bin-x64"
2+
3+ export DORIS_FULL_NAME=" apache-doris-3.0.5-bin-x64"
34
45DEFAULT_CHOICE=ask
56DEFAULT_DATA_DIRECTORY=~ /data/bluesky
@@ -82,4 +83,4 @@ case $CHOICE in
8283esac
8384
8485./stop.sh
85- # ./uninstall.sh
86+ ./uninstall.sh
Original file line number Diff line number Diff line change 11#! /bin/bash
2- ./${DORIS_PACKAGE} /be/bin/start_be.sh --daemon
3- ./${DORIS_PACKAGE} /fe/bin/start_fe.sh --daemon
42
3+ ${DORIS_FULL_NAME} /be/bin/start_be.sh --daemon
4+ ${DORIS_FULL_NAME} /fe/bin/start_fe.sh --daemon
5+
6+ echo " Sleep 30 sec"
57sleep 30s
68
79mysql -P 9030 -h 127.0.0.1 -u root -e " ALTER SYSTEM ADD BACKEND \" 127.0.0.1:9050\" ;"
810
11+ echo " Sleep 10 sec"
912sleep 10s
Original file line number Diff line number Diff line change 11#! /bin/bash
2- ./${DORIS_PACKAGE} /be/bin/stop_be.sh
3- ./${DORIS_PACKAGE} /fe/bin/stop_fe.sh
2+
3+ ${DORIS_FULL_NAME} /be/bin/stop_be.sh
4+ ${DORIS_FULL_NAME} /fe/bin/stop_fe.sh
Original file line number Diff line number Diff line change 11#! /bin/bash
2- rm -rf ./${DORIS_PACKAGE}
2+
3+ sudo apt-get remove -y mysql-client openjdk-17-jre-headless
4+
5+ rm -rf ${DORIS_FULL_NAME}
You can’t perform that action at this time.
0 commit comments