redis安装:
1 解压
2 修改端口
vi redis.conf
3 启动服务:
./redis-server ../redis.conf &
注意: ../redis.conf 表示指定配置启动 & 表示后台运行
4 配置环境变量
5 ./redis-cli 客户端连接
6 远程连接:
redis-cli -h 10.115.107.94 -p 8112
redis安装:
1 解压
2 修改端口
vi redis.conf
3 启动服务:
./redis-server ../redis.conf &
注意: ../redis.conf 表示指定配置启动 & 表示后台运行
4 配置环境变量
5 ./redis-cli 客户端连接
6 远程连接:
redis-cli -h 10.115.107.94 -p 8112