当前位置:网站首页>Build redis environment under windows and Linux
Build redis environment under windows and Linux
2022-07-29 03:26:00 【Yang Jianye】
windows Deploy redis:
- 1、 First, after decompression , Modify the configuration file :redis.windows-service.conf
- 2、 modify —bind 192.168.222.138(redis Server address )
- 3、 modify —requirepass redis123(redis Authenticated password )
- 4、 modify —port 6379( Default 6379)
- 5、 Other parameters please Baidu
- 6、 Use the administrator to open CMD,cd To redis Under the root directory of , perform :redis-server.exe redis.windows-service.conf
- 7、 Wait a moment , perform :redis-cli -h 192.168.222.138(redis Server address )
- 8、 Wait a moment , perform :auth redis123( password ), return OK
- 9、 Input :keys *, View all currently cached key
- 10、 If you use Windows PowerShell start-up redis when , When executing the script, you need to enter “.\”, Such as :“.\redis-cli -h 192.168.222.138”
linux Deploy redis:
- 1、 First, after decompression , Under the unzip Directory , perform make command , Wait for the compilation to complete , perform make install command , Wait for the installation to complete , Modify the configuration file —redis.conf
- 2、 modify —bind 192.168.222.139(redis Server address )
- 3、 modify —requirepass redis123(redis Authenticated password )
- 4、 modify —port 6379( Default 6379)
- 5、 Other parameters please Baidu
- 6、 Switch to after modification src Under the table of contents , perform nohup redis-server …/redis.conf &, Execute after execution redis-cli -h 192.168.222.139(redis Server's ip), Input redis Authenticated password :auth redis123, return OK That is, the startup is successful .
边栏推荐
- 年内首个“三连跌” 95号汽油回归“8元时代“
- Introduction and advanced level of MySQL (11)
- 通过递归实现多级联动
- C traps and defects Chapter 3 semantic "traps" 3.7 evaluation order
- Simple code implementation of decision tree
- July 28, 2022 Gu Yujia's study notes
- 2022-07-28 study notes of group 4 self-cultivation class (every day)
- 【C】 Array
- How to realize shortcut keys for interface scaling by vscade
- Shortcut key for adjusting terminal size in ROS
猜你喜欢

Flask creation process day05-06 creation project

Tonight at 7:30 | is the AI world in the eyes of Lianjie, Jiangmen, Baidu and country garden venture capital continue to be advanced or return to the essence of business

Whole process record of yolov3 target detection

照片比例校正工具:DxO ViewPoint 3 直装版

How to solve the time zone problem in MySQL timestamp
![[freeswitch development practice] unimrcp compilation and installation](/img/ef/b82326152326293bf98e89da28b887.png)
[freeswitch development practice] unimrcp compilation and installation

How dare you write a resume that is proficient in concurrent programming? Why do you use a two-way linked list in AQS?

Multi level wavelet CNN for image restoration

Idea configuration web container and war packaging

「PHP基础知识」输出圆周率的近似值
随机推荐
ROS-Errror:Did you forget to specify generate_ messages(DEPENDENCIES ...)?
CUDA GDB prompt: /tmp/tmpxft**** cudafe1.stub. c: No such file or directory.
2022-07-28 study notes of group 4 self-cultivation class (every day)
Anti vulnerability · benefit from uncertainty --- management?
xxxxx
What is eplato cast by Plato farm on elephant swap? Why is there a high premium?
Matlab learning -- structured programs and user-defined functions
数字孪生实际应用案例-智慧能源篇
力扣刷题之数组序号计算(每日一题7/28)
Learn more than 4000 words, understand the problem of this pointing in JS, and handwrite to realize call, apply and bind
Introduction and advanced MySQL (XIV)
Mathematical modeling -- analytic hierarchy process model
Sanzi chess (player + computer)
Redis之sentinel哨兵集群怎么部署
"PHP Basics" output approximate value of PI
Self study notes on Apache file management -- mapping folders and configuring Apache virtual machines based on single IP and multi domain names
A simple and general method to obtain the size of function stack space
Idea configuration web container and war packaging
makefile详解
ShardingSphere之水平分表实战(三)