diff options
Diffstat (limited to 'install.sh')
-rw-r--r-- | install.sh | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -53,9 +53,19 @@ install_script ncp.sh activate_script etc/ncp-config.d/nc-init.sh popd + +IFACE="$( ip r | grep "default via" | awk '{ print $5 }' | head -1 )" +IP="$( ip a show dev "$IFACE" | grep global | grep -oP '\d{1,3}(.\d{1,3}){3}' | head -1 )" + echo "Done. -Type 'sudo ncp-config' to configure NCP, or access ncp-web on https://<this_ip>:4443 +First: Visit https://$IP/ https://nextcloudpi.local/ (also https://nextcloudpi.lan/ or https://nextcloudpi/ on windows and mac) +to activate your instance of NC, and save the auto generated passwords. You may review or reset them +anytime by using nc-admin and nc-passwd. +Second: Type 'sudo ncp-config' to further configure NCP, or access ncp-web on https://$IP:4443/ +Note: You will have to add an exception, to bypass your browser warning when you +first load the activation and :4443 pages. You can run letsencrypt to get rid of +the warning if you have a (sub)domain available. " exit 0 |