上传部署文档
This commit is contained in:
parent
5ddbc8f880
commit
f76a374fd0
@ -18,13 +18,31 @@
|
|||||||
|
|
||||||
### 安装部署依赖环境
|
### 安装部署依赖环境
|
||||||
|
|
||||||
1. 安装 MongoDB 教程 https://segmentfault.com/a/1190000039268500
|
1. 安装 git:
|
||||||
* 安装版本
|
|
||||||
2. 安装 Redis 教程
|
```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://segmentfault.com/a/1190000023178516
|
||||||
- 集群:https://blog.csdn.net/jiang1986829/article/details/108667854
|
- 集群:https://blog.csdn.net/jiang1986829/article/details/108667854
|
||||||
3. 安装 Consul https://blog.csdn.net/jeikerxiao/article/details/78114413
|
5. 安装 Consul https://blog.csdn.net/weixin_45391817/article/details/123113384
|
||||||
4. 安装 NetCore SDK6 版本 https://learn.microsoft.com/en-us/dotnet/core/install/linux-centos
|
|
||||||
|
- 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
|
||||||
|
|
||||||
### 修改配置文件
|
### 修改配置文件
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user