1.安装java环境

2.安装elasticsearch

cd /usr/local/src

wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.3.4.tar.gz

tar -xvf elasticsearch-1.3.4.tar.gz

cd elasticsearch-1.3.4

./bin/elasticsearch

访问http://localhost:9200即可访问

3.设置开机自启动

下载elasticsearch-servicewrapper:https://github.com/elasticsearch/elasticsearch-servicewrapper

service文件夹放在elasticsearch-1.3.4/bin下即可

安装:bin/service/elasticsearch install

启动:bin/service/elasticsearch start

4.配置文件

bin/service/elasticsearch.conf

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-28
  • 2021-12-16
  • 2021-10-14
  • 2021-10-09
  • 2021-07-20
  • 2022-12-23
猜你喜欢
  • 2021-12-02
  • 2021-07-22
  • 2021-09-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案