当前位置:网站首页>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 .
边栏推荐
- Does domestic ERP have a chance to beat sap?
- Implement Lmax disruptor queue from scratch (VI) analysis of the principle of disruptor solving pseudo sharing and consumers' elegant stopping
- HDU multi School Game 2 1011 DOS card
- Precautions for using latex
- How to deploy sentinel cluster of redis
- Introduction and advanced MySQL (XIV)
- How to realize multi line annotation in MATLAB
- Detailed steps for installing MySQL 8.0 under Linux
- Asynchronous callback future mode of concurrent mode
- Producer consumer model of concurrent model
猜你喜欢

暴力递归到动态规划 01 (机器人移动)

Does domestic ERP have a chance to beat sap?

AI_ Drug: VAE of molecular generation model (I)

Implement Lmax disruptor queue from scratch (VI) analysis of the principle of disruptor solving pseudo sharing and consumers' elegant stopping

STC单片机驱动1.8‘TFT SPI屏幕演示示例(含资料包)

通过递归实现多级联动

How to solve the time zone problem in MySQL timestamp

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

Learn more than 4000 words, understand the problem of this pointing in JS, and handwrite to realize call, apply and bind

KNN method predicts pregnancy, KNN principle simple code
随机推荐
数字孪生实际应用案例-智慧能源篇
How dare you write a resume that is proficient in concurrent programming? Why do you use a two-way linked list in AQS?
Notes on letter symbol marking of papers
Precautions for using latex
Bingbing learning notes: operator overloading -- implementation of date class
一种简单通用的获取函数栈空间大小的方法
机器学习【Numpy】
How close can QA be to business code QA conducts testability transformation on business code
Rdkit: introduce smiles code, smart code and Morgan fingerprint (ECFP)
HDU multi School Game 2 1011 DOS card
C traps and defects Chapter 3 semantic "traps" 3.6 Boundary Calculation and asymmetric boundary
How to deploy sentinel cluster of redis
Redis之sentinel哨兵集群怎么部署
3D advanced renderer: artlandis studio 2021.2 Chinese version
RTP 发送 和接收 h265
Self study notes on Apache file management -- mapping folders and configuring Apache virtual machines based on single IP and multi domain names
Understanding of p-type problems, NP problems, NPC problems, and NP hard problems in natural computing
通过递归实现多级联动
Unity 之游戏特效
Microcomputer principle operation