Redis 缓存服务器
Redis 是内存型 NoSQL 数据库,常用于缓存、会话存储和消息队列。
安装:
yum install redis
systemctl start redis基本操作:
redis-cli
> SET key "value"
> GET key
> EXPIRE key 60配置:编辑 /etc/redis.conf 设置密码、绑定地址等。
欢迎来到程序员中文网!
Redis 是内存型 NoSQL 数据库,常用于缓存、会话存储和消息队列。
安装:
yum install redis
systemctl start redis基本操作:
redis-cli
> SET key "value"
> GET key
> EXPIRE key 60配置:编辑 /etc/redis.conf 设置密码、绑定地址等。