echo-e"${GREEN_DARK}To access ${productName}${NC}: use ${GREEN_UNDERLINE}${clientName} -h $serverFqdn${NC} in shell OR from ${GREEN_UNDERLINE}http://127.0.0.1:${web_port}${NC}"
echo-e"${GREEN_DARK}To access ${productName2}${NC}: use ${GREEN_UNDERLINE}${clientName2} -h $serverFqdn${NC} in shell OR from ${GREEN_UNDERLINE}http://127.0.0.1:${web_port}${NC}"
else
echo-e"${GREEN_DARK}To access ${productName}${NC}: use ${GREEN_UNDERLINE}${clientName} -h $serverFqdn${NC} in shell${NC}"
echo-e"${GREEN_DARK}To access ${productName2}${NC}: use ${GREEN_UNDERLINE}${clientName2} -h $serverFqdn${NC} in shell${NC}"
fi
if((${prompt_force}== 1));then
...
...
@@ -856,13 +887,13 @@ function updateProduct() {
echo-e"${RED}Please run '${serverName} --force-keep-file' at first time for the exist ${productName}$exist_version!${NC}"
fi
echo
echo-e"\033[44;32;1m${productName} is updated successfully!${NC}"
echo-e"\033[44;32;1m${productName2} is updated successfully!${NC}"
else
install_bin
install_config
echo
echo-e"\033[44;32;1m${productName} client is updated successfully!${NC}"
echo-e"\033[44;32;1m${productName2} client is updated successfully!${NC}"
fi
rm-rf$(tar-tf${tarName} | grep-v"^\./$")
...
...
@@ -876,7 +907,7 @@ function installProduct() {
fi
tar-zxf${tarName}
echo-e"${GREEN}Start to install ${productName}...${NC}"
echo-e"${GREEN}Start to install ${productName2}...${NC}"
install_main_path
...
...
@@ -965,7 +996,7 @@ serverFqdn=$(hostname)
if["$verType"=="server"];then
# Check default 2.x data file.
if[-x${data_dir}/dnode/dnodeCfg.json ];then
echo-e"\033[44;31;5mThe default data directory ${data_dir} contains old data of tdengine 2.x, please clear it before installing!\033[0m"
echo-e"\033[44;31;5mThe default data directory ${data_dir} contains old data of ${productName2} 2.x, please clear it before installing!\033[0m"
ConfirmUninstall=Do you really want to uninstall TDengine from your computer?%n%nPress [Y] to completely delete %1 and all its components;%nPress [N] to keep the software on your computer.
ConfirmUninstall=Do you really want to uninstall {#CusName} from your computer?%n%nPress [Y] to completely delete %1 and all its components;%nPress [N] to keep the software on your computer.