- Clone the Repro:
git clone https://github.com/AlexP38/Nextcloudinstaller
cd Nextcloudinstaller
- If you need a reverse Proxy and haven't already installed one, run the following script first:
(Otherwise you need either a lxd container with running apache, certbot and python3-certbot-apache (also dont forget to forward http and https ports to this reverse-Proxy) or apache, certbot and python3-certbot-apache running on the host as proxy. The script will insert automatically a vhost into apache to activate the proxy and also request a certificate for https using certbot.
sh create-reverse-proxy-container.sh
- To create a new Nextcloud with Collabora run this script: (The script will ask you about Setup-Details.)
sh create-lxd-container-with-nextcloud-and-collabora.sh
After this script your Nextcloud is ready to use. No more action is required.
Only if you use special firewall-Rules make sure to allow using Port 443 for the containers.
To automatically delete the Container(s) and Apache-Config run this (CAN'T BE UNDONE!!!):
sh DeleteContainer.sh