$sudo apt-get update
$sudo apt-get install redis-server
启动 Redis
改/etc/redis/redis.conf文件,配置IP, 和密码。
重启:
/etc/init.d/redis-server stop
/etc/init.d/redis-server start
/etc/init.d/redis-server restart
$sudo apt-get update
$sudo apt-get install redis-server
启动 Redis
改/etc/redis/redis.conf文件,配置IP, 和密码。
重启:
/etc/init.d/redis-server stop
/etc/init.d/redis-server start
/etc/init.d/redis-server restart