- 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
推薦閱讀
- 大數(shù)據(jù)導(dǎo)論:思維、技術(shù)與應(yīng)用
- 過程控制工程及仿真
- Python Artificial Intelligence Projects for Beginners
- Java實(shí)用組件集
- Hadoop Real-World Solutions Cookbook(Second Edition)
- 大數(shù)據(jù)平臺(tái)異常檢測分析系統(tǒng)的若干關(guān)鍵技術(shù)研究
- 大數(shù)據(jù)驅(qū)動(dòng)的機(jī)械裝備智能運(yùn)維理論及應(yīng)用
- Bayesian Analysis with Python
- MongoDB 4 Quick Start Guide
- 工業(yè)機(jī)器人集成應(yīng)用
- 基于Proteus的PIC單片機(jī)C語言程序設(shè)計(jì)與仿真
- Machine Learning with Spark(Second Edition)
- 計(jì)算機(jī)硬件技術(shù)基礎(chǔ)(第2版)
- 納米集成電路制造工藝(第2版)
- Generative Adversarial Networks Projects