当前位置:网站首页>Two methods of redis installation and configuration in Windows Environment
Two methods of redis installation and configuration in Windows Environment
2022-07-22 08:54:00 【Like pigs】
Catalog
1、windows In the environment redis Need to go github Get on the :
7. Set up a key Value , And get key Value
Preface :
Recently, when I was developing a project, I encountered a problem that I couldn't connect to the server redis, You need to install it locally redis Environment , I found the complete installation and configuration steps from the Internet , Here's the record , Hope to help students who need it .
A screenshot of the error report ;
Install now redis To deal with
install and configure Redis
Redis There are two types of installation , One is the installation package , The other is compressed package
Be careful :windows No, 32 Bit , therefore 32 A friend of the machine is considering changing the machine .
One 、 Installation package
1、windows In the environment redis Need to go github Get on the :
Releases · microsoftarchive/redis · GitHub
2、 Download the latest version directly , choice .msi Installation version of format ( another .zip Install by command )
3. Open the local folder :
4. New user name , password
Found... In configuration requirepass foobared word , Add a line after it , Input :requirepass 123456. This is a visit redis The password required when , In general, you don't need to set a password
5. Enter the computer service selection redis name , Check the startup , If it is not started , Need to be set to start .
6. Test it redis Whether it is in normal use . You can view... From the command line , Input redis-cli And enter the vehicle.
7. Set up a key Value , And get key Value
边栏推荐
- 职业交易者自用多年的终极突破策略分享(附全套交易模板)
- MySQL builds temporary tables through parameters
- [C语言] 文件操作《一》
- Depth solution of pointer "seven" (related knowledge of function pointer)
- La Fondation n'est pas assez solide pour secouer la montagne
- Document operation II (5000 word summary)
- Original one bit multiplier
- 交易进阶必由之路:从小白到稳定盈利(三)
- Conversion of JS time and timestamp
- Weak foundation, shaking earth and mountains, Niu Ke brushes the title "II"
猜你喜欢
序列化和反序列化
OSPF 重发布
Self study golang [3.3go language loop statement] for loop syntax structure, omit initial conditions, omit incremental conditions, omit the application of end conditions
[C language] document operation "I"
v-7
C语言刷题笔记之基础不牢地动山摇 <一>
Activiti default model ER diagram
Dynamic memory management
一个交易系统需要经过几年的考验才算成功的交易系统,盈利需要几年才算稳定?
解释内存中的栈(stack)、堆(heap)和方法区(method area)的用法
随机推荐
Try catch finally contains several cases of return and the return result
How to open an account for agricultural futures? Who can open Everbright futures?
不断提升认知,从而达到交易的最高级别——稳定盈利(终)
Activiti default model ER diagram
How to judge the trend in quantitative trading
银河证券vip低佣金开户安全吗?是骗局吗?
动态内存管理
张驰咨询:某包装印刷集团第五期六西格玛项目通过专家评审
去除tinymce中粘贴的样式
js 对象深拷贝
Shell exercise: Statistics of word frequency
文件操作《二》(5000字总结篇)
File operation and related functions
FastJson、JackJson处理时间、日期问题注意事项
[quick start of flex layout] quickly understand the usage of flex layout, and explain it through four common layout cases [detailed notes, as soon as you see it]
Cannot read property ‘type‘ of undefined Occurred while linting **\index.jsx:1
try catch finally 中包含return的几种情况,及返回结果
指针的深度解刨《五》
"Everest" architecture strongly enables the third-generation Roewe rx5/ super hybrid erx5 to refresh the "ceiling" of product power
Continuously improve cognition, so as to reach the highest level of trading - stable profits (I)