centos7 部署 skywalking
阿新 • • 發佈:2021-06-28
#部署ElasticSearch docker run -d --name=es7 -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:7.7.1 #ElasticSeach 做持久化 mkdir -pv /data/elasticsearch/ docker cp es7:/usr/share/elasticsearch/data /data/elasticsearch/ docker cp es7:/usr/share/elasticsearch/logs /data/elasticsearch/ docker cp es7:/usr/share/elasticsearch/config /data/elasticsearch/ docker cp es7:/usr/share/elasticsearch/plugins /data/elasticsearch/ docker cp es7:/usr/share/elasticsearch/modules /data/elasticsearch/ docker rm -f es7 docker run -d --name=es7 --restart=always -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" \ -v /data/elasticsearch/data:/usr/share/elasticsearch/data \ -v /data/elasticsearch/logs:/usr/share/elasticsearch/logs \ -v /data/elasticsearch/config:/usr/share/elasticsearch/config \ -v /data/elasticsearch/plugins:/usr/share/elasticsearch/plugins \ -v /data/elasticsearch/modules:/usr/share/elasticsearch/modules \ elasticsearch:7.7.1 #部署skywalking docker run --name oap --restart always -d --restart=always -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:8.5.0-es7 docker run -d --name skywalking-ui --restart=always -e TZ=Asia/Shanghai \ -p 8088:8080 --link oap:oap -e SW_OAP_ADDRESS=oap:12800 apache/skywalking-ui:8.5.0