- Mastering Kibana 6.x
- Anurag Srivastava
- 136字
- 2021-07-16 18:20:07
Installing Elasticsearch with the RPM package
Download and install the public signing key:
rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
Create a file named elasticsearch.repo in the /etc/yum.repos.d/ directory for Red Hat-based distributions or in the /etc/zypp/repos.d/ directory for openSUSE-based distributions, containing the following code:
[elasticsearch-6.x]
name=Elasticsearch repository for 6.x packages
baseurl=https://artifacts.elastic.co/packages/6.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
Your repository is now ready for use. You can now install Elasticsearch with one of the following commands:
You can use yum on CentOS and older Red Hat-based distributions:
sudo yum install elasticsearch
You can use dnf on Fedora and other newer Red Hat distributions:
sudo dnf install elasticsearch
You can use zypper on openSUSE-based distributions:
sudo zypper install elasticsearch
Elasticsearch can be started and stopped using the service command:
sudo -i service elasticsearch start
sudo -i service elasticsearch stop
推薦閱讀
- 輕輕松松自動化測試
- 過程控制工程及仿真
- 輕松學(xué)Java
- Creo Parametric 1.0中文版從入門到精通
- 機(jī)器學(xué)習(xí)流水線實(shí)戰(zhàn)
- AWS Administration Cookbook
- Blender Compositing and Post Processing
- 嵌入式操作系統(tǒng)
- JSP從入門到精通
- PostgreSQL 10 Administration Cookbook
- 大數(shù)據(jù)技術(shù)基礎(chǔ):基于Hadoop與Spark
- Extending Ansible
- 人工智能:語言智能處理
- HBase Essentials
- 網(wǎng)絡(luò)規(guī)劃與設(shè)計(jì)