当前位置:网站首页>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
边栏推荐
- [point cloud processing paper crazy reading classic version 9] - pointwise revolutionary neural networks
- 图像修复方法研究综述----论文笔记
- Install third-party libraries such as Jieba under Anaconda pytorch
- Go language - Reflection
- [kotlin learning] classes, objects and interfaces - classes with non default construction methods or attributes, data classes and class delegates, object keywords
- npm install安装依赖包报错解决方法
- LeetCode 532. 数组中的 k-diff 数对
- Linxu learning (4) -- Yum and apt commands
- Education informatization has stepped into 2.0. How can jnpf help teachers reduce their burden and improve efficiency?
- Principles of computer composition - cache, connection mapping, learning experience
猜你喜欢
Crawler career from scratch (I): crawl the photos of my little sister ① (the website has been disabled)
LeetCode 532. K-diff number pairs in array
Redis learning (I)
On a un nom en commun, maître XX.
[point cloud processing paper crazy reading classic version 13] - adaptive graph revolutionary neural networks
AcWing 788. Number of pairs in reverse order
Data mining 2021-4-27 class notes
低代码前景可期,JNPF灵活易用,用智能定义新型办公模式
Hudi 集成 Spark 数据分析示例(含代码流程与测试结果)
AcWing 788. 逆序对的数量
随机推荐
Noip 2002 popularity group selection number
Win10 quick screenshot
Pic16f648a-e/ss PIC16 8-bit microcontroller, 7KB (4kx14)
Digital statistics DP acwing 338 Counting problem
Vscode编辑器右键没有Open In Default Browser选项
【点云处理之论文狂读经典版14】—— Dynamic Graph CNN for Learning on Point Clouds
一个优秀速开发框架是什么样的?
Windows安装Redis详细步骤
【点云处理之论文狂读前沿版9】—Advanced Feature Learning on Point Clouds using Multi-resolution Features and Learni
Solve POM in idea Comment top line problem in XML file
Beego learning - Tencent cloud upload pictures
With low code prospect, jnpf is flexible and easy to use, and uses intelligence to define a new office mode
AcWing 786. Number k
【点云处理之论文狂读前沿版11】—— Unsupervised Point Cloud Pre-training via Occlusion Completion
Crawler career from scratch (V): detailed explanation of re regular expression
AcWing 786. 第k个数
Redis learning (I)
[point cloud processing paper crazy reading frontier edition 13] - gapnet: graph attention based point neural network for exploring local feature
【点云处理之论文狂读经典版7】—— Dynamic Edge-Conditioned Filters in Convolutional Neural Networks on Graphs
LeetCode 532. 数组中的 k-diff 数对