不安分的黑娃
踏踏实实,坚持学习,慢慢就懂了~

Redis学习笔记(1)——环境准备

软件说明

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams. Redis has built-in replication, Lua scripting, LRU eviction, transactions, and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.
翻译:
Redis是一个开源(BSD许可)的内存数据结构存储,用作数据库、缓存和消息代理。Redis提供数据结构,如字符串,散列,列表,集,排序集,范围查询,位图,超日志,地理空间索引和流。Redis具有内置的复制、Lua脚本、LRU逐出、事务和不同级别的磁盘持久性,并通过Redis Sentinel和Redis Cluster自动分区提供高可用性。

官方地址

https://redis.io/
官方文档:https://redis.io/documentation
类型说明:http://redis.io/topics/data-types-intro

下载地址

最新版本:https://redis.io/download
历史版本:https://download.redis.io/releases/

安装步骤

1、下载 Redis 安装包

这里使用 5.0.12 版本的安装包redis-5.0.12.tar.gz

2、上传至Linux

3、运行 Redis

使用默认配置:

 cd src
 ./redis-server

指定redis.conf配置:

 cd src
 ./redis-server /path/to/redis.conf

通过命令行替换 配置参数:

 ./redis-server --port 9999 --replicaof 127.0.0.1 6379
 ./redis-server /etc/redis/6379.conf --loglevel debug
posted on 2021-05-16 11:34  不安分的黑娃  阅读(49)  评论(0)    收藏  举报