Machine setup for the Nextcloud VM
- Size when mounted:
40 GB ext4 (OS)
XX GB zfs (DATA)
Pre-allocated for better performance
- 2 GB RAM (editable)
- 1 processor, 2 cores (editable)
- Ubuntu Server 18.04 LTS 64-bit
- Apache 2.4
- PostgreSQL 10.3
- PHP 7.2
- Linux Kernel: 4.15
- SSL (self-signed) activated from start. It’s also possible to get a real SSL cert with Lets Encrypt. We wrote a script for that that’s included in the VM.
- SSL headers is activated and configured for better security + other improvements. Our VM gets A+ on scan.nextcloud.com when SSL is generated with Let’s Encrypt through our scripts.
- Cron.php runs every 15 minutes.
- A random PostgreSQL root password is generated when running the startup-script.
- Max upload is set to 1000 MB. Here is a guide if you want to change it. Please notice that nextcloud_update.sh automatically hashes out the default value in /var/www/nextcloud/.htaccess during update.
- Setup script included that takes care of the initial setup and change passwords etc.
- phpPGadmin is installed (if you select it) for easier PostgreSQL administration. Forbidden access by default for better security.
To change allowed IP or host, please edit the config file and make necessary changes: /etc/apache2/conf-enabled/phppgadmin.conf
- Redis Memcache is configured with socket instead of localhost – Server version 3.X. Password protected.
- Webmin is pre-installed for easy administration of the server.
- SMTP mail default setup
- Pre-activated virtual host that you can edit to suit your config, though we recommend SSL through Let’s Encrypt.
- Contacts, and Calendar are pre-installed apps. SpreedME, Talk, Passman, Collabora, Onlyoffice, NetData, Full-Text-Search is installed if you choose to in the startup script.
- Nextcloud 13.0.4 (stable)
Update by typing:
:~$ sudo bash /var/scripts/update.sh
You can not use the built in updater in Nextcloud GUI due to secure permissions on this VM.
- Automatic updates with a bulit in script (works the same as ownCloud)
- The file is in .ova format
- Network mode: Bridged mode (Another IP than the host)
Note: If you use VirtualBox you have to change to Bridged Mode manually as VirtualBox uses NAT as standard.
It’s all depending on how many users you want to have. You can run it on a Raspberry Pi if you want, so it’s not depending on that much hardware power.