当前位置:网站首页>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 .
边栏推荐
- Apache Doris becomes the top project of Apache
- flink cep 跳过策略 AfterMatchSkipStrategy.skipPastLastEvent() 匹配过的不再匹配 碧坑指南
- Regular verification of mobile phone number and email [easy to understand]
- 详解final、finally和finalize
- Which securities company is better and safer to choose when opening an account for the inter-bank certificate of deposit fund with mobile phone
- 优秀笔记软件盘点:好看且强大的可视化笔记软件、知识图谱工具Heptabase、氢图、Walling、Reflect、InfraNodus、TiddlyWiki
- spark的资源调度和任务调度
- 代理模式(Proxy)
- DBeaver安装与使用教程(超详细安装与使用教程)
- Data visualization makes correlation analysis easier to use
猜你喜欢

Data visualization makes correlation analysis easier to use

HDI的盲孔设计,你注意到这个细节了吗?

PMP考试重点总结八——监控过程组(2)

全局异常处理器与统一返回结果
![[ybtoj advanced training guide] maximum separation [hash] [Floyd]](/img/86/542ab1728a2ddbc01592b2fa83491a.jpg)
[ybtoj advanced training guide] maximum separation [hash] [Floyd]

1. Kimball dimension modeling of data warehouse: what is a fact table?

Use of Jasper soft studio report tool and solution of thorny problems
Understanding the IO model

JVM系列(2)——垃圾回收

装饰模式(Decorator)
随机推荐
Basic knowledge of hard disk (head, track, sector, cylinder)
Basic content learning of software testing (I)
剑指Offer | 斐波那契数列
线程的生命周期
Fastjason filter field
函数的分文件编写
Understanding the IO model
Inventory of excellent note taking software: good-looking and powerful visual note taking software, knowledge map tools heptabase, hydrogen map, walling, reflect, infranodus, tiddlywiki
浅谈小程序对传媒行业数字化的影响
[ybtoj advanced training guide] maximum separation [hash] [Floyd]
A strange execution plan. One table in the association query is not associated with any other tables
On the influence of small program on the digitalization of media industry
Virtual machine 14 installing win7 (Figure tutorial)
Divide and rule classic Hanoi
全链路业务追踪落地实践方案
Stock suspension
1181: integer parity sort
Edit the live broadcast source code with me. How to write the live broadcast app code
HDI的盲孔设计,你注意到这个细节了吗?
==和eqauls()的区别