Please look first at the playbooks downloaded and run by the nextcloud-install.sh to understand whats going on and then decide if it is fine for you to run on your system.
This is needed for Downloading the Software, access to the Server from the Internet and the automatized creation of SSL-Certificates via letsencrypt.
- You need up-to-date Debian System preinstalled. Best with SSH-Connection. Maybe its working on debian-based Systems like Ubuntu too.
- Your System should have a working Internet-Access
- Your Machines hostname and subdomains should be accessible from the internet Port 80/443.
Depending on your local setup you have to define nedded IPv4 (Portforwarding) or IPv6 settings on your router and maybe you need a service like dynDNS e.B. from (deSEC - https://desec.io/) for your dynamic IP.
You can check this for example woth the following command:
```
host nextcloud.$(hostname)
```
Change the hostname with the following command for example with dedyn/deSEC to myhost.dedyn.io: