Nextcloud (Linux): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 4: | Zeile 4: | ||
wget https://download.nextcloud.com/server/releases/nextcloud-12.0.4.zip | wget https://download.nextcloud.com/server/releases/nextcloud-12.0.4.zip | ||
unzip nextcloud-12.0.4.zip | unzip nextcloud-12.0.4.zip | ||
sudo mv nextcloud /var/www/ | |||
cd /var/www/ | |||
sudo chown -R www-data:www-data nextcloud | |||
</pre> | </pre> | ||
Version vom 13. Januar 2018, 17:58 Uhr
Installation
wget https://download.nextcloud.com/server/releases/nextcloud-12.0.4.zip unzip nextcloud-12.0.4.zip sudo mv nextcloud /var/www/ cd /var/www/ sudo chown -R www-data:www-data nextcloud
Links
https://nextcloud.com/install/
Konfiguration
Sites
cd /etc/apache2/sites-available/ sudo nano nextcloud.conf
<VirtualHost *:80> ServerName nextcloud.kirner.or.at ServerAlias nextcloud.kirner.or.at Redirect / https://nextcloud.kirner.or.at </VirtualHost>
sudo nano nextcloud-ssl.conf
<VirtualHost *:443> ServerName nextcloud.kirner.or.at ServerAlias nextcloud.kirner.or.at SSLEngine on SSLCertificateFile /etc/ssl/certs/nextcloud.crt SSLCertificateKeyFile /etc/ssl/private/apache.key # Pfad zu den Webinhalten DocumentRoot /var/www/nextcloud KeepAlive On KeepAliveTimeout 5 <IfModule mod_headers.c> Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload" </IfModule> ErrorLog ${APACHE_LOG_DIR}/nextcloud.kirner.or.at-error.log CustomLog ${APACHE_LOG_DIR}/nextcloud.kirner.or.at-access.log combined </VirtualHost>
sudo a2ensite nextcloud sudo a2ensite nextcloud-ssl sudo service apache2 reload
Migration / Update
Migration Owncloud to Nextcloud
Apps
Links
Zurück zu Ubuntu