Nextcloud

= Prerequisite =
 * Nginx
 * PHP
 * MariaDB
 * Fail2Ban to avoid people trying brute-force attacks on your password

Add Repository
In order to get an up-to-date ownCloud, it is preferable to install it from the upstream repositories.

Use the following command to install the repository and its key, plus to configure pinning to use it as the default source

Configure PHP
Edit file  and add   to the   setting.

Reload PHP:

Configure ownCloud
//config.php

Logs
First you need to create a folder for the logs Create file  with the following content Finally activate the new log location. Edit  and  add/edit the   line

Cron
Create file  Now open ownCloud in your browser and go to the admin section and activate cron



Fail2Ban
Create file  Create file   Finally, activate the new jail using (the error message is normal)