企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## 安装head插件 ### 安装node和npm ``` apt-get update apt-get install -y build-essential curl -sL https://deb.nodesource.com/setup_9.x |bash - apt-get install -y nodejs npm -v nodejs -v ``` ### 安装head插件 ``` cd /application/ git clone git://github.com/mobz/elasticsearch-head.git cd elasticsearch-head/ npm install grunt -save #需要先进来head目录后在执行 ll node_modules/grunt #确认生成文件 npm install #执行安装 npm run start & ``` 编辑elasticsearch配置文件最后面添加2条 ``` http.cors.enabled: true http.cors.allow-origin: "*" ``` 重启elasticsearch服务 访问地址: IP:9100