1.安装nodejs ①从官网https://nodejs.org/en/download下载 node-v8.11.3-linux-x64.tar.xz ②解压 tar -xvf node-v8.11.3-linux-x64.tar.xz /opt ③设置环境变量vi /etc/profile,增加或修改如下两行 代码语言:javascript 代码运行次数:0
在head目录下,执行 : npm install phantomjs-prebuilt@2.1.16 --ignore-scripts 再次执行安装命令: npm install 启动ES-head 修改Gruntfile.js,设置远程访问 修改/opt/elasticsearch-head/_site目录下的app.js文件 执行启动命令:npm run start 或者进入到/opt/elasticsearch-head/node_modules/grunt/bin目录下启动 ...
#在app.js文件中先找到需要被替换的行[es@bogon ~]$ cat elasticsearch-head-master/_site/app.js | grep"this.base_uri = this.config.base_uri || this.prefs.get"this.base_uri= this.config.base_uri || this.prefs.get("app-base_uri") ||"http://localhost:9200";#替换[es@bogon ~]$ sed...
[atguigu@hadoop102 elasticsearch-head-master]$ npm install grunt --save 9)安装head插件: [atguigu@hadoop102 elasticsearch-head-master]$ npm install -g cnpm --registry=https://registry.npm.taobao.org 10)安装grunt: [atguigu@hadoop102 elasticsearch-head-master]$ npm install -g grunt-cli 11)编辑...
linux离线安装es-head插件完整步骤以及安装包:包括先安装nodeJs、grunt;再安装head。都是离线点赞(0) 踩踩(0) 反馈 所需:9 积分 电信网络下载 自己用的简单GUI页面开发 2025-02-28 10:06:03 积分:1 notepad++安装包 2025-02-28 09:41:05 积分:1 ...