
Configurar VPN Wireguard en nuestro pfSense 2.5
21 de febrero de 2021
Arquitectura Apache Hadoop para el almacenamiento de datos distribuido
22 de abril de 2021Es recomendable ejecutar la securización del sistema mediante una jail añadidad a fail2ban, headers en Apache, optimización de PHP, php-fpm, etc.
El documento del CCN-STIC para la implementación de seguridad aquí: DESCARGAR
INSTALACION DE MEMCACHED
apt install memcached libmemcached-tools php-memcached php-apcu en el archivo de configuración config.php añadir:
‘default_phone_region’ => ‘ES’,
‘auth.bruteforce.protection.enabled’ => true,
‘token_auth_activity_update’ => 60,
‘memcache.local’ => ‘\\OC\\Memcache\\APCu’,
‘memcache.distributed’ => ‘\\OC\\Memcache\\Memcached’, <- Ubuntu 16.04 quitar
‘memcached_servers’ => array( array(‘127.0.0.1’, 11211), ),
CRON PARA LA EJECUCIÓN DE TAREAS CADA 5 MIN
Crear:
nano /etc/systemd/system/nextcloudcron.service
[Unit]
Description=Nextcloud cron.php job
[Service]
User=www-data
ExecStart=/usr/bin/php7.4 -f /var/www/cloudserver/cron.php
KillMode=process
Crear:
nano /etc/systemd/system/nextcloudcron.timer
[Unit]
Description=Run Nextcloud cron.php every 5 minutes
[Timer]
OnBootSec=5min
OnUnitActiveSec=5min
Unit=nextcloudcron.service
[Install]
WantedBy=timers.target
Ejecutar:
systemctl enable –now nextcloudcron.timer