Nextcloud Installation

  1. Prerequisites

    sudo apt install openssh-server net-tools
  2. Install

    sudo snap install nextcloud
  3. Configure

    sudo nextcloud.manual-install <username> <password>
  4. Set Trusted Domain

    set it to the hostname that your server is at, or the ip it is at

    sudo nextcloud.occ config:system:set trusted_domains 1 --value=<>
    sudo nextcloud.occ config:system:set trusted_domains 1 --value=
  5. certificate

    open up some ports

    sudo ufw allow 22
    sudo ufw allow 80,443/tcp
    sudo ufw enable

    select which encryption method

    sudo nextcloud.enable-https lets-encrypt
    sudo nextcloud.enable-https self-signed
  6. Go to the website, sign on as admin, and continue configuring.


Hard to backup and manage files because snap data is stored in root.


External References

Nextcloud Integration

With Thunderbird

Google Calendar