2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

elasticsearchのインストール

Last updated at Posted at 2018-12-23

やってみたのでメモ。あまりやる手順はない

前提

  • CentOS7

手順

  1. サインインキーを登録する

    # rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
    
  2. リポジトリ情報を登録する

    # vi /etc/yum.repos.d/elasticsearch.repo
    
    elasticsearch.repo
    [elasticsearch]
    name=Elasticsearch repository for 7.x packages
    baseurl=https://artifacts.elastic.co/packages/7.x/yum
    gpgcheck=1
    gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
    enabled=0
    autorefresh=1
    type=rpm-md
    
  3. yumでインストールする

    # yum -y install --enablerepo=elasticsearch elasticsearch
    
  4. 再読み込みする

    # systemctl daemon-reload
    
  5. 起動する

    # systemctl start elasticsearch
    

参考

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?