当前位置:网站首页>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
边栏推荐
- How to check whether the disk is in guid format (GPT) or MBR format? Judge whether UEFI mode starts or legacy mode starts?
- 传统办公模式的“助推器”,搭建OA办公系统,原来就这么简单!
- Common penetration test range
- What is the difference between sudo apt install and sudo apt -get install?
- What is an excellent fast development framework like?
- 2022-2-14 learning xiangniuke project - Session Management
- Win10 quick screenshot
- 【毕业季|进击的技术er】又到一年毕业季,一毕业就转行,从动物科学到程序员,10年程序员有话说
- IDEA 中使用 Hudi
- 【点云处理之论文狂读经典版7】—— Dynamic Edge-Conditioned Filters in Convolutional Neural Networks on Graphs
猜你喜欢

How to check whether the disk is in guid format (GPT) or MBR format? Judge whether UEFI mode starts or legacy mode starts?

LeetCode 508. 出现次数最多的子树元素和

【点云处理之论文狂读经典版9】—— Pointwise Convolutional Neural Networks

LeetCode 57. Insert interval

Education informatization has stepped into 2.0. How can jnpf help teachers reduce their burden and improve efficiency?

【点云处理之论文狂读前沿版8】—— Pointview-GCN: 3D Shape Classification With Multi-View Point Clouds

LeetCode 30. 串联所有单词的子串

Solve POM in idea Comment top line problem in XML file

AcWing 786. Number k

Instant messaging IM is the countercurrent of the progress of the times? See what jnpf says
随机推荐
【Kotlin学习】运算符重载及其他约定——重载算术运算符、比较运算符、集合与区间的约定
【点云处理之论文狂读经典版7】—— Dynamic Edge-Conditioned Filters in Convolutional Neural Networks on Graphs
In the digital transformation, what problems will occur in enterprise equipment management? Jnpf may be the "optimal solution"
What is an excellent fast development framework like?
Introduction to the basic application and skills of QT
[point cloud processing paper crazy reading classic version 9] - pointwise revolutionary neural networks
Problems in the implementation of lenet
[kotlin learning] classes, objects and interfaces - define class inheritance structure
精彩回顾|I/O Extended 2022 活动干货分享
Low code momentum, this information management system development artifact, you deserve it!
LeetCode 75. Color classification
Principles of computer composition - cache, connection mapping, learning experience
[point cloud processing paper crazy reading classic version 10] - pointcnn: revolution on x-transformed points
Vs2019 configuration opencv3 detailed graphic tutorial and implementation of test code
Spark 结构化流写入Hudi 实践
干货!零售业智能化管理会遇到哪些问题?看懂这篇文章就够了
We have a common name, XX Gong
浅谈企业信息化建设
AcWing 785. 快速排序(模板)
Computing level network notes