标签:mkfs boot chown cluster 配置 discover css cal arch
将软件上传到服务器192.168.1.21上安装head插件
$ yum -y install git
$ yum -y install npm
$ git clone git://github.com/mobz/elasticsearch-head.git
$ cd elasticsearch-head/
$ npm install grunt -save
$ npm install
$ npm run start &
$ vim /etc/elasticsearch/elasticsearch.yml
#在最下方添加
http.cors.enabled: true
http.cors.allow-origin: ""
$ systemctl restart elasticsearch
访问带插件的es
http://192.168.1.21:9100 (http://192.168.1.21:9200/---连接)
标签:mkfs boot chown cluster 配置 discover css cal arch
原文地址:https://blog.51cto.com/dongdong/2428470