Newer
Older
nc-env / templates / template09-web-server-node / Readme.md

Stand-alone Nextcloud server

Setup

  • Assuming that the copy of the template is called nc-instance, move to folder nc-instance.
  • Check the content of folder artifacts
File name Description
nextcloud-X.Y.Z.tar.bz2 The installer archive to be downloaded from here
nextcloud-X.Y.Z.tar.bz2.md5 md5 signature of the installer archive to be downloaded from here
nextcloud.conf Apache Web Server main configuration file
data-nextcloud.mount Mount systemd service for the GlusterFS filesystem
  • Create folder log
  • Open Vagrantfile and change the value of variable lxd.name. It makes sense to give the same name as the folder, in this example nc-instance.
  • Open provision.sh
    • change the value of variable MACHINE_HOSTNAME. It makes sense to give the same name as the folder, plus the domain, in this example nc-instance.localenv.com.
    • change the value of variable NEXTCLOUD_INSTALLER_ARCHIVE to match the name of the installer archive you are using.
  • Run vagrant up > log/provisioning.log
  • Make sure your system is able to resolve the domain name that you specified in variable MACHINE_HOSTNAME, for example by adding an entry in /etc/hosts
  • Start using your environment