Todas las entradas de: rers


Acerca de rers

Rafael es TSU en Informática / Ing de Sistemas / Autor de El Gran libro de Debian GNU/Linux en 2015 fundo EnjoySistemas y actualmente se desempeña como Consultor Freelance.

Owncloud 10 fixing warnings

No memory cache has been configured

This issue can take a bit more time and decision making based on what memory cache you use. It is all well documented here. In my case I went with the recommended APCu solution. First I installed APCu with

sudo apt-get install php-apcu

Then you should restart your web server, with the first line below. Then you ned to go and edit the config file config.php which lives in /var/www/owncloud/config adding ‘memcache.local’ => ‘\OC\Memcache\APCu’,.

sudo service ngnix restart
Transactional file locking should be configured to use memory-based locking, not the default slow database-based locking.

This is also documented in the link for first issue. You need to install Redis like so

sudo apt-get install redis-server php-redis

Then to the config you need to add the following lines:

  'redis' => [
  'host' => 'localhost',
  'port' => 6379,
  'memcache.locking' => '\OC\Memcache\Redis',

some resources



—————–Theme xfce———————-

Using pyinotify to Monitor a Website and send alarms

Hello there now i will teach you how to monitor a website files to track and react to any type of events like a MOD or a DELETE or WRITE event in those files you can expand  the python code to make it better for example you can create a routine that writes the log into a file this way the tutorial wont require stdbuf for sending output to the log anyways here we go hope it helps you:

Seguir leyendo Using pyinotify to Monitor a Website and send alarms