ElasticSearch安裝

官網(wǎng):https://www.elastic.co

1.ElasticSearch安裝

1.1.下載安裝公共密鑰

rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch

1.2.在 /etc/yum.repos.d/ 目錄下建立 elasticsearch.repo 文件

vim /etc/yum.repos.d/elasticsearch.repo

在文件中寫(xiě)入:

復(fù)制代碼
[elasticsearch-5.x]
name=Elasticsearch repository for 5.x packages
baseurl=https://artifacts.elastic.co/packages/5.x/yum gpgcheck=1 gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch enabled=
        		

網(wǎng)友評(píng)論