How to install Nextcloud on any VPS or Container Easily!

An extremely simple install script for nextcloud that will install all the requirements plus some extras, too!

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! 🎉👏

Hello there! My name is Darren and i am a hobbyist/homelab/crypto enthusiast. If you liked this post please consider signing up for a Digital Ocean account using my link and you will receive $100 in free credit while at the same time helping me to cover the costs of my servers. Thank you!

XCH: xch1hrumdza9u6slw5hz343p3yh954wvjs4rqnqdkq6huanctf0vytzqqkahxk
BTC: 1BVwmPMt6kxRe88EKhThJviFp3M4MhubTA
ETH: 0xa958d40518d76168BB795947Bf96AafD6bccc177
LTC: MBJdCsnZXDuXBYme6Ur7VFAeYw4LTFM9CP
BAT: 0xab574A09fFf2aa391658D3D048265ad1401cA7AF
DOGE: DBCchyovcTXSioWM392kKydJxY5nyECYFB
SCP: 9f2feed9f29f3f8035e4ae2a33837ae4affa0a5b5773bcc5a33a4abb041e82e2cccb318c78ef
Share This Guide!