- 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
推薦閱讀
- Unreal Engine:Game Development from A to Z
- Instant Raspberry Pi Gaming
- 玩轉智能機器人程小奔
- R Data Mining
- Circos Data Visualization How-to
- STM32G4入門與電機控制實戰:基于X-CUBE-MCSDK的無刷直流電機與永磁同步電機控制實現
- Blender Compositing and Post Processing
- Docker High Performance(Second Edition)
- 網絡化分布式系統預測控制
- Learning C for Arduino
- 在實戰中成長:C++開發之路
- 經典Java EE企業應用實戰
- Drupal高手建站技術手冊
- 巧學活用Linux
- Internet of Things with Raspberry Pi 3