sudo yum install java-1.8.0-openjdk.x86_64
rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
elasticsearch.repo
in /etc/yum.repos.d
with content[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
sudo yum install elasticsearch
sudo systemctl daemon-reload
sudo systemctl enable elasticsearch.service
/app/data/elastic/
[optional step] host ipaddress and port (9200)
node.name
node.data (true or false based on requirement)
node.master(true or false based on requirement)
node.ingest(true or false based on requirement)
sudo systemctl start elasticsearch.service
sudo systemctl stop elasticsearch.service
####Installation Directory
Config : etc/elasticsearch/elasticsearch.yml
Logs : var/logs/elasticsearch/<log file>
Default Data path : var/lib/elasticsearch
Different Configuration changes made during POC
path: logs: /var/log/elasticsearch data: /app/data/elastic
install kibana 6.x
Download and install the public signing key
rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
Create a file kibana.repo
in /etc/yum.repos.d
with content
[kibana-6.x]
name=Kibana 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
install kibana using sudo yum install kibana