better explanation about changing servername in final message

This commit is contained in:
André Bauer 2017-04-23 11:58:17 +02:00
parent 80a516fc82
commit 3d811427ee

View file

@ -235,12 +235,13 @@ function update_or_install () {
function final_message () {
echo -e "####################################################################################"
echo -e "\nAdd your FQDN to servername directive in ${WEBSERVER_CONF}"
echo -e "and restart your webserver if you're not testing locally"
echo -e "or open http://localhost/ in your browser to start using Zammad.\n"
echo -e "\nAdd your fully qualified domain name or public IP to servername directive of"
echo -e "${WEBSERVER}, if this installation is done on a remote server. You have to change:"
echo -e "${WEBSERVER_CONF} and restart ${WEBSERVER_CMD} process."
echo -e "Otherwise just open http://localhost/ in your browser to start using Zammad.\n"
if [ "${OS}" == "REDHAT" ]; then
echo -e "\n Remember to enable selinux and firewall rules!\n"
echo -e "Use the follwing commands:"
echo -e "Use the following commands:"
echo -e " setsebool httpd_can_network_connect on -P"
echo -e " firewall-cmd --zone=public --add-service=http --permanent"
echo -e " firewall-cmd --zone=public --add-service=https --permanent"