当前位置:网站首页>服务器安装redis
服务器安装redis
2022-08-03 20:48:00 【@黑夜中的一盏明灯】
一:服务器安装redis
redis下载地址
链接:redis7.0.4版本百度网盘地址
提取码:42l8
1.将压缩包拖到服务器上,而后使用命令进去压缩包的上一层目录,使用tar zxvf 压缩包名字进行解压,而后使用ll查看是否解压成功,而后进去到redis,如下所示
2.使用make进行预编译,而后在使用yum -y install gcc-c++ autoconf automake命令进行编译

3.在输入make进行编译,会出现一下错误,然后使用make MALLOC=libc进行修正错误
4.使用make PREFIX=/redis install将redis安装到/redis目录下,而后按图片中操作

5.前台启动方式
6.改成后台启动方式,修改redis的配置文件




最后这张图片操作即可
7.验证
边栏推荐
- Five Steps to Detect and Control Shadow IT
- Leetcode 16. Numerical integral power (power + fast recursive/iteration)
- leetcode 268. Missing Numbers (XOR!!)
- CLIP论文解读
- 化算力为战力:宁夏中卫的数字化转型启示录
- 微信小程序 生成跳转体验版url,可直接跳转到体验版小程序(可通过此方法测试模板消息)
- idea2021配置svn报错Cannot run program “svn“ (in directory “xxx“):CreateProcess error=2,系统找不到指定的文件
- 面试官:为什么 0.1 + 0.2 == 0.300000004?
- 系统运维系列 之CSV文件读取时内容中包含逗号的处理方法
- leetcode 1837. The sum of the digits in the K-base representation
猜你喜欢
随机推荐
面试官:为什么 0.1 + 0.2 == 0.300000004?
华为设备配置VRRP与BFD联动实现快速切换
直播小程序源码,UI自动化中获取登录验证码
Several difficult problems in DDD
Orcad Capture Cadence 新建原理图多部分smybol和Homogeneous、Heterogeneous类型介绍教程
检测和控制影子IT的五个步骤
ES6 - Arrow Functions
Often forget HiFlow 】 【 check-in?Use tencent cloud scenario connector to remind you every day.
Transformer怎么入门?如何学习Transformer?
tRNA修饰2-甲基胞嘧啶(m2C)|tRNA修饰m2G (N2-methylguanosine)
Five Steps to Detect and Control Shadow IT
RNA核糖核酸修饰Alexa 568/[email protected] 594/[email prote
svg+js订单确认按钮动画js特效
YARN功能介绍、交互流程及调度策略
Likou 59 - Spiral Matrix II - Boundary Judgment
迪赛智慧数——柱状图(多色柱状图):2021年我国城市住户存款排名
化算力为战力:宁夏中卫的数字化转型启示录
Kubernetes资源编排系列之三: Kustomize篇 作者 艄公(杨京华) 雪尧(郭耀星)
转运RNA(tRNA)甲基化修饰7-甲基胞嘧啶(m7C)|tRNA-m7G
Power button 206 - reverse list - the list









