Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende Überarbeitung | |||
linux:wallabag:installation [2024/01/11 19:38] – psycore | linux:wallabag:installation [2024/01/12 14:36] (aktuell) – gelöscht psycore | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | {{tag> | ||
- | ====== Wallabag Installation unter Debian ====== | ||
- | Wallabag ist ein selbsthostbarer Dienst, der eure Webseiten speichert, um diese später zu lesen. Mit den folgenden Schritten, könnt ihr eure Wallabag unter Debian einrichten. | ||
- | |||
- | ===== Benötigte Pakete ===== | ||
- | |||
- | Die benötigten Pakete können [[https:// | ||
- | |||
- | ===== Installation ===== | ||
- | |||
- | <code bash> | ||
- | git clone https:// | ||
- | cd wallabag && make install | ||
- | </ | ||
- | |||
- | ===== Virtual Host ===== | ||
- | |||
- | ==== Apache 2.4 ==== | ||
- | |||
- | <code text> | ||
- | < | ||
- | ServerName wallabag.domain.tld | ||
- | ServerAlias www.wallabag.domain.tld | ||
- | |||
- | # SSL configuration, | ||
- | SSLEngine On | ||
- | SSLProtocol -ALL +TLSv1 +TLSv1.2 | ||
- | SSLCompression Off | ||
- | SSLSessionTickets on | ||
- | SSLHonorCipherOrder off | ||
- | SSLCipherSuite ECDH+AESGCM: | ||
- | SSLVerifyDepth 10 | ||
- | SSLCertificateFile / | ||
- | SSLCertificateKeyFile / | ||
- | SSLCACertificateFile / | ||
- | SSLCertificateChainFile / | ||
- | |||
- | DocumentRoot "/ | ||
- | < | ||
- | Require all granted | ||
- | < | ||
- | Options +SymLinksIfOwnerMatch | ||
- | Options -MultiViews | ||
- | RewriteEngine On | ||
- | RewriteCond %{REQUEST_FILENAME} !-f | ||
- | RewriteRule ^(.*)$ app.php [QSA,L] | ||
- | </ | ||
- | </ | ||
- | |||
- | # If you don't want this caching strategy for your assets | ||
- | # you have to comment the two following blocks | ||
- | < | ||
- | ExpiresActive On | ||
- | ExpiresByType application/ | ||
- | ExpiresByType image/avif " | ||
- | ExpiresByType image/gif " | ||
- | ExpiresByType image/jpg " | ||
- | ExpiresByType image/jpeg " | ||
- | ExpiresByType image/png " | ||
- | ExpiresByType image/webp " | ||
- | ExpiresByType text/css " | ||
- | </ | ||
- | |||
- | < | ||
- | < | ||
- | Header set Cache-Control " | ||
- | </ | ||
- | < | ||
- | Header set Cache-Control " | ||
- | </ | ||
- | < | ||
- | Header set Cache-Control " | ||
- | </ | ||
- | </ | ||
- | |||
- | # uncomment the following lines if you install assets as symlinks | ||
- | # or run into problems when compiling LESS/ | ||
- | # < | ||
- | # | ||
- | # </ | ||
- | |||
- | # optionally disable the RewriteEngine for the asset directories | ||
- | # which will allow apache to simply reply with a 404 when files are | ||
- | # not found instead of passing the request into the full symfony stack | ||
- | < | ||
- | < | ||
- | RewriteEngine Off | ||
- | </ | ||
- | </ | ||
- | ErrorLog / | ||
- | CustomLog / | ||
- | </ | ||
- | </ | ||
- | |||
- | ===== Berechtigungen ===== | ||
- | |||
- | <code bash> | ||
- | chown -R www-data: | ||
- | chown -R www-data: | ||
- | chown -R www-data: | ||
- | chown -R www-data: | ||
- | chown -R www-data: | ||
- | chown -R www-data: | ||
- | </ | ||
- | |||
- | ===== LetsEncrypt Zertifikat als Cronjob ===== | ||
- | |||
- | <code bash> | ||
- | 30 3 * * 0 / | ||
- | </ |