From 6524b07b5f6a576da74f15a860b2b97f55f6d2e9 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 4 Oct 2023 15:51:12 +0000 Subject: [PATCH] optimize db usage --- setup/install.md | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/setup/install.md b/setup/install.md index 9e7a695..3836575 100755 --- a/setup/install.md +++ b/setup/install.md @@ -31,13 +31,13 @@ If you are on Windows you may want to download and install the newest version of ### Linux -On linux you may want to install `apache2` and `mysql`. Please note you can also use this application with `nginx` and `postgres`: +On linux you may want to install `apache2` and `mysql`/`mariadb`. Please note you can also use this application with `nginx` and `postgres`: ```sh sudo add-apt-repository ppa:ondrej/php sudo apt-get update -sudo apt-get install software-properties-common apache2 mysql-server +sudo apt-get install software-properties-common apache2 mariadb-server mariadb-client sudo a2enmod rewrite sudo a2enmod headers @@ -98,6 +98,18 @@ sudo apt install redis-server sudo phpenmod redis ``` +#### Html to Pdf (for Online Resource Watcher) + +##### Windows + +On windows you may want to download and install [wkhtmltopdf](https://wkhtmltopdf.org/downloads.html) + +##### Linux + +```sh +sudo apt-get install wkhtmltopdf +``` + ## Application Installation ### Files @@ -162,11 +174,11 @@ The address for the database server usually is `127.0.0.1` ##### Type -The database type depends on which database you used. If you followed this installation you probably used `mysql` +The database type depends on which database you used. If you followed this installation you probably used `mysql` or `mariadb` ##### Port -The port depends on the database you installed. Different database vendors use different ports. If you followed this installation you probably used mysql, in this case the port is `3306`. If you used another database, please check the documentation of that database to find the default port. +The port depends on the database you installed. Different database vendors use different ports. If you followed this installation you probably used mysql or mariadb, in this case the port is `3306`. If you used another database, please check the documentation of that database to find the default port. ##### Database