当前位置:网站首页>Linux Software: how to install redis service
Linux Software: how to install redis service
2022-07-03 00:32:00 【Chief fisherman】
First step : take redis Upload the installation package to our server

The second step : Unzip the file and move to /usr/local/redis In the table of contents , If not, create it by yourself
1、 decompression
[[email protected] home]# tar -zxvf redis-4.0.8.tar.gz
2、 Move
[[email protected] home]# mv redis-4.0.8 /usr/local/redis/
The third step : Compile and install
1、 Get into redis Directory execution make Command compilation
[[email protected] redis-4.0.8]# make

** At this time, I met cc Error execute the following command , Recompile it
[[email protected] redis-4.0.8]# yum -y install gcc automake autoconf libtool make

[[email protected] redis-4.0.8]# make

** At this time, if you encounter a fatal error , Add... After command MALLOC=libc
[[email protected] redis-4.0.8]# make MALLOC=libc

2、 install redis
[[email protected] redis-4.0.8]# make install PREFIX=/usr/local/redis

3、 start-up redis
[[email protected] redis-4.0.8]# ./src/redis-server redis.conf

Step four : take redis Change from Startup to background operation
1、 modify redis.conf The configuration file will include daemonize no Change it to daemonize yes that will do
[[email protected] redis-4.0.8]# vi redis.conf

2、 Restart and use ps -ef | grep redis Check the status
[[email protected] redis-4.0.8]# ./src/redis-server redis.conf

[[email protected] redis-4.0.8]# ps -ef | grep redis

Installation completed !
Baidu SkyDrive
Extraction code : 4kss
边栏推荐
- Shell 实现文件基本操作(sed-编辑、awk-匹配)
- Pageoffice - bug modification journey
- FRP reverse proxy +msf get shell
- Briefly talk about other uses of operation and maintenance monitoring
- Missing number
- Multiprocess programming (4): shared memory
- Talk with the interviewer about the pit of MySQL sorting (including: duplicate data problem in order by limit page)
- Luogu_ P2010 [noip2016 popularization group] reply date_ Half enumeration
- NC17059 队列Q
- 有哪些比较推荐的论文翻译软件?
猜你喜欢

Gan model architecture in mm

Talk with the interviewer about the pit of MySQL sorting (including: duplicate data problem in order by limit page)

setInterval定时器在ie不生效原因之一:回调的是箭头函数

Monitor container runtime tool Falco

maya渔屋建模

mm中的GAN模型架构

Markdown使用教程

【单片机项目实训】八路抢答器

Architecture: database architecture design

UART、RS232、RS485、I2C和SPI的介绍
随机推荐
监控容器运行时工具Falco
布隆过滤器
setInterval定时器在ie不生效原因之一:回调的是箭头函数
Cmake basic use
Form form instantiation
pageoffice-之bug修改之旅
Blue decides red - burst CS teamserver password
[IELTS reading] Wang Xiwei reading P1 (reading judgment question)
Talk with the interviewer about the pit of MySQL sorting (including: duplicate data problem in order by limit page)
Automated defect analysis in electronic microscopic images
Andorid gets the system title bar height
Where can I find the English literature of the thesis (except HowNet)?
详解用OpenCV的轮廓检测函数findContours()得到的轮廓拓扑结构(hiararchy)矩阵的意义、以及怎样用轮廓拓扑结构矩阵绘制轮廓拓扑结构图
Shell 实现文件基本操作(切割、排序、去重)
Pageoffice - bug modification journey
Andorid 获取系统标题栏高度
多进程编程(一):基本概念
Shell脚本基本使用
JS interviewer wants to know how much you understand call, apply, bind no regrets series
AttributeError: ‘tuple‘ object has no attribute ‘layer‘问题解决