As the title states. Again, this solution is without the use of docker. It is just a straight forward installation of Nextcloud 24.0.1 on OMV 6 using Nginx (php-fpm) with PHP 7.4 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 “System/Workbench” 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 php-gmp php-imagick imagemagick libmagickcore-6.q16-6-extra -y
Download nextcloud and place it on folder /var/www
cd /usr/src wget https://download.nextcloud.com/server/releases/nextcloud-24.0.1.zip unzip nextcloud-24.0.1.zip mv nextcloud /var/www/ chown -R www-data:www-data /var/www/nextcloud/ chmod -R 755 /var/www/nextcloud/