# echo -e "${GREEN_DARK}To access TDengine ${NC}: use ${GREEN_UNDERLINE}taos${NC} in shell OR from ${GREEN_UNDERLINE}http://127.0.0.1:${nginx_port}${NC}"
#else
# echo -e "${GREEN_DARK}To access TDengine ${NC}: use ${GREEN_UNDERLINE}taos${NC} in shell${NC}"
#fi
if[!-z"$firstEp"];then
tmpFqdn=${firstEp%%:*}
substr=":"
if[[$firstEp=~ $substr]];then
if[[$firstEp=~ $substr]];then
tmpPort=${firstEp#*:}
else
tmpPort=""
fi
if[["$tmpPort"!=""]];then
if[["$tmpPort"!=""]];then
echo-e"${GREEN_DARK}To access TDengine ${NC}: taos -h $tmpFqdn -P $tmpPort${GREEN_DARK} to login into cluster, then${NC}"
else
echo-e"${GREEN_DARK}To access TDengine ${NC}: taos -h $tmpFqdn${GREEN_DARK} to login into cluster, then${NC}"
...
...
@@ -1088,7 +954,6 @@ function install_TDengine() {
rm-rf$(tar-tf taos.tar.gz)
}
## ==============================Main program starts from here============================