Disclaimer: This guide was automatically translated by AI from the German original. Please verify commands and technical details before using them.
Back to overview: Debian guides
Install Nextcloud in the /var directory:
cd /var/www/html
Download the installation files:
wget https://download.nextcloud.com/server/releases/latest.tar.bz2
Extract the files:
tar xfvj latest.tar.bz2
Delete the .tar.bz2 file:
rm latest.tar.bz2
Enable the Apache rewrite module:
a2enmod rewrite
Restart Apache:
systemctl restart apache2
Set permissions:
chown -R www-data:www-data /var/www/html/nextcloud/
Finish the installation at IP/nextcloud or Domain/nextcloud.