上传部署文档

This commit is contained in:
liwei1dao 2023-12-15 11:15:34 +08:00
parent 5ddbc8f880
commit f76a374fd0

View File

@ -18,13 +18,31 @@
### 安装部署依赖环境
1. 安装 MongoDB 教程 https://segmentfault.com/a/1190000039268500
* 安装版本
2. 安装 Redis 教程
1. 安装 git:
```yum install -y git
```
- git 账号重复输出修复命令:git config --global credential.helper store
2. 安装 MongoDB 教程 https://segmentfault.com/a/1190000039268500
3. 创建 MongoDB 用户名和密码
```
mongo
use admin
db.createUser({ user: "root", pwd: "Legu.cc()123", roles: [{ role: "userAdminAnyDatabase", db: "admin" }] })
```
4. 安装 Redis 教程
- 单节点 https://segmentfault.com/a/1190000023178516
- 集群:https://blog.csdn.net/jiang1986829/article/details/108667854
3. 安装 Consul https://blog.csdn.net/jeikerxiao/article/details/78114413
4. 安装 NetCore SDK6 版本 https://learn.microsoft.com/en-us/dotnet/core/install/linux-centos
5. 安装 Consul https://blog.csdn.net/weixin_45391817/article/details/123113384
- nohup ./consul agent -dev -client 0.0.0.0 -ui > /dev/null 2>&1 &
6. 安装 NetCore SDK6 版本 https://learn.microsoft.com/en-us/dotnet/core/install/linux-centos
### 修改配置文件