#类型
c语言包: yum install -y gcc
内存数据库:读写快,持久化可写入硬盘
单线程,弱于多线程的 memcache,忽略这一特性
#集合的使用场景
更具文章tag来检索文章
#版本号
小数点后的第一个数字:偶数为稳定版,奇数为非稳定版
稳定版:2.4、2.6
非稳定版:2.5、2.7
#安装redis-6.0.6:step 1
cd /usr/local/src/
wget http://download.redis.io/releases/redis-6.0.6.tar.gz
tar zxf redis-6.0.6.tar.gz
cd redis-6.0.6
make 「要求gcc >5.3,默认4.8.5」
server.c:5209:176: error: ‘struct redisServer’ has no member named ‘maxmemory’
serverLog(LL_WARNING,"WARNING: You specified a maxmemory value that is less than 1MB (current value is %llu bytes). Are you sure this is what you really want?", server.maxmemory);
server.c:5212:31: error: ‘struct redisServer’ has no member named ‘server

本文介绍了如何安装Redis 6.0,并详细讲解了设置持久化存储目录的步骤,包括执行make distclean以清除错误,复制redis_init_script到init.d,创建用于持久化的目录,以及使用启动脚本来管理Redis服务。
最低0.47元/天 解锁文章
668

被折叠的 条评论
为什么被折叠?



