Prerequisites

October 31, 2022 ยท View on GitHub

  • CentOS (7.0+) or Rockylinux / AlmaLinux, Debian (9/Stretch+ -- untested) or Ubuntu (16.04+ -- untested) server. This playbook can take over your whole server or co-exist with other services that you have there.

  • root access to your server (or a user capable of elevating to root via sudo).

  • Python being installed on the server. Most distributions install Python by default, but some don't

  • the Ansible program being installed on your own computer. It's used to run this playbook and configures your server for you

  • git is the recommended way to download the playbook to your computer

  • Properly configured DNS records for <your-domain> (details in Configuring DNS).

  • nextcloud.<your-domain> domain name pointing to your new server - this is where the Nextcloud server will live

  • Some TCP ports open. This playbook (actually Docker itself) configures the server's internal firewall for you. In most cases, you don't need to do anything special. But if your server is running behind another firewall, you'd need to open these ports:

    • 80/tcp: HTTP webserver
    • 443/tcp: HTTPS webserver

This playbook somewhat supports running on non-amd64 architectures like ARM. See Alternative Architectures.

When ready to proceed, continue with Configuring DNS.