Skip to content

Commit

Permalink
修改 README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sang8052 authored Mar 7, 2024
1 parent bde9e06 commit 6bfadeb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,25 @@
下载地址[ 奶牛快传](https://cowtransfer.com/s/14328537805f46)
按照默认配置,正常安装
![image.png](https://cdn.nlark.com/yuque/0/2024/png/2484069/1709792159103-f8154e31-81eb-43e1-b300-78f97f72364d.png#averageHue=%23eeeceb&clientId=u19b91260-0f48-4&from=paste&height=389&id=uec48f2e1&originHeight=389&originWidth=499&originalType=binary&ratio=1&rotation=0&showTitle=false&size=31460&status=done&style=none&taskId=u72475ab3-b785-4536-8e2c-4d7096864e3&title=&width=499)

安装完成后,修改安装目录下的 redis.windows-service.conf 文件
![image.png](https://cdn.nlark.com/yuque/0/2024/png/2484069/1709792564955-e1c2fcc9-56ce-415d-ae95-f01d6ba2a873.png#averageHue=%23f8f7f5&clientId=u19b91260-0f48-4&from=paste&height=377&id=ua78bfe15&originHeight=377&originWidth=676&originalType=binary&ratio=1&rotation=0&showTitle=false&size=41962&status=done&style=none&taskId=uafc710be-71b7-4879-89a3-e862c414363&title=&width=676)

1.修改文件的第 64 行, 将redis 的监听地址改成 0.0.0.0

![image.png](https://cdn.nlark.com/yuque/0/2024/png/2484069/1709792552422-c1a55177-06ef-4234-aa87-85e022fa19f6.png#averageHue=%23f3eeec&clientId=u19b91260-0f48-4&from=paste&height=239&id=ucbf7bbf7&originHeight=239&originWidth=396&originalType=binary&ratio=1&rotation=0&showTitle=false&size=14727&status=done&style=none&taskId=ua990e10f-123f-4dac-b99b-61fe32225fe&title=&width=396)
2修改文件的第 503 行 ,取消注释,并给redis 加上密码

2.修改文件的第 503 行 ,取消注释,并给redis 加上密码

![image.png](https://cdn.nlark.com/yuque/0/2024/png/2484069/1709792482965-3446e2ae-d660-44ed-93a3-ed4ca4d30f49.png#averageHue=%23f3efed&clientId=u19b91260-0f48-4&from=paste&height=280&id=ue4f2fd5f&originHeight=280&originWidth=663&originalType=binary&ratio=1&rotation=0&showTitle=false&size=29980&status=done&style=none&taskId=u7c07a332-a41a-48c5-a6ff-39c03829376&title=&width=663)

保存修改的文件,然后打开任务管理器
在服务选项卡中下拉找到Redis 服务,右击重启启动该服务

![image.png](https://cdn.nlark.com/yuque/0/2024/png/2484069/1709792638781-19a1f244-857e-4045-a4e1-36e69294adba.png#averageHue=%23f5f1ef&clientId=u19b91260-0f48-4&from=paste&height=604&id=u57bd8e9a&originHeight=604&originWidth=683&originalType=binary&ratio=1&rotation=0&showTitle=false&size=82309&status=done&style=none&taskId=u3adf36d9-e5e5-49f1-9037-00b2e2c7944&title=&width=683)
## 修改配置文件
修改项目文件夹下的 config.json 中 redis 的密码

![image.png](https://cdn.nlark.com/yuque/0/2024/png/2484069/1709793084694-575ed91c-71b3-4b74-96d8-250967a3ee43.png#averageHue=%23f9f7f7&clientId=u19b91260-0f48-4&from=paste&height=352&id=u6edf01d5&originHeight=352&originWidth=653&originalType=binary&ratio=1&rotation=0&showTitle=false&size=24922&status=done&style=none&taskId=u05d357e9-3e52-4425-925c-7c55c4eb849&title=&width=653)


Expand Down

0 comments on commit 6bfadeb

Please sign in to comment.