echo-e"${yellow}Warning: If this system is connected to a router and/or behind a NAT, please be sure that the private (internal) IP address is static before continuing.${NC} For routers, static internal IP addresses are usually assigned via DHCP reservation. See your routers user guide for more info… You will also need to forward some ports depending on what software you choose to install:\n\tTCP Ports\n\t\t20\t- FTP\n\t\t21\t- FTP\n\t\t22\t- SSH/SFTP\n\t\t25\t- Mail (SMTP)\n\t\t53\t- DNS\n\t\t80\t- Web (HTTP)\n\t\t110\t- Mail (POP3)\n\t\t143\t- Mail (IMAP)\n\t\t443\t- Web (HTTPS)\n\t\t465\t- Mail (SMTPS)\n\t\t587\t- Mail (SMTP)\n\t\t993\t- Mail (IMAPS)\n\t\t995\t- Mail (POP3S)\n\t\t3306\t- Database\n\t\t5222\t- Chat (XMPP)\n\t\t8080\t- ISPConfig\n\t\t8081\t- ISPConfig\n\t\t10000\t- ISPConfig\n\n\tUDP Ports\n\t\t53\t- DNS\n\t\t3306\t- Database\n" | fold-s-w"$COLUMNS"
echo-e"${orange}Warning: If this system is connected to a router and/or behind a NAT, please be sure that the private (internal) IP address is static before continuing.${NC} For routers, static internal IP addresses are usually assigned via DHCP reservation. See your routers user guide for more info… You will also need to forward some ports depending on what software you choose to install:\n\tTCP Ports\n\t\t20\t- FTP\n\t\t21\t- FTP\n\t\t22\t- SSH/SFTP\n\t\t25\t- Mail (SMTP)\n\t\t53\t- DNS\n\t\t80\t- Web (HTTP)\n\t\t110\t- Mail (POP3)\n\t\t143\t- Mail (IMAP)\n\t\t443\t- Web (HTTPS)\n\t\t465\t- Mail (SMTPS)\n\t\t587\t- Mail (SMTP)\n\t\t993\t- Mail (IMAPS)\n\t\t995\t- Mail (POP3S)\n\t\t3306\t- Database\n\t\t5222\t- Chat (XMPP)\n\t\t8080\t- ISPConfig\n\t\t8081\t- ISPConfig\n\t\t10000\t- ISPConfig\n\n\tUDP Ports\n\t\t53\t- DNS\n\t\t3306\t- Database\n" | fold-s-w"$COLUMNS"
# read -p "Would you like to update the hostname for this system? (recommended) (y/n) " -n 1 -r
echo-n"Would you like to update the hostname for this system? (recommended) (y/n) "
read-n 1 -r
...
...
@@ -256,7 +256,7 @@ if VM=$(systemd-detect-virt -v); then
echo-e"Virtual Machine (VM) hypervisor:\t$VM\n"
fi
if uname-r | grep-iq"microsoft";then
echo-e"${yellow}Warning: The Windows Subsystem for Linux (WSL) is not yet fully supported by this script.${NC}"
echo-e"${orange}Warning: The Windows Subsystem for Linux (WSL) is not yet fully supported by this script.${NC}"
echo-e"For more information, see this issue: https://github.com/servisys/ispconfig_setup/issues/176\n"
fi
if[-n"$DISTRO"];then
...
...
@@ -385,8 +385,8 @@ if [ -f /etc/debian_version ]; then
echo-e"\n${green}Well done! ISPConfig installed and configured correctly :D${NC} 😃"
echo-e"\nNow you can access to your ISPConfig installation at: ${underlined}https://$CFG_HOSTNAME_FQDN:$CFG_ISPONCFIG_PORT${NC} or ${underlined}https://${IP_ADDRESS[0]}:$CFG_ISPONCFIG_PORT${NC}"
echo-e"The default ISPConfig Username is: ${bold}admin${NC}\n\t and the Password is: ${bold}$CFG_ISPONCFIG_ADMIN_PASS${NC}"
echo-e"${yellow}Warning: This is a security risk. Please change the default password after your first login.${NC}"
echo-e"The ISPConfig Username is: ${bold}admin${NC}\n\t and the Password is: ${bold}$CFG_ISPONCFIG_ADMIN_PASS${NC}"
#echo -e "${orange}Warning: This is a security risk. Please change the default password after your first login.${NC}"
#echo "plese run manual certbot and service nginx restart"
echo-e"\n${green}Well done! ISPConfig installed and configured correctly :D${NC} 😃"
echo-e"\nNow you can access to your ISPConfig installation at: ${underlined}https://$CFG_HOSTNAME_FQDN:$CFG_ISPONCFIG_PORT${NC} or ${underlined}https://${IP_ADDRESS[0]}:$CFG_ISPONCFIG_PORT${NC}"
echo-e"The default ISPConfig Username is: ${bold}admin${NC}\n\t and the Password is: ${bold}$CFG_ISPONCFIG_ADMIN_PASS${NC}"
echo-e"${yellow}Warning: This is a security risk. Please change the default password after your first login.${NC}"
echo-e"${orange}Warning: This is a security risk. Please change the default password after your first login.${NC}"
echo-e"\n${red}If you setup Roundcube webmail go to: http://$CFG_HOSTNAME_FQDN/roundcubemail/installer and configure db connection${NC}"
echo-e"${red}After that disable access to installer in /etc/httpd/conf.d/roundcubemail.conf${NC}"