Help us understand the problem. What is going on with this article?

Elasticsearch5.5 X-Pack5.5をインストールしてみた

More than 3 years have passed since last update.

centos7にElasticsearch 5.5とX-pack5.5をインストールしてみました。

centos 7


yum install -y java java-1.8.0-openjdk-devel
yum -y update

sha1sum elasticsearch-5.5.0.rpm
rpm --install elasticsearch-5.5.0.rpm

sha1sum kibana-5.5.0-x86_64.rpm
rpm --install kibana-5.5.0-x86_64.rpm

sha1sum logstash-5.5.0.rpm 
rpm --install logstash-5.5.0.rpm 


vi /etc/kibana/kibana.yml””


vi /etc/elasticsearch/elasticsearch.yml""


firewall-cmd --permanent --add-port=9200/tcp
firewall-cmd --permanent --add-port=5601/tcp
firewall-cmd --reload


vi /etc/firewalld/zones/public.xml

 <port protocol="tcp" port="5601"/>
 <port protocol="tcp" port="9200"/>


systemctl start elasticsearch
systemctl start kibana
systemctl start logstash
systemctl enable elasticsearch
systemctl enable kibana
systemctl enable logstsh


curl http://localhost:9200
curl http://localhost:5601


/usr/share/elasticsearch/bin/elasticsearch-plugin install file:///tmp/
/usr/share/kibana/bin/kibana-plugin install file:///tmp/
/usr/share/logstash/bin/logstash-plugin install file:///tmp/


systemctl restart elasticsearch
systemctl restart kibana
systemctl restart logstash

■起動確認 x-packをインストールするとパスワードが必要になりました。

curl -u elastic:changeme localhost:9200
curl -u elastic:changeme localhost:5601


Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away