当前位置:网站首页>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 57. 插入区间
- State compression DP acwing 291 Mondrian's dream
- Go language - Reflection
- 低代码前景可期,JNPF灵活易用,用智能定义新型办公模式
- Data mining 2021-4-27 class notes
- [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开启企业数字化转型的新引擎
- [kotlin learning] operator overloading and other conventions -- overloading the conventions of arithmetic operators, comparison operators, sets and intervals
- 【点云处理之论文狂读经典版11】—— Mining Point Cloud Local Structures by Kernel Correlation and Graph Pooling
- 精彩回顾|I/O Extended 2022 活动干货分享
猜你喜欢
即时通讯IM,是时代进步的逆流?看看JNPF怎么说
我們有個共同的名字,XX工
Sword finger offer II 091 Paint the house
[point cloud processing paper crazy reading classic version 12] - foldingnet: point cloud auto encoder via deep grid deformation
LeetCode 75. Color classification
[point cloud processing paper crazy reading classic version 10] - pointcnn: revolution on x-transformed points
[advanced feature learning on point clouds using multi resolution features and learning]
2022-2-14 learning xiangniuke project - Session Management
【点云处理之论文狂读前沿版13】—— GAPNet: Graph Attention based Point Neural Network for Exploiting Local Feature
拯救剧荒,程序员最爱看的高分美剧TOP10
随机推荐
Use the interface colmap interface of openmvs to generate the pose file required by openmvs mvs
Noip 2002 popularity group selection number
IDEA 中使用 Hudi
npm install安装依赖包报错解决方法
Wonderful review | i/o extended 2022 activity dry goods sharing
拯救剧荒,程序员最爱看的高分美剧TOP10
AcWing 788. 逆序对的数量
LeetCode 515. 在每个树行中找最大值
[point cloud processing paper crazy reading classic version 9] - pointwise revolutionary neural networks
Jenkins learning (II) -- setting up Chinese
Linxu learning (4) -- Yum and apt commands
【点云处理之论文狂读前沿版8】—— Pointview-GCN: 3D Shape Classification With Multi-View Point Clouds
图像修复方法研究综述----论文笔记
LeetCode 532. 数组中的 k-diff 数对
Jenkins learning (III) -- setting scheduled tasks
MySQL installation and configuration (command line version)
Excel is not as good as jnpf form for 3 minutes in an hour. Leaders must praise it when making reports like this!
Just graduate student reading thesis
On a un nom en commun, maître XX.
Digital statistics DP acwing 338 Counting problem