How to install Nextcloud on any VPS or Container Easily!

On a clean Ubuntu 20.04 virtual machine or container simply download and run the script.

First make sure a sudo user is created

adduser newuser

Then make the user part of the sudo group with sudo privileges.

usermod -aG sudo newuser

Switch to new user

su newuser

Download installation script

wget https://raw.githubusercontent.com/nextcloud/vm/master/nextcloud_install_production.sh

If running in a VM or CT with less than 2GB of RAM open the script and edit out the ram check and CPU check.

nano nextcloud_install_production.sh

run the install script

sudo bash nextcloud_install_production.sh

Follow the prompts and you will finish with a full install of Nextcloud and available mods! 🎉👏