当前位置:网站首页>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 .
边栏推荐
- Notes on letter symbol marking of papers
- Alibaba Sentinel - workflow and principle analysis
- Introduction to JVM foundation I (memory structure)
- Web uploader cannot upload multiple files
- Idea configuration web container and war packaging
- Implement Lmax disruptor queue from scratch (VI) analysis of the principle of disruptor solving pseudo sharing and consumers' elegant stopping
- 3.2 model saving and loading
- 国产ERP有没有机会击败SAP ?
- How to solve the time zone problem in MySQL timestamp
- 数字图像处理 第10章——图像分割
猜你喜欢

Let's talk about the summary of single merchant function modules

Pp-yoloe details

Configure vscade to realize ROS writing

Example analysis of while, repeat and loop loops in MySQL process control

Reproduce 20 character short domain name bypass and XSS related knowledge points

STC MCU drive 1.8 'TFT SPI screen demonstration example (including data package)

Self study notes on Apache file management -- mapping folders and configuring Apache virtual machines based on single IP and multi domain names

Introduction to JVM foundation I (memory structure)

How to solve the time zone problem in MySQL timestamp

What is eplato cast by Plato farm on elephant swap? Why is there a high premium?
随机推荐
What if MySQL forgets the password
STC单片机驱动1.8‘TFT SPI屏幕演示示例(含资料包)
反脆弱·从不确定性中获益---管理?
Introduction and advanced level of MySQL (12)
How dare you write a resume that is proficient in concurrent programming? Why do you use a two-way linked list in AQS?
Does domestic ERP have a chance to beat sap?
3D高级渲染器:Artlantis studio 2021.2中文版
A simple and general method to obtain the size of function stack space
Three military product baselines (functional baseline, distribution baseline, product baseline) and the documents contained in the baseline
基于单片机烟雾温湿度甲醛监测设计
Let's talk about the summary of single merchant function modules
再学EXKMP(EXKMP模板)
Practical guidance for interface automation testing (Part I): what preparations should be made for interface automation
Simple code implementation of decision tree
Summary of basic knowledge points of C language
Minesweeping simple version
Rdkit I: using rdkit to screen the structural characteristics of chemical small molecules
军品研制过程-转阶段
STC MCU drive 1.8 'TFT SPI screen demonstration example (including data package)
一种简单通用的获取函数栈空间大小的方法