Wallabag (Ubuntu 18.04): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 27: | Zeile 27: | ||
== Konfiguration == | == Konfiguration == | ||
=== Apache === | |||
<pre | |||
<VirtualHost *:443> | |||
ServerName wallabag.kirner.or.at | |||
SSLEngine On | |||
SSLCertificateFile /etc/ssl/certs/wallabag.crt | |||
SSLCertificateKeyFile /etc/ssl/private/apache.key | |||
DocumentRoot /mnt/synology/web1/www/wallabag/web | |||
<Directory /mnt/synology/web1/www/wallabag/web> | |||
Require all granted | |||
AllowOverride None | |||
Order Allow,Deny | |||
Allow from All | |||
<IfModule mod_rewrite.c> | |||
Options +SymLinksIfOwnerMatch | |||
Options -MultiViews | |||
RewriteEngine On | |||
RewriteCond %{REQUEST_FILENAME} !-f | |||
RewriteRule ^(.*)$ app.php [QSA,L] | |||
</IfModule> | |||
</Directory> | |||
# uncomment the following lines if you install assets as symlinks | |||
# or run into problems when compiling LESS/Sass/CoffeScript assets | |||
# <Directory /var/www/wallabag> | |||
# Options FollowSymlinks | |||
# </Directory> | |||
# 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 | |||
<Directory /mnt/synology/web1/www/wallabag/web/bundles> | |||
<IfModule mod_rewrite.c> | |||
RewriteEngine Off | |||
</IfModule> | |||
</Directory> | |||
ErrorLog ${APACHE_LOG_DIR}/wallabag.kirner.or.at-error.log | |||
CustomLog ${APACHE_LOG_DIR}/wallabag.kirner.or.at-access.log combined </VirtualHost> | |||
</pre> | |||
=== Datenbank === | |||
<pre> | <pre> | ||
Version vom 3. August 2020, 13:19 Uhr
Noch in Bearbeitung
Download
cd ~/temp wget https://wllbg.org/latest-v2-package && tar xvf latest-v2-package
Installation
tar -xzf latest-v2-package sudo mv 2.3.8 /mnt/synology/web1/www/wallabag2_3_8 cd /mnt/synology/web1/www/ sudo chown -R www-data:www-data wallabag2_3_8 sudo ln -s wallabag2_3_8 wallabag
Datenbank
Konfiguration
Apache
ServerName wallabag.kirner.or.at
SSLEngine On
SSLCertificateFile /etc/ssl/certs/wallabag.crt
SSLCertificateKeyFile /etc/ssl/private/apache.key
DocumentRoot /mnt/synology/web1/www/wallabag/web
<Directory /mnt/synology/web1/www/wallabag/web>
Require all granted
AllowOverride None
Order Allow,Deny
Allow from All
<IfModule mod_rewrite.c>
Options +SymLinksIfOwnerMatch
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ app.php [QSA,L]
</IfModule>
</Directory>
# uncomment the following lines if you install assets as symlinks
# or run into problems when compiling LESS/Sass/CoffeScript assets
# <Directory /var/www/wallabag>
# Options FollowSymlinks
# </Directory>
# 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
<Directory /mnt/synology/web1/www/wallabag/web/bundles>
<IfModule mod_rewrite.c>
RewriteEngine Off
</IfModule>
</Directory>
ErrorLog ${APACHE_LOG_DIR}/wallabag.kirner.or.at-error.log
CustomLog ${APACHE_LOG_DIR}/wallabag.kirner.or.at-access.log combined </VirtualHost>
Datenbank
sudo vi /mnt/synology/web1/www/wallabag/app/config/parameters.yml
Links
https://doc.wallabag.org/en/admin/installation/installation.html#installation
https://doc.wallabag.org/en/admin/parameters.html
Zurück zu Wallabag