当前位置:网站首页>Detailed steps of windows installation redis
Detailed steps of windows installation redis
2022-07-03 09:21:00 【Did Xiao Hu get stronger today】
List of articles
Preface
There is a need to Windows Installation on Redis, There are some mistakes in the middle , Refer to some materials on the Internet , Make a summary record , So as not to use it later .
download Windows Version installation package
The official website only provides linux Version download , however github There are Windows Version of .
github Address : https://github.com/MicrosoftArchive/redis/releases
choice Redis-x64-3.0.504.zip File and download ,
install Redis
Very simple installation , Unzip the installation package downloaded above to a fixed directory , For example, I unzipped it to E:\App\Devlp\redis Under the catalogue .
Add environment variables , take reids The installation directory is added to the environment variable Path in . Pay attention to replace with your own installation path .
start-up Redis test
Enter under the installation directory cmd And return . Input
redis-server redis.windows.conf
And return . The following interface appears, indicating that the installation is successful .
Redis Service related configuration
- modify redis.windows-service.conf The configuration file , modify Redis Password
take requirepass:xxx It is amended as follows requirepass :123456

2. Create log folder , Otherwise start redis Errors will be reported during service .
redis.windows-service.conf In profile logfile Set Directory , And in redis-server.exe Create a directory folder in the folder .
Record on pit : Be sure to create in the installation directory Logs/redis_log.txt file , Otherwise, it will lead to Redis The service doesn't start .
Set up services
cmd Input
redis-server --service-install redis.windows-service.conf --loglevel verbose
If there is no error after entering the command , Service setup succeeded , Right click the computer — management ---- service , You can see that there is already Redis Yes .
start-up Redis service
Enter the command :
redis-server --service-start
As shown in the figure below , Indicates that the service is started successfully .
see Redis service , It has become running .
frequently-used Redis The service command
Opening service :redis-server --service-start
Out of Service :redis-server --service-stop
Uninstall service :redis-server --service-uninstall
边栏推荐
- 【点云处理之论文狂读前沿版8】—— Pointview-GCN: 3D Shape Classification With Multi-View Point Clouds
- [advanced feature learning on point clouds using multi resolution features and learning]
- Excel is not as good as jnpf form for 3 minutes in an hour. Leaders must praise it when making reports like this!
- 2022-2-14 learning xiangniuke project - generate verification code
- 常见渗透测试靶场
- NPM install installation dependency package error reporting solution
- Matlab dichotomy to find the optimal solution
- Methods of using arrays as function parameters in shell
- The "booster" of traditional office mode, Building OA office system, was so simple!
- 【点云处理之论文狂读经典版10】—— PointCNN: Convolution On X-Transformed Points
猜你喜欢

Principles of computer composition - cache, connection mapping, learning experience

Vs2019 configuration opencv3 detailed graphic tutorial and implementation of test code

AcWing 785. 快速排序(模板)

【点云处理之论文狂读经典版8】—— O-CNN: Octree-based Convolutional Neural Networks for 3D Shape Analysis

传统企业数字化转型需要经过哪几个阶段?
![[kotlin learning] classes, objects and interfaces - classes with non default construction methods or attributes, data classes and class delegates, object keywords](/img/ee/d982fd9e1f2283e09ad1a81d0b61b5.png)
[kotlin learning] classes, objects and interfaces - classes with non default construction methods or attributes, data classes and class delegates, object keywords

IDEA 中使用 Hudi

AcWing 787. Merge sort (template)

低代码前景可期,JNPF灵活易用,用智能定义新型办公模式

What is an excellent fast development framework like?
随机推荐
2022-2-14 learning xiangniuke project - generate verification code
[graduation season | advanced technology Er] another graduation season, I change my career as soon as I graduate, from animal science to programmer. Programmers have something to say in 10 years
低代码前景可期,JNPF灵活易用,用智能定义新型办公模式
Numerical analysis notes (I): equation root
【点云处理之论文狂读前沿版13】—— GAPNet: Graph Attention based Point Neural Network for Exploiting Local Feature
Sword finger offer II 091 Paint the house
LeetCode 515. Find the maximum value in each tree row
【点云处理之论文狂读前沿版9】—Advanced Feature Learning on Point Clouds using Multi-resolution Features and Learni
Solve POM in idea Comment top line problem in XML file
State compression DP acwing 91 Shortest Hamilton path
Principles of computer composition - cache, connection mapping, learning experience
What are the stages of traditional enterprise digital transformation?
Introduction to the usage of getopts in shell
【点云处理之论文狂读前沿版11】—— Unsupervised Point Cloud Pre-training via Occlusion Completion
Hudi 集成 Spark 数据分析示例(含代码流程与测试结果)
Temper cattle ranking problem
Matlab dichotomy to find the optimal solution
Simple use of MATLAB
[point cloud processing paper crazy reading frontier version 11] - unsupervised point cloud pre training via occlusion completion
Crawler career from scratch (I): crawl the photos of my little sister ① (the website has been disabled)