Skip to content

Nextcloud snap step by step

scubamuc edited this page May 25, 2024 · 8 revisions

Nextcloud snap, step by step

1. Usage and requirements

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

2. Network

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

3. Domain name and DNS

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.

4. HTTPS encryption with Lets Encrypt

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

Clone this wiki locally