博客
关于我
架构师成长记_第八周_02_ Centos安装分布式搜索引擎 ElasticSearch
阅读量:102 次
发布时间:2019-02-26

本文共 1218 字,大约阅读时间需要 4 分钟。

Elasticsearch ????

Elasticsearch ????

1. ????? elasticsearch ?

? elasticsearch ???? CentOS 140 ??????????????????

tar -zxvf elasticsearch-7.4.2-linux-x86_64.tar.gzmv elasticsearch-7.4.2 /usr/local/

2. ?? Elasticsearch

?? elasticsearch ???????????

cd /usr/local/elasticsearch-7.4.2/mkdir datacd config

?? elasticsearch.yml ??????????

vim elasticsearch.yml

?????????????? jvm.options ????? JVM ???

vim jvm.options

3. ????????

?? esuser ????????

useradd esuserchown -R esuser /usr/local/elasticsearch-7.4.2chown -R esuser:esuser /usr/local/elasticsearch-7.4.2

4. ?? Elasticsearch

?? bin ?????? esuser ???????

cd bin/su esuser./elasticsearch

????????????????

./elasticsearch -d

5. ????

?? /etc/security/limits.conf ????????????

vim /etc/security/limits.conf

??????????

* soft nofile 65535* hard nofile 131072* soft nproc 2048* hard nproc 4096

?? /etc/sysctl.conf ??????????

vim /etc/sysctl.conf

??????????

vm.max_map_count=262145

?????? sysctl ???

sysctl -p

??? esuser ??????? Elasticsearch?

su esuser./elasticsearch

6. ????

??????? Elasticsearch ????????????

7. ????

  • Elasticsearch ??????????????
  • ????????? root ???????????
chown -R esuser:esuser /usr/local/elasticsearch-7.4.2

?????????? Elasticsearch ? CentOS ??????????

转载地址:http://bhyk.baihongyu.com/

你可能感兴趣的文章
Python+Selenium登录
查看>>
Python日期时间模块
查看>>
Python函数合集:足足68个内置函数请收好!
查看>>
Python+Selenium自动化测试项目实战
查看>>
Python+Selenium自动化测试项目实战【建议收藏】
查看>>
Python+Selenium自动化测试:Page Object模式
查看>>
python+selenium进行cnblog的自动化登录测试
查看>>
Python函数只返回第一个值而不是数据框
查看>>
Python+SQL实战:京东用户行为数据分析案例解析(上)
查看>>
Python+SQL实战:京东用户行为数据分析案例解析(下)
查看>>
PYTHON+Twisted+sqlanydb=ABORT()
查看>>
Python函数之返回值、作用域和局部变量
查看>>
Python+统计学 | 探索常用的数据分析统计分布
查看>>
python, selenium中用于切换帧的函数
查看>>
python函数
查看>>
python----线程、进程、协程的区别及多线程详解
查看>>
python---5
查看>>
python---使用celery分布式系统异步发送短信(云通讯)来验证登录
查看>>
python--003--百分号字符串拼接、format
查看>>
Python--10、线程
查看>>