1、相关地址:
官网:https://skywalking.apache.org/
下载:https://skywalking.apache.org/downloads/
Github:https://github.com/apache/skywalking
文档:https://skywalking.apache.org/docs/main/v9.1.0/readme/ 其他版本文档,先进https://skywalking.apache.org/docs/main/,选择版本,查看readme
中文文档:https://skyapm.github.io/document-cn-translation-of-skywalking/
2、拉取docker镜像
docker pull elasticsearch:7.9.0 docker pull apache/skywalking-oap-server:9.4.0 docker pull apache/skywalking-ui:9.4.0
3、创建数据目录
mkdir -p /home/dockerdata/elasticsearch/data mkdir -p /home/dockerdata/elasticsearch/logs
chmod 777 -R /home/dockerdata/elasticsearch/
4、运行elasticsearch
docker run -d --name=es7 \
--restart=always \
-p 9200:9200 -p 9300:9300 \
-e "discovery.type=single-node" \
-e ES_JAVA_OPTS="-Xms64m -Xmx512m" \
-v /home/dockerdata/elasticsearch/data:/usr/share/elasticsearch/data \
-v /home/dockerdata/elasticsearch/logs:/usr/share/elasticsearch/logs \
elasticsearch:7.9.0
5、验证浏览器访问:http://localhost:9200/,返回以下json就表示安装成功
{ "name" : "d654638612a6", "cluster_name" : "docker-cluster", "cluster_uuid" : "GNDrM2ckTZuv_Q9GdFIUVg", "version" : { "number" : "7.9.0", "build_flavor" : "default", "build_type" : "docker", "build_hash" : "a479a2a7fce0389512d6a9361301708b92dff667", "build_date" : "2020-08-11T21:36:48.204330Z", "build_snapshot" : false, "lucene_version" : "8.6.0", "minimum_wire_compatibility_version" : "6.8.0", "minimum_index_compatibility_version" : "6.0.0-beta1" }, "tagline" : "You Know, for Search" }
6、安装skywalking-oap
docker run --name oap --restart=always -d \ -e TZ=Asia/Shanghai \ -p 12800:12800 \ -p 11800:11800 \ --link es7:es7 \ -e SW_STORAGE=elasticsearch7 \ -e SW_STORAGE_ES_CLUSTER_NODES=es7:9200 \ apache/skywalking-oap-server:9.2.0
7、安装skywalking-ui
docker run -d --name skywalking-ui \ --restart=always \ -e TZ=Asia/Shanghai \ -p 9088:8080 \ --link oap:oap \ -e SW_OAP_ADDRESS=oap:12800 \ apache/skywalking-ui:9.4.0
还未完善
标签:elasticsearch7.9,--,elasticsearch,oap,apache,SkyWalkin,docker,skywalking From: https://www.cnblogs.com/binz/p/17435249.html