ubuntu下安装Redis
安装Redis
1 |
|
查看版本
1 |
|
查看运行状态
1 |
|
启动
1 |
|
关闭
1 |
|
重启
1 |
|
使用客户机
1 |
|
配置可远程访问连接
修改配置文件
1
2
3
4
5
6
7
8
9
10
11sudo vim /etc/redis/redis.conf
# 注释掉绑定地址#bind 127.0.0.1,让Redis可远程访问
# bind 127.0.0.1 ::1
#取消注释requirepass 启动密码认证,并设置访问密码
requirepass your-pass-word
# 以守护进程运行Redis
daemonize yes重启redis
端口
6379
密码
lhcredis
连接客户端
Another Redis Desktop Manager
ubuntu下安装Redis
https://blog.gutaicheng.top/2025/01/05/ubuntu安装Redis/