Machine setup for the Nextcloud VM
- Size when extracted: 20 GB (pre-allocated for better performance)
Can be extended
- 2 GB RAM (editable)
- 1 processor, 2 cores (editable)
- Ubuntu Server 16.04.1 LTS 64-bit
- Apache 2.4
- MySQL 5.7
- PHP 7
- Linux Kernel: 4.4.0-generic
- 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.
- 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 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 is pre-installed for easier MySQL 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, PHPModule 3.1.0
- Webmin is pre-installed for easy administration of the server.
- LibreOffice pre-installed and activated to be able to handle MS-documents.
- 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 is installed if you choose “yes” in the startup script.
- Nextcloud 11.0.1 (stable)
Update by typing:
:~$ sudo bash /var/scripts/update.sh
Or use the built in updater in Nextcloud GUI.
- Automatic updates with a bulit in script (works the same as ownCloud)
- The file is in .vmdk 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.