使用 RDM 连接 Homestead 中的 Redis
使用 RDM 连接 Homestead 中的 Redis
安装RDM
https://redisdesktop.com/download
修改 redis.conf
1 | $ sudo vim /etc/redis/redis.conf |
- 将bind 127.0.0.1 ::1 改成 bind 0.0.0.0 ::1
- 将 requirepass 前面的 # 号去掉,后面加上一个密码,例如:
1 | requirepass yourpassword |
修改 Homestead.yaml
添加端口转发
1 | ports: |
重启虚拟机
1 | $ vagrant reload --provision |