当前位置:网站首页>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 .
边栏推荐
- Introduction and advanced MySQL (XIV)
- Producer consumer model of concurrent model
- Production deployment zabbix5.0 notes
- C traps and defects Chapter 3 semantic "traps" 3.2 pointers to non arrays
- How to deploy sentinel cluster of redis
- Unity game special effects
- MySQL installation and configuration super detailed tutorial and simple database and table building method
- Pp-yoloe details
- How to realize shortcut keys for interface scaling by vscade
- Division and description of military technical documents
猜你喜欢

Unity 之游戏特效
![[freeswitch development practice] unimrcp compilation and installation](/img/ef/b82326152326293bf98e89da28b887.png)
[freeswitch development practice] unimrcp compilation and installation

makefile详解

Rdkit I: using rdkit to screen the structural characteristics of chemical small molecules

MySQL流程控制之while、repeat、loop循环实例分析

Matlab learning -- structured programs and user-defined functions

Producer consumer model of concurrent model

Bingbing learning notes: operator overloading -- implementation of date class
![Leetcode 1331 array sequence number conversion [map] the leetcode path of heroding](/img/be/d429d0c437dc5ed7cb4448e223a83a.png)
Leetcode 1331 array sequence number conversion [map] the leetcode path of heroding

Example analysis of while, repeat and loop loops in MySQL process control
随机推荐
CUDA GDB prompt: /tmp/tmpxft**** cudafe1.stub. c: No such file or directory.
VISO fast rendering convolution block
Code speed optimization
"PHP Basics" output approximate value of PI
Mathematical modeling -- analytic hierarchy process model
后缀自动机(sam)板子 from jly
反脆弱·从不确定性中获益---管理?
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 and advanced MySQL (13)
Singleton and invariant modes of concurrent mode
A simple and general method to obtain the size of function stack space
照片比例校正工具:DxO ViewPoint 3 直装版
A case of gradually analyzing the splitting of classes -- colorful ball collisions
Shell script summary
Regular expression bypasses WAF
基于单片机烟雾温湿度甲醛监测设计
Configure vscade to realize ROS writing
简历竟然敢写精通并发编程,那你说说AQS为什么要用双向链表?
MySQL installation and configuration super detailed tutorial and simple database and table building method