更新文档
This commit is contained in:
parent
05ad119a16
commit
89a69f1e89
56
README.md
56
README.md
@ -4,17 +4,18 @@
|
||||
|
||||
### 服务器硬件配置
|
||||
|
||||
| 硬件 | 配置 | 数量 | 单价 |
|
||||
|-----|----------------------------|----|-------|
|
||||
| CPU | E5 2673v3 | 2 | 56 |
|
||||
| 主板 | 华南金牌 x99-8D3 双路 | 1 | 580 |
|
||||
| 内存 | 三星 32G DDR3 ECC 4R*4 1866L | 2 | 88 |
|
||||
| 机箱 | 金河田 凌霜Pro 黑色 | 1 | 148 |
|
||||
| 电源 | 鑫谷 GN650 650W 金牌 | 1 | 299 |
|
||||
| 硬盘 | 西数 SN530 512G | 1 | 笔记本拆机 |
|
||||
| 风扇 | A500 风扇 | 2 | 40 |
|
||||
| 显卡 | 亮机卡 | 1 | 20 |
|
||||
| | | 总价 | 1415 |
|
||||
| 硬件 | 配置 | 数量 | 参考单价 |
|
||||
|-----|----------------------------|----|------------|
|
||||
| CPU | E5 2673v3 | 2 | 56 |
|
||||
| 主板 | 华南金牌 x99-8D3 双路 | 1 | 580 |
|
||||
| 内存 | 三星 32G DDR3 ECC 4R*4 1866L | 2 | 88 |
|
||||
| 机箱 | 金河田 凌霜Pro 黑色 | 1 | 148 |
|
||||
| 电源 | 鑫谷 GN650 650W 金牌 | 1 | 299 |
|
||||
| 风扇 | A500 风扇 | 2 | 40 |
|
||||
| 显卡 | 亮机卡 | 1 | 20 |
|
||||
| 硬盘 | 三星 970EVO 512G | 1 | 600(笔记本拆机) |
|
||||
| 硬盘 | 希捷 紫盘 4T | 1 | 439 |
|
||||
| | | 总价 | 2454 |
|
||||
|
||||
### 内网穿透服务器(测试服务器)
|
||||
|
||||
@ -148,6 +149,11 @@
|
||||
|
||||
## 项目环境部署
|
||||
|
||||
### portainer docker 可视化
|
||||
|
||||
```shell
|
||||
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
|
||||
```
|
||||
### Mysql 数据库
|
||||
|
||||
```shell
|
||||
@ -187,15 +193,33 @@ nacos/nacos-server:v2.2.3
|
||||
docker run -p 9200:9200 -p 9300:9300 --name elasticsearch \
|
||||
-e "discovery.type=single-node" \
|
||||
-e ES_JAVA_OPTS="-Xms512m -Xmx512m" \
|
||||
-d elasticsearch:7.8.0
|
||||
-d elasticsearch:7.17.7
|
||||
|
||||
docker exec -it elasticsearch /bin/bash
|
||||
|
||||
./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v7.17.5/elasticsearch-analysis-ik-7.17.5.zip
|
||||
./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v7.17.7/elasticsearch-analysis-ik-7.17.7.zip
|
||||
|
||||
docker restart elasticsearch
|
||||
|
||||
docker run -d --name kibana --link elasticsearch:elasticsearch -p 5601:5601 kibana:7.8.0
|
||||
docker run -d --name kibana --link elasticsearch:elasticsearch -p 5601:5601 kibana:7.17.7
|
||||
```
|
||||
|
||||
其中服务器可能因为网络原因下载不下来 ik 分词器,我们下载后本地导入安装
|
||||
|
||||
```shell
|
||||
# ik 分词器在服务器中的位置 /root/elasticsearch-analysis-ik-7.17.7.zip
|
||||
# 导入 docker 中
|
||||
docker cp /root/elasticsearch-analysis-ik-7.17.7.zip elasticsearch:/tmp/elasticsearch-analysis-ik-7.17.7.zip
|
||||
|
||||
# 进入容器
|
||||
docker exec -it elasticsearch /bin/bash
|
||||
|
||||
# 安装
|
||||
./bin/elasticsearch-plugin install file:///tmp/elasticsearch-analysis-ik-7.17.7.zip
|
||||
|
||||
# 退出后继续按照上述内容重启 安装 kibana
|
||||
exit
|
||||
|
||||
```
|
||||
|
||||
### GrayLog 日志框架 (已弃用,日志服务整合到 SkyWalking)
|
||||
@ -277,7 +301,7 @@ services:
|
||||
environment:
|
||||
SW_HEALTH_CHECKER: default
|
||||
SW_STORAGE: elasticsearch
|
||||
SW_STORAGE_ES_CLUSTER_NODES: 124.70.87.134:9200
|
||||
SW_STORAGE_ES_CLUSTER_NODES: 192.168.31.50:9200
|
||||
JAVA_OPTS: "-Xms2048m -Xmx2048m"
|
||||
TZ: Asia/Shanghai
|
||||
SW_TELEMETRY: prometheus
|
||||
@ -302,7 +326,7 @@ services:
|
||||
ports:
|
||||
- "8080:8080"
|
||||
environment:
|
||||
SW_OAP_ADDRESS: http://124.70.87.134:12800
|
||||
SW_OAP_ADDRESS: http://192.168.31.50:12800
|
||||
SW_HEALTH_CHECKER: default
|
||||
TZ: Asia/Shanghai
|
||||
healthcheck:
|
||||
|
Loading…
Reference in New Issue
Block a user