ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## 安装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