elasticsearch 安装
yum的一些操作
查看通过yun已经安装的软件包:yum list installed
删除yum安装的软件包:yum remove java-1.8.0-openjdk.x86_64
--------------------------------------------------------------------------------
1、安装java sdk
yum install java-1.8.0-openjdk -y
2、获取es
https://www.elastic.co/downloads/elasticsearch
遇到的坑:
http://blog.csdn.net/qq942477618/article/details/53414983
http://blog.csdn.net/liangzhao_jay/article/details/56840941
外网访问不了:
折腾了半天外网访问不了,是因为iptables,先临时给丫关闭了
sudo service iptables stop
head plugs
http://blog.csdn.net/laotoumo/article/details/53890279
https://www.cnblogs.com/valor-xh/p/6293476.html
中文网站
https://www.elastic.co/cn
中文论坛
https://elasticsearch.cn
kibana
https://www.cnblogs.com/wjoyxt/p/6222859.html
https://www.cnblogs.com/wjoyxt/p/6222859.html
--------------------------------------------------------------------------------
elasticsearch head 插件的安装
github地址:https://github.com/mobz/elasticsearch-head
安装的方式和低版本的有一些不一样
Running with built in server
git clone git://github.com/mobz/elasticsearch-head.git
cd elasticsearch-head
npm install
npm run start
* 需要修改一些配置
es的配置:
elasticsearch-5.6.0/config/elasticsearch.yml (比较重要的修改)
http.cors.enabled: true
http.cors.allow-origin: "*"
插件的配置修改:
elasticsearch-head/Gruntfile.js
增加hostname:0.0.0.0 或者是 *
elasticsearch-head/_site/app.js
有一些参考的价值:
https://www.cnblogs.com/xing901022/p/6030296.html