In the past, I've messed round with installing, SQL, Apache and so on, I thought I'd give the Ubuntu snap package a go.
I've run up Ubuntu 20.04 server, installed SSH onto it so I can manage it from command line and next it was time to install NextCloud.
sudo snap install nextcloud
That's it, it's done and installed, just a few more things to get it working properly and securely with ssl enabled.
Adjust the memory limits with:
sudo snap set nextcloud php.memory-limit=-1
Tell it which ports to listen to with:
sudo snap set nextcloud ports.http=80 ports.https=443
Restart Apache with:
systemctl restart snap.nextcloud.apache
Configure https and install lets encrypt with:
sudo nextcloud.enable-https lets-encrypt
Finish off the configuration by pointing your web browser at the dynamic domain you have set up for it.
https://domaine.name or https://ipaddress
The final configuration is done via web browser.
It really was that easy
No comments:
Post a Comment