By continuing to use the site, you agree to the use of cookies. more information
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.
wallabag installieren
Diese Anleitung setzt einen Server mit folgenden installierten und konfigurierten Paketen voraus:
Um Wallabag mit einer MySQL Datenbank nutzen zu können, müssen wir diese zuerst auf inserem MySQL Server installieren. Ebenfalls wird ein User benötigt, der auf diese Datenbank vollen Zugriff aht.
apt-get install php5-fpm php5-cli php5-mysql php5-mcrypt php5-tidy php5-curl php5-sqlite php5-gd -y
apt-get install git curl make -y
service apache2 restart
cd <Webserverdirectory>
git clone https://github.com/wallabag/wallabag.git
cd wallabag
curl -s https://getcomposer.org/installer | php
make install
Es folgen diverse Installationsprozesse. Ebenfalls müssen diverse Einstellungen in etwa wie folgend definiert werden:
cd ..
chown www-data:youruser -R wallabag/
Webserver konfigurieren:
cd /etc/apache2/sites-available/
a2enmod rewrite
nano wallabag.conf
Folgender Inhalt in die Datei kopieren: (allenfalls anpassen wie gewünscht)
<VirtualHost *:80>
ServerName <www.yourserver.com>DocumentRoot <WEBSERVERDIR>/wallabag/web
<Directory <WEBSERVERDIR>/wallabag/web>
AllowOverride None
Order Allow,Deny
Allow from All<IfModule mod_rewrite.c>
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 <WEBSERVERDIR>/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 <WEBSERVERDIR>/wallabag/web/bundles>
<IfModule mod_rewrite.c>
RewriteEngine Off
</IfModule>
</Directory>
ErrorLog /var/log/apache2/wallabag_error.log
CustomLog /var/log/apache2/wallabag_access.log combined
</VirtualHost>
speichern und schliessen.
a2enmod rewrite && systemctl reload apache2
a2ensite wallabag.conf && service apache2 restart
Sollte wallabag unter z.B. “yourserver.com/wallabag” erreichbar sein, muss die bereits vorhandene Konfigurtion mit folgenden Parametern angepasst werden:
folgende Zeilen aus der oben gezeigten Konfiguration entfernen:
<VirtualHost *:80>
ServerName <www.yourserver.com>DocumentRoot <WEBSERVERDIR>/wallabag/web
</VirtualHost>
Folgende Parameter müssen hinzugefügt werden:
Alias /wallabag /<WEBSERVERDIR>/wallabag/web
In folgendem Abschnitt die markierte Zeile:
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /wallabag
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ app.php [QSA,L]
</IfModule>
By continuing to use the site, you agree to the use of cookies. more information
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.