-
-
Notifications
You must be signed in to change notification settings - Fork 216
Nextcloud snap step by step
You have decided to set up your own Nextcloud snap as a safe and secure home for your data, that's great!
Before getting started be aware of what you expect from your Nextcloud instance and what system requirements have to be met to fulfil your needs. Aside from the installation requirements there are various aspects you might consider;
- number of users
- storage & space requirements
- power consuption & efficiency
- network & connectivity
- backup & redundancy
- etc. ...
Plan your setup. Do some research, read the docs and the Wiki.
Continue with installation
Assuming a home network where the host running Nextcloud snap acquires a static IPv4 address from DHCP/router and the required ports 80 and 443 are enabled and internet facing, the routers public IPv4 address must be available via DNS (Domain Name System) request.
- static host IPv4 from DHCP/router
- enabled Ports 80 and 443 for IPv4 address
- DNS entry pointing to public IPv4 address
While some folks own a TLD (Top Level Domain) and will create a subdomain pointing to the host, like cloud.mydomain.com
, other folks may need a DDNS provider or DNS provider to acquire a domain name like cloud.mydomain.mydnsprovider.xyz
pointing to the routers public IPv4 address. That will be the address you enter into the browser to reach your Nextcloud instance.
There are plenty DNS providers out there to choose from. Some come at a price, some are free. Often you will have a choice of domain names, sometimes you have to take what is available. Do some research and make the right choice for you.
A DNS entry pointing to your public IPv4 address is a requirement for an SSL Certificate for HTTPS encryption.
The only thing we recommend you do up front is enable HTTPS. Nextcloud snap includes a service for automated HTTPS encryption using Lets Encrypt, or self-signed certificates.
Enable Lets Encrypt in Nextcloud snap:
- issue command in host shell
sudo nextcloud.enable-https lets-encrypt
- Enter email address and domain name to get your SSL certificate
Continue to configure Nextcloud snap
Nextcloud snap Wiki, use all information and scripts at own risk