lab
lab copied to clipboard
[Nextcloud] quick install script
I wrote the (bash) script mainly to save time in future for testing purposes.
I'm not sure if this script will make it into the official lab guide but at least I want to make it public in this way to those of you who might be interested. I think it would be better if such a script is under control of the Uberspace team for support and quality reasons.
There are also Ansible playbooks out there, but by their very nature, they're not easy to read for newbies, so I avoid it.
The lab guide is condensed into a script so Nextcloud can be installed in less than 3 minutes by executing only one command and setting the admin user credentials. ~~There is currently an additional option to add a domain, maybe just stick to $USER.uber.space?~~ (removed custom domain dialog to simplify the interaction)
The following components will be set up and installed automatically:
- php settings
- sendmail email settings
- cronjob
- prettier URLs without index.php
- Memcaching with redis and APCu
- Client Push (notify_push)
- nextcloud-update script
- the default phone region will be set to
DE
, you may change it after the installation to a different setting
Connect via SSH to your Uberspace an then run:
bash -c "$(wget -q -O - https://github.com/EV21/uberspace-helper/raw/main/nextcloud-installer.sh)"
Demo
https://user-images.githubusercontent.com/8345730/154812905-970c649d-4360-4846-961c-1d8363d662f2.mp4