Wallabag (Ubuntu 18.04): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 103: | Zeile 103: | ||
sudo vi /mnt/synology/web1/www/wallabag/app/config/parameters.yml | sudo vi /mnt/synology/web1/www/wallabag/app/config/parameters.yml | ||
</pre> | </pre> | ||
<pre> | |||
# This file is auto-generated during the composer install | |||
parameters: | |||
database_driver: pdo_mysql | |||
database_driver_class: null | |||
database_host: 10.0.0.176 | |||
database_port: null | |||
database_name: wallabag | |||
database_user: wallabag | |||
database_password: <password> | |||
database_path: null | |||
database_table_prefix: wallabag_ | |||
database_socket: null | |||
database_charset: utf8mb4 | |||
domain_name: 'https://wallabag.kirner.or.at' | |||
mailer_transport: smtp | |||
mailer_host: mail1.kirner.or.at | |||
mailer_user: admin@kirner.or.at | |||
mailer_password: <password> | |||
locale: de | |||
secret: fafhakfhuieorzoqewFSEhgjbdWEnn | |||
twofactor_auth: true | |||
twofactor_sender: admin@kirner.or.at | |||
fosuser_registration: true | |||
fosuser_confirmation: true | |||
from_email: admin@kirner.or.at | |||
rss_limit: 50 | |||
rabbitmq_host: localhost | |||
rabbitmq_port: 5672 | |||
rabbitmq_user: guest | |||
rabbitmq_password: guest | |||
rabbitmq_prefetch_count: 10 | |||
redis_scheme: tcp | |||
redis_host: localhost | |||
redis_port: 6379 | |||
redis_path: null | |||
redis_password: null | |||
<pre> | |||
== Links == | == Links == |
Version vom 4. August 2020, 08:36 Uhr
Noch in Bearbeitung
Voraussetzungen
sudo apt-get install php-tidy
Installation
cd ~/temp git clone https://github.com/wallabag/wallabag.git sudo mv ~/temp/wallabag/ /mnt/synology/web1/www/wallabag2_4_0 cd /mnt/synology/web1/www/ sudo chown -R www-data:www-data wallabag2_4_0 sudo ln -s wallabag2_4_0 wallabag cd wallabag2_4_0 sudo mkdir /var/www/.composer sudo chown www-data:www-data /var/www/.composer sudo -u www-data curl -sS https://getcomposer.org/installer | sudo -u www-data php sudo -u www-data make install
Datenbank
create user 'wallabag'@'%' identified by '<password>'; grant all on wallabag.* to 'wallabag'@'%';
Konfiguration
Apache
/etc/apache2/sites-available/wallabag.conf
sudo vi /etc/apache2/sites-available/wallabag.conf
<VirtualHost *:80> ServerName wallabag.kirner.or.at Redirect / https://wallabag.kirner.or.at </VirtualHost>
/etc/apache2/sites-available/wallabag-ssl.conf
sudo vi /etc/apache2/sites-available/wallabag-ssl.conf
<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>
/mnt/synology/web1/www/wallabag/app/config/parameters.yml
sudo vi /mnt/synology/web1/www/wallabag/app/config/parameters.yml
# This file is auto-generated during the composer install parameters: database_driver: pdo_mysql database_driver_class: null database_host: 10.0.0.176 database_port: null database_name: wallabag database_user: wallabag database_password: <password> database_path: null database_table_prefix: wallabag_ database_socket: null database_charset: utf8mb4 domain_name: 'https://wallabag.kirner.or.at' mailer_transport: smtp mailer_host: mail1.kirner.or.at mailer_user: admin@kirner.or.at mailer_password: <password> locale: de secret: fafhakfhuieorzoqewFSEhgjbdWEnn twofactor_auth: true twofactor_sender: admin@kirner.or.at fosuser_registration: true fosuser_confirmation: true from_email: admin@kirner.or.at rss_limit: 50 rabbitmq_host: localhost rabbitmq_port: 5672 rabbitmq_user: guest rabbitmq_password: guest rabbitmq_prefetch_count: 10 redis_scheme: tcp redis_host: localhost redis_port: 6379 redis_path: null redis_password: nullLinks
https://doc.wallabag.org/en/admin/installation/installation.html#installation https://doc.wallabag.org/en/admin/parameters.html Zurück zu Wallabag