撸了今年阿里、头条和美团的面试,我有一个重要发现.......>>>
1 先解压 elasticsearch-7.3.0-windows-x86_64 安装包
2 再window下运行 elasticsearch.bat 命令。
3 需要安装nodeJS (node-v10.16.3-x64.msi)
4 然后再cmd中输入 npm install -g grunt-cli (为了将grunt设置为全局命名)
5 再解压 elasticsearch-head-master (可视化界面)
6 再elasticsearch-head-master目录下运行 grunt server 报错,需要执行:npm install 安装 grunt命令
7 然后再浏览器中输入 http://localhost:9100/
8 再 elasticsrarch/config/elasticsearch.yml 文件中设置 跨域访问 # 为了允许跨域访问 (不要加中文) http.cors.enabled: true http.cors.allow-origin: "*"
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有