As the title states. This solution is without the use of docker. It is just a straight forward installation of Nextcloud 18.0.3 on OMV 5 using Nginx (php-fpm) with PHP 7.3 that is already installed and MariaDB as our database server. In order to work on port 80 or port 443, we will have to change the OMV web ports to 8080 and 8443. You can achieve this via “General settings” on the OMV web interface. This guide asumes that Nextcloud will user ports TCP/80 and TCP/443. Everything that is marked RED, needs your attention.
Let’s start with some packages.
apt install mariadb-server php-xml php-cli php-cgi php-mysql php-mbstring php-gd php-curl php-zip wget unzip php-imagick php-intl -y
Download nextcloud and place it on folder /var/www
cd /usr/src wget https://download.nextcloud.com/server/releases/nextcloud-18.0.4.zip unzip nextcloud-18.0.4.zip mv nextcloud /var/www/ chown -R www-data:www-data /var/www/nextcloud/ chmod -R 755 /var/www/nextcloud/