随笔分类 - elasticsearch
分布式全文实时搜索引擎
摘要:集群建立,分布式安装: conf/elasticsearch.yml下 查看原来的进程并杀掉:ps -ef | grep 'elasticsearch'kill 进程号 节点建立:同级目录下, 节点配置: es_slave1下:config/..yml文件下:Various下新增: 注意,分配权限
阅读全文
摘要:在vi config/elasticsearch.yml 中的network下添加如下内容: vi /etc/sysctl.conf中增加: 接着执行 sysctl -p vi /etc/security/limits.conf中(brian为es的启动账户) kill掉所有es的进程,重启就行了。
阅读全文
摘要:git安装: https://github.com/mobz/elasticsearch-head git clone git://github.com/mobz/elasticsearch-head.git cd elasticsearch-head npm install npm run sta
阅读全文
摘要:linux下开机自启: 在/etc/init.d目录下新建文件elasticsearch 并敲入shell脚本: 注意, 前两行必须填写,且要注释掉。 第一行为shell前行代码,目的告诉系统使用shell。 第二行分别代表运行级别、启动优先权、关闭优先权,且后面添加开机服务会用到。 shell脚本
阅读全文
摘要:初次接触分布式是全文搜索引擎,之前都是spinx+coreseek,先简单实现初步了解先 官方文档:https://www.elastic.co/guide/cn/elasticsearch/guide/current/logging.html 一.基础概念: 集群和节点:一个集群是由多个节点组成。
阅读全文

浙公网安备 33010602011771号