Wallabag installation
PHP config
Adjuts memory limits in php.ini
vim /etc/php/cli/php.ini
memory_limit = -1
PostgreSQL preparation
Prepare PostgreSQL database for wallabag app
# su - postgres
$ createdb wallabag
$ createuser -Pl --interactive wallabag
Enter password for new role:
Enter it again:
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create databases? (y/n) n
Shall the new role be allowed to create more new roles? (y/n) n
$ psql template1
psql (9.6.6)
Type "help" for help.
template1=# grant all privileges on database "wallabag" to wallabag;
GRANT
template1=# \q
# psql wallabag wallabag
psql (9.6.6)
Type "help" for help.
wallabag=> \password
Enter new password:
Enter it again:
wallabag=> exit
wallabag-> \q
postgres@universe:~$ psql
psql (9.6.6)
Type "help" for help.
postgres=# alter database wallabag owner to wallabag;
ALTER DATABASE
Wallabag installation
Finally wallabag installation
# cd /srv/
# git clone https://github.com/wallabag/wallabag.git
# cd wallabag
# make install
database_driver (pdo_mysql): pdo_pgsql
database_driver_class (null):
database_host (127.0.0.1):
database_port (null):
database_name (wallabag):
database_user (root): wallabag
database_password (null):
database_path (null):
database_table_prefix (wallabag_):
database_socket (null):
database_charset (utf8mb4):
domain_name ('https://your-wallabag-url-instance.com'): https://wallabag.funnyvoid.com
mailer_transport (smtp):
mailer_host (127.0.0.1):
mailer_user (null):
mailer_password (null):
locale (en):
secret (XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX):
twofactor_auth (true): false
twofactor_sender (no-reply@wallabag.org):
fosuser_registration (true): false
fosuser_confirmation (true):
from_email (no-reply@wallabag.org):
rss_limit (50):
rabbitmq_host (localhost):
rabbitmq_port (5672):
rabbitmq_user (guest):
rabbitmq_password (guest):
rabbitmq_prefetch_count (10):
Permissions
chown -R www-data:www-data /srv/wallabag/{web,var,bin,vendor,app/config}
chmod 755 /srv/wallabag/{web,var,bin,vendor,app/config} -R