Nextcloud (Ubuntu 18.04): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(→Apache) |
|||
Zeile 33: | Zeile 33: | ||
<pre> | <pre> | ||
sudo vi /etc/apache2/sites-available/nextcloud.conf | sudo vi /etc/apache2/sites-available/nextcloud.conf | ||
</pre> | |||
<pre> | |||
Alias /nextcloud "/mnt/synology/web1/www/nextcloud/" | |||
<Directory /mnt/synology/web1/www/nextcloud/> | |||
Require all granted | |||
AllowOverride All | |||
Options FollowSymLinks MultiViews | |||
<IfModule mod_dav.c> | |||
Dav off | |||
</IfModule> | |||
</Directory> | |||
</pre> | </pre> | ||
Version vom 11. Juni 2020, 09:15 Uhr
Noch in Bearbeitung
Installation
Benötigte Pakete installieren
sudo apt-get update
sudo apt-get install -y php-curl php-gd php-json php-mbstring php-zip php-xml php-common php-mysql php-intl php-imagick
Nextcloud installieren
https://nextcloud.com/install/
cd ~/temp wget https://download.nextcloud.com/server/releases/nextcloud-19.0.0.zip unzip nextcloud-19.0.0.zip sudo mv nextcloud /mnt/synology/web1/www/nextcloud19_0_0 cd /mnt/synology/web1/www/ sudo chown -R www-data:www-data nextcloud19_0_0 sudo ln -s nextcloud19_0_0 nextcloud
Apache
sudo vi /etc/apache2/sites-available/nextcloud.conf
Alias /nextcloud "/mnt/synology/web1/www/nextcloud/" <Directory /mnt/synology/web1/www/nextcloud/> Require all granted AllowOverride All Options FollowSymLinks MultiViews <IfModule mod_dav.c> Dav off </IfModule> </Directory>
Links
https://docs.nextcloud.com/server/19/admin_manual/installation/
https://docs.nextcloud.com/server/19/admin_manual/installation/example_ubuntu.html
Zurück zu Nextcloud