当前位置:网站首页>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
边栏推荐
- LeetCode 515. 在每个树行中找最大值
- LeetCode 324. Swing sort II
- Pic16f648a-e/ss PIC16 8-bit microcontroller, 7KB (4kx14)
- LeetCode 513. Find the value in the lower left corner of the tree
- Liteide is easy to use
- Crawler career from scratch (3): crawl the photos of my little sister ③ (the website has been disabled)
- 浅谈企业信息化建设
- 拯救剧荒,程序员最爱看的高分美剧TOP10
- [kotlin learning] classes, objects and interfaces - classes with non default construction methods or attributes, data classes and class delegates, object keywords
- Introduction to the usage of getopts in shell
猜你喜欢
![[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

MySQL installation and configuration (command line version)

【点云处理之论文狂读经典版14】—— Dynamic Graph CNN for Learning on Point Clouds

LeetCode 57. Insert interval

What are the stages of traditional enterprise digital transformation?

Computing level network notes

低代码起势,这款信息管理系统开发神器,你值得拥有!

剑指 Offer II 029. 排序的循环链表

LeetCode 513. 找树左下角的值

LeetCode 30. 串联所有单词的子串
随机推荐
Severity code description the project file line prohibits the display of status error c2440 "initialization": unable to convert from "const char [31]" to "char *"
Sword finger offer II 029 Sorted circular linked list
2022-2-13 learning xiangniuke project - version control
Low code momentum, this information management system development artifact, you deserve it!
On a un nom en commun, maître XX.
2022-2-14 learning xiangniuke project - generate verification code
AcWing 787. Merge sort (template)
即时通讯IM,是时代进步的逆流?看看JNPF怎么说
AcWing 788. Number of pairs in reverse order
Redis learning (I)
Hudi 集成 Spark 数据分析示例(含代码流程与测试结果)
【Kotlin学习】高阶函数的控制流——lambda的返回语句和匿名函数
Uc/os self-study from 0
Use the interface colmap interface of openmvs to generate the pose file required by openmvs mvs
Notes on numerical analysis (II): numerical solution of linear equations
AcWing 785. Quick sort (template)
LeetCode 75. Color classification
Crawler career from scratch (IV): climb the bullet curtain of station B through API
Introduction to the basic application and skills of QT
LeetCode 515. 在每个树行中找最大值