1. git 下kibana的source code
git clone https://github.com/{yourID}/kibana.git kibana
2. 查看branch
git branch -a
3. 切换到6.x
git checkout 6.x
4.BootstrapKibana and install all the dependencies
yarn kbn bootstrap
直到出现:
。。。。。。
Bootstrapping completed! Done in 58.47s
5. On Windows, you'll need you use Git Bash, Cygwin, or a
similar shell that exposes the sh command.
6. 编辑config/kibana.yml,设置ES URL,e.g.
elasticsearch.url:http://10.2.28.8:9200
7.Yarn start
或者
D:\workspaceK\kibana>sh ./bin/kibana –dev
8. 6.x用yarn, 6.x以下, 仍然是npm,
9. ref: https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#testing-and-building
网友评论