当前位置:网站首页>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
边栏推荐
- 请问大家在什么网站上能查到英文文献?
- Preview word documents online
- redis21道经典面试题,极限拉扯面试官
- Chapter 4 of getting started with MySQL: data types stored in data tables
- Blue decides red - burst CS teamserver password
- Maya fishing house modeling
- Thinkadmin V6 arbitrary file read vulnerability (cve-2020-25540)
- TypeError: Cannot read properties of undefined (reading ***)
- Slf4j + logback logging framework
- Architecture: database architecture design
猜你喜欢
![洛谷_P2010 [NOIP2016 普及组] 回文日期_折半枚举](/img/a3/55bb71d39801ceeee421a0c8ded333.png)
洛谷_P2010 [NOIP2016 普及组] 回文日期_折半枚举

What are the recommended thesis translation software?
![[shutter] Introduction to the official example of shutter Gallery (learning example | email application | retail application | wealth management application | travel application | news application | a](/img/f2/f3b8899aa774dd32006c5928d370f1.gif)
[shutter] Introduction to the official example of shutter Gallery (learning example | email application | retail application | wealth management application | travel application | news application | a

Install docker and use docker to install MySQL
![Luogu_ P2010 [noip2016 popularization group] reply date_ Half enumeration](/img/a3/55bb71d39801ceeee421a0c8ded333.png)
Luogu_ P2010 [noip2016 popularization group] reply date_ Half enumeration

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

The "2022 China Digital Office Market Research Report" can be downloaded to explain the 176.8 billion yuan market in detail

Talk with the interviewer about the pit of MySQL sorting (including: duplicate data problem in order by limit page)
![[MCU project training] eight way answering machine](/img/a3/6a50619cd16269bf485a4a273677aa.jpg)
[MCU project training] eight way answering machine

University of Toronto:Anthony Coache | 深度强化学习的条件可诱导动态风险度量
随机推荐
Nc20806 District interval
CMake基本使用
How do educators find foreign language references?
有哪些比较推荐的论文翻译软件?
Shell脚本基本使用
Go custom sort
NC24840 [USACO 2009 Mar S]Look Up
How to write the design scheme of the thesis?
请问大家在什么网站上能查到英文文献?
Explain in detail the significance of the contour topology matrix obtained by using the contour detection function findcontours() of OpenCV, and how to draw the contour topology map with the contour t
Free we media essential tools sharing
【luogu P4320】道路相遇(圆方树)
Blue decides red - burst CS teamserver password
哪些软件可以整篇翻译英文论文?
经济学外文文献在哪查?
奥斯陆大学:Li Meng | 基于Swin-Transformer的深度强化学习
Markdown tutorial
Luogu_ P2010 [noip2016 popularization group] reply date_ Half enumeration
AcWing_ 188. Warrior cattle_ bfs
Basic 10 of C language: array and pointer