elasticsearch5 head安装
来源:互联网 发布:suse网络配置 编辑:程序博客网 时间:2024/06/05 00:30
elasticsearch5.2.1安装head步骤
1. 下载elasticsearch-head 下载地址:https://github.com/mobz/elasticsearch-head。
2. 解压 unzip elasticsearch-head-master.zip
3. 安装需要node 如没有需要下载安装 下载地址 https://nodejs.org/dist/v5.10.1/node-v5.10.1-linux-x64.tar.gz
解压node tar -xzvf node-v5.10.1-linux-x64.tar.gz
创建软连接
ln -s /home/node-v5.10.1-linux-x64/bin/node /usr/local/bin/node
ln -s /home/node-v5.10.1-linux-x64/bin/npm /usr/local/bin/npm
4. 到elasticsearch-head-master目录下,运行命令:
npm install
如果速度较慢或者安装失败,可以使用国内镜像:
npm install -g cnpm --registry=https://registry.npm.taobao.org
5. 修改Elasticsearch配置文件
编辑elasticsearch/config/elasticsearch.yml,加入以下内容:
http.cors.enabled: true
http.cors.allow-origin: "*"
6. 打开elasticsearch-head-master/Gruntfile.js,找到下面connect属性,新增hostname: ‘*’:
connect: {server: {options: {hostname: '*',port: 9100,base: '.',keepalive: true} }}
7、启动
../elasticsearch-head/node_modules/grunt/bin/grunt server
后台启动:nohup ../elasticsearch-head/node_modules/grunt/bin/grunt server &exit
浏览器访问 http://192.168.1.12:9100/
8、后台启动grunt server命令;
nohup grunt server &exit
如果想关闭head插件,使用Linux查找进程命令:
ps aux|grep head
结束进程:
kill 进程号
文章来源:http://www.cnblogs.com/valor-xh/p/6293476.html
http://www.2cto.com/database/201703/606373.html
- ElasticSearch5 head 安装
- elasticsearch5 head安装
- ElasticSearch5.3安装Head插件
- elasticsearch5.3安装插件head
- elasticsearch5.3.0安装head插件
- Elasticsearch5、Elasticsearch-head安装步骤
- Elasticsearch5.X head插件安装
- Elasticsearch5.x Head插件安装
- elasticsearch5.5安装head插件
- elasticsearch5.0版本的head安装
- elasticsearch5.0及head插件安装
- elasticsearch5 版本集群管理工具head安装
- elasticsearch5 版本集群管理工具head安装
- windows下安装elasticSearch5.X head插件
- elasticsearch5.2.1安装head步奏
- Mac安装Elasticsearch5.0 head插件
- elasticsearch5.4.0安装head插件过程
- windows下安装elasticSearch5.X head插件
- servlet与jsp交互问题
- Android NavigationDrawer 开发详解-实现侧滑效果
- json字符串与对象相互转换
- 【Python2.7 学习笔记】函数(一)
- git 统计自己的代码行数
- elasticsearch5 head安装
- 同余方程
- 【Setting】win10+python3+tensorflow-gpu环境搭建
- MySQL高性能学习笔记
- PAT L1-048 矩阵A乘以B
- Android Studio配置文件路径修改
- LYOS —— 开篇
- Spring Boot (教程十二: AOP拦截器)
- Java多线程——龟兔赛跑