zipkin安装
下载zipkin:curl -sSL https://zipkin.io/quickstart.sh | bash -s
或者 wget -O zipkin.jar ‘https://search.maven.org/remote_content?g=io.zipkin.java&a=zipkin-server&v=LATEST&c=exec’
启动: java -jar zipkin.jar 默认使用内存存储模式
或者 java -jar zipkin.jar --STORAGE_TYPE=elasticsearch --DES_HOSTS=http://localhost:9200 指定elasticsearch做为数据存储
elasticsearch安装
参考 https://www.jianshu.com/p/85576c56700e
下载安装的压缩包
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.5.3.tar.gz
解压安装包
tar -xvf elasticsearch-6.5.3.tar.gz
修改conf下面的elasticsearch.yml
cluster.name: elasticsearch
node.name: master
path.data: /usr/local/elasticsearch-6.5.3/data
path.logs: /usr/local/elasticsearch-6.5.3/logs
network.host: 0.0.0.0
http.port: 9200
不能以root用户启动
创建elsearch用户组及elsearch用户
groupadd elsearch
useradd elsearch -g elsearch -p elasticsearch
启动
[elsearch@localhost bin]$ ./elasticsearch
以上错误 参考 http://www.cnblogs.com/sloveling/p/elasticsearch.html
elasticsearch head安装
1.参考 https://www.cnblogs.com/liuqi/p/6483317.html 安装nodejs
2.
下载elasticsearch head代码
[root@localhost ~]# git clone https://github.com/mobz/elasticsearch-head.git
cd elasticse