当前位置:网站首页>Installing redis under Linux and windows (ultra detailed graphic tutorial)
Installing redis under Linux and windows (ultra detailed graphic tutorial)
2022-06-28 09:36:00 【Eat more porridge in the morning】
One 、windows Lower installation redis
1、Redis Download the installation package on the official website :redis-6.2.6.tar.gz
redis Official website address :https://redis.io/
2、 Decompress the package , double-click , Enter all the way .
3、 start-up ,win+R key , Right click restart redis
4、 find redis Under the table of contents redis-cli.exe file , double-click , Test connection 

Local installation redis complete !!!!
Two 、Linux Lower installation redis
1、 install redis Depend on the environment :
yum install gcc -c++
2、 Download zip :
wget http://download.redis.io/releases/redis-6.2.6.tar.gz
3、 Check if there are any compressed packages :
ll
4、 Decompress the package :
tar -zxvf redis-6.2.6.tar.gz
5、 Check whether there is a decompressed redis:
ll

② Compilation and installation
1、 Get into redis Directory and execute make Command compilation
cd redis-6.2.6/
make
After compilation, the following contents appear :
2、 install
make PREFIX=/usr/local/redis install

3、 return /usr/local Enter after directory redis-4.0.2
cd../local
4、 There is a redis.conf File move to /usr/local/redis/bin Under the table of contents
cp ./redis.conf /usr/local/redis/bin/

5、 Get into /usr/local/redis/bin Catalog
cd /usr/local/redis/bin
ls
You can see redis.conf Has moved to /usr/local/redis/bin Under the table of contents
③ start-up redis
1、 start-up redis The server
./redis.server ./redis.conf

The appearance of this interface means that the startup is successful
2、 Create a new session , Connect redis client , And do a simple test
./redis-cli

linux install redis It was successful !!!
notes : For beginners , In this way , need vim Edit profile .
In the later stage, you can directly docker install .
边栏推荐
- HDI blind hole design, have you noticed this detail?
- Two interview demo
- SQL optimization experience: from 30248 seconds to 0.001 seconds
- 買賣股票費用計算
- Redis5.0 slot migration, free play (single machine migration cluster)
- 两道面试小Demo
- Unity AssetBundle资源打包与资源加载
- Function sub file writing
- Key summary IV of PMP examination - planning process group (2)
- 组合模式(Composite Pattern)
猜你喜欢

桥接模式(Bridge)

This article explains in detail the difficult problems and solutions faced by 3D cameras

PMP考试重点总结六——图表整理

For the development of short video app, the elder warned me to choose the open source code

代理模式(Proxy)

P2394 yyy loves Chemistry I

Why does select * lead to low query efficiency?

Calculation of stock purchase and sale expenses
![1180: fractional line delimitation /p1068 [noip2009 popularization group] fractional line delimitation](/img/1a/162b060a6498e58278b6ca50e4953c.png)
1180: fractional line delimitation /p1068 [noip2009 popularization group] fractional line delimitation

Resource scheduling and task scheduling of spark
随机推荐
全链路业务追踪落地实践方案
Multithreading concurrent parallel threaded process
Static page of pinyougou mall
Calculation of stock purchase and sale expenses
自动转换之-面试题
This article explains in detail the difficult problems and solutions faced by 3D cameras
1180:分数线划定/P1068 [NOIP2009 普及组] 分数线划定
01-分布式系统概述
Do static code blocks always execute first? The pattern is smaller!!!
On the influence of small program on the digitalization of media industry
Key summary VII of PMP examination - monitoring process group (1)
适配器模式(Adapter)
PMP Exam key summary VI - chart arrangement
Machine virtuelle 14 installer win7 (tutoriel)
异常的产生,及解决
Test cases for learning the basic content of software testing (II)
Calcul des frais d'achat et de vente d'actions
PMP Exam key summary IX - closing
详解final、finally和finalize
Threads and processes