当前位置:网站首页>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
边栏推荐
- [golang syntax] map common errors golang panic: assignment to entry in nil map
- Blue decides red - burst CS teamserver password
- [Chongqing Guangdong education] audio visual language reference materials of Xinyang Normal University
- Andorid gets the system title bar height
- Luogu_ P2010 [noip2016 popularization group] reply date_ Half enumeration
- Install docker and use docker to install MySQL
- Multiprocess programming (I): basic concepts
- Monitor container runtime tool Falco
- 为什么网站打开速度慢?
- 多进程编程(四):共享内存
猜你喜欢

可下载《2022年中国数字化办公市场研究报告》详解1768亿元市场

Feature Engineering: summary of common feature transformation methods

Cmake basic use

哪些软件可以整篇翻译英文论文?
![[target detection] r-cnn, fast r-cnn, fast r-cnn learning](/img/f0/df285f01ffadff62eb3dcb92f2e04f.jpg)
[target detection] r-cnn, fast r-cnn, fast r-cnn learning
![洛谷_P1149 [NOIP2008 提高组] 火柴棒等式_枚举打表](/img/4a/ab732c41ea8a939fa0983fec475622.png)
洛谷_P1149 [NOIP2008 提高组] 火柴棒等式_枚举打表

MySQL 23道经典面试吊打面试官

多进程编程(一):基本概念

写论文可以去哪些网站搜索参考文献?

TypeError: Cannot read properties of undefined (reading ***)
随机推荐
多进程编程(二):管道
Pat 1030 travel plan (30 points) (unfinished)
多进程编程(四):共享内存
Linux软件:如何安装Redis服务
TypeError: Cannot read properties of undefined (reading ***)
What is the standard format of a 2000-3000 word essay for college students' classroom homework?
The "2022 China Digital Office Market Research Report" can be downloaded to explain the 176.8 billion yuan market in detail
logback配置文件
Free we media essential tools sharing
Bigder:32/100 测试发现的bug开发认为不是bug怎么处理
教育学大佬是怎么找外文参考文献的?
在线预览Word文档
AttributeError: ‘tuple‘ object has no attribute ‘layer‘问题解决
NC50965 Largest Rectangle in a Histogram
[golang syntax] map common errors golang panic: assignment to entry in nil map
Pageoffice - bug modification journey
Maya fishing house modeling
form表单实例化
【单片机项目实训】八路抢答器
Program analysis and Optimization - 9 appendix XLA buffer assignment