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 when SSL is generated with Let’s Encrypt through our scripts.
  • Cron.php runs every 15 minutes.
  • A random MySQL 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 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.
  • Both Collabora Online and OnlyOffice can be installed by choosing one of them during the first setup.
  • SMTP mail already configured with a Gmail account. (Change this to your own)
  • Pre-activated virtual host that you can edit to suit your config.
  • Contacts, and Calendar are pre-installed apps. SpreedME, Passman, Collabora and Nextant is installed if you choose to in the startup script.
  • Nextcloud 12.0.3 (stable)
    Update by typing:

    :~$ sudo bash /var/scripts/

    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.

Please read our FAQ for further info. And please, report bugs if you find any.


You don’t think 20 GB is enough? Expand your VM, this is how to do it.