当前位置:网站首页>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
边栏推荐
- NC50965 Largest Rectangle in a Histogram
- 【雅思阅读】王希伟阅读P1(阅读判断题)
- [MCU project training] eight way answering machine
- Slf4j + Logback日志框架
- One of the reasons why setinterval timer does not take effect in ie: the callback is the arrow function
- JSON conversion tool class
- node_ Modules cannot be deleted
- [target detection] r-cnn, fast r-cnn, fast r-cnn learning
- Linux软件:如何安装Redis服务
- AttributeError: ‘tuple‘ object has no attribute ‘layer‘问题解决
猜你喜欢
Shell 实现文件基本操作(sed-编辑、awk-匹配)
多进程编程(一):基本概念
UART、RS232、RS485、I2C和SPI的介绍
setInterval定时器在ie不生效原因之一:回调的是箭头函数
多进程编程(二):管道
论文的英文文献在哪找(除了知网)?
Is the multitasking loss in pytoch added up or backward separately?
University of Toronto:Anthony Coache | 深度强化学习的条件可诱导动态风险度量
pod生命周期详解
Hundreds of continuous innovation to create free low code office tools
随机推荐
What website can you find English literature on?
pageoffice-之bug修改之旅
[shutter] Introduction to the official example of shutter Gallery (project introduction | engineering construction)
[IELTS reading] Wang Xiwei reading P1 (reading judgment question)
Solution to the problem of abnormal display of PDF exported Chinese documents of confluence
Architecture: load balancing
可下载《2022年中国数字化办公市场研究报告》详解1768亿元市场
多进程编程(一):基本概念
What are the recommended thesis translation software?
Don't want teachers to see themselves with cameras in online classes? Virtual camera you deserve!
Multiprocess programming (II): Pipeline
Is there a specific format for English papers?
免费自媒体必备工具分享
AttributeError: ‘tuple‘ object has no attribute ‘layer‘问题解决
Where can I check the foreign literature of economics?
Pageoffice - bug modification journey
Architecture: database architecture design
百数不断创新,打造自由的低代码办公工具
详解用OpenCV的轮廓检测函数findContours()得到的轮廓拓扑结构(hiararchy)矩阵的意义、以及怎样用轮廓拓扑结构矩阵绘制轮廓拓扑结构图
字符设备注册常用的两种方法和步骤