为了高薪,将几个常用的技术栈给简单的学习一下,做个笔记,方便以后巩固
学习链接
三个本地链接:
elasticsearch:http://127.0.0.1:9200/
elasticsearch-head-master(可视化):http://localhost:5601/app/dev_tools#/console
kibana:http://localhost:5601/app/home#/
官方学习文档: https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/index.html
狂神说详细笔记: https://blog.csdn.net/qq_21197507/article/details/115076913
安装教学详解:https://www.cnblogs.com/liuxiaoming123/p/8081883.html
elasticsearch-head:https://github.com/mobz/elasticsearch-head
和Java对应的版本关系:https://www.elastic.co/cn/support/matrix#matrix_jvm
elasticsearch-head的使用:https://www.cnblogs.com/xuwenjin/p/8792919.html
elasticsearch-head下载地址:https://github.com/mobz/elasticsearch-head
启动ES:sh ./bin/elasticsearch
配置跨域后启动ES:./bin/elasticsearch -d (不能用上面那个,暂时也不知道为什么)
启动elasticsearch-head:npm run start
修改es配置文件:vim config/elasticsearch.yml
vim详解:https://www.cnblogs.com/yangjig/p/6014198.html
查看ES端口号:ps -ef | grep elastic
ElasticSearch关闭重启命令:https://www.cnblogs.com/ae6623/p/5110927.html
狂神ES笔记详解:https://www.cnblogs.com/DAYceng/p/14755532.html
杀死进程:kill -9 端口号
几个典型的错误: https://blog.51cto.com/u_10950710/2124131
配置跨域:
http.cors.enabled: true
http.cors.allow-origin: “*”
分布式安装:
# 集群名称 cluster.name: yuanzhisong # master名称 node.name: master node.master: true network.host: 127.0.0.1
关于kibana
# 启动kibana nohup bin/kibana & #解压安装包 tar -xvf kibana-6.5.4-linux-x86_64.tar.gz #修改配置文件 vim config/kibana.yml server.host: ``"192.168.40.133"` `#对外暴露服务的地址 elasticsearch.url: ``"http://192.168.40.133:9200"` `#配置Elasticsearch #启动 ./bin/kibana #通过浏览器进行访问 http:``//192.168.40.133:5601/app/kibana



