MMIL

Materials and Mechanics Informatics Lab

0%

打开了nextcloud的memcache

  1. 安装redis php-pecl-redis
  2. 修改/etc/redis.conf,把其中的daemon变为yes
  3. redis-server /etc/redis.conf
  4. 使用redis-cli 看是否已经把redis打开
  5. 使用 ps aux|grep redis,看redis到host和port
  6. 修改/var/www/html/nextcloud/config/config.php
  7. 添加nextcloud的manual中的有关redis 和 memcache相关的内容。host就填localhost, port是那个默认的。
  8. 重启httpd服务。