ubuntu redis 基本配置
2018-07-16 本文已影响0人
qlh831
1. apt install redis-server
2. 如果需要密码
vim /etc/redis/reids.conf
requirepass your-password
systemctl restart redis-server.service
3. 如果需要外网访问
vim /etc/redis/redis.conf
bind 0.0.0.0
systemctl restart redis-server.service