owncloud 配置 redis

1、安装redis

apt-get install redis-server php5-redis

2、启动redis

/etc/init.d/redis-server restart

3、重启apache

service apache2 restart

4、配置owncloud

cd /var/www/html/nextcloud/config/
 
vim config.php

'memcache.local' => '\OC\Memcache\Redis',
'redis' => array(
                   'host' => 'localhost',
                   'port' => 6379,
                 ),

5、查看keys

redis-cli
keys *

DONE

你可能感兴趣的:(owncloud 配置 redis)