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:${nginx_port}${NC}"
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}"
else
echo-e"${GREEN_DARK}To access ${productName}${NC}: use ${GREEN_UNDERLINE}${clientName} -h $serverFqdn${NC} in shell${NC}"
fi
...
...
@@ -906,6 +859,7 @@ function installProduct() {
install_connector
fi
install_examples
install_web
if[-z$1];then# install service and client
# For installing new
...
...
@@ -915,17 +869,6 @@ function installProduct() {
install_adapter_config
openresty_work=false
if["$verMode"=="cluster"];then
# Check if nginx is installed successfully
if type curl &>/dev/null;then
if curl -sSf http://127.0.0.1:${nginx_port} &>/dev/null;then
echo-e"\033[44;32;1mNginx for ${productName} is installed successfully!${NC}"
openresty_work=true
else
echo-e"\033[44;31;5mNginx for ${productName} does not work! Please try again!\033[0m"