/notebook/nextcloud-install

Nextcloud Installation


  1. Prerequisites

    bash sudo apt install -y openssh-server net-tools

  2. Install

    bash sudo snap install nextcloud

  3. Configure

    bash 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

    bash sudo nextcloud.occ config:system:set trusted_domains 1 --value=<example.com>

    bash sudo nextcloud.occ config:system:set trusted_domains 1 --value=192.168.0.219

  5. certificate

    open up some ports

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

    select which encryption method

    bash sudo nextcloud.enable-https lets-encrypt

    bash sudo nextcloud.enable-https self-signed

  6. Go to the website, sign on as admin, and continue configuring.

Warning

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

Workaround:

https://github.com/nextcloud-snap/nextcloud-snap/wiki/Change-data-directory-to-use-another-disk-partition

External References

Nextcloud Integration

With Thunderbird

Google Calendar

About

I am an engineer and educator, having spent ten years as a professor. My goal is to help you build your knowledge of design and technology, get your hardware working, and propel your startup or small business. Get in touch!