Machine setup for the Nextcloud VM
- Size when mounted: 20 GB (pre-allocated for better performance)
Can be extended
- 2 GB RAM (editable)
- 1 processor, 2 cores (editable)
- Ubuntu Server 16.04 LTS 64-bit
- Apache 2.4
- MariaDB 10.2 (or PostgreSQL 9.6)
- PHP 7
- Linux Kernel: 4.4
- 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 MariaDB / 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.
- phpMyadmin (or phpPGadmin) is installed (if you select it) for easier MySQL/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/phpmyadmin.conf
- Redis Memcache is configured with socket instead of localhost – Server version 3.7, Latest PHP Module. 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, Passman, Collabora, Onlyoffice, NetData, Full-Text-Search is installed if you choose to in the startup script.
- Nextcloud 13.0.1 (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.