CentOS7ç³»ã¸ã®ElasticSearchå°å ¥æé
CentOS7ç³»ã¸ã®ElasticSearchå°å ¥æé ãæ®ãã¦ããã¾ãã CentOS7ç³»ã«ãªã£ã¦iptablesã¨ãç¡ããªã£ã¦ã¦ããµãã®ãããä¸å¦çã ã¨ç¥ã£ãæãããã³ã£ãããã¾ããã
ã¤ã³ã¹ãã¼ã«ããsystemctlç»é²ã¾ã§
yum install java-1.7.0-openjdk* yum install wget wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.4.0.noarch.rpm rpm -Uvh elasticsearch-1.4.0.noarch.rpm systemctl daemon-reload systemctl enable elasticsearch.service systemctl start elasticsearch
ãã¼ãéæ¾
â»æ¬æ¥ã¯ãµã¼ãã¹åä½ã®ç®¡çãããæ¹ãè¯ãã¨æããã§ãããé¢åãªã®ã§æ®éã«ãã¼ãéãã¾ãã
firewall-cmd --zone=public --add-port=9200/tcp --permanent firewall-cmd --zone=public --add-port=9300/tcp --permanent systemctl restart firewalld.service
ãã®æç¹ã§ http://localhost:9200/ã«ã¢ã¯ã»ã¹ã§ãããã¨ã確èª
ãã©ã°ã¤ã³å ¥ãã
Elasticsearch Head Pluginã¨Marvelãå ¥ãã¾ãããä»ã«ãã好ã¿ã§å ¥ãã¦ãã ãã
cd $ElasticSearch_home (ãã¶ã/usr/share/elasticsearch) bin/plugin --install mobz/elasticsearch-head bin/plugin --install elasticsearch/marvel/latest
以ä¸ã®URLãå©ãããã©ã°ã¤ã³ãæ£ããå°å
¥ã§ãããã¨ã確èª
â Elasticsearch Head Plugin
http://localhost:9200/_plugin/head/
â Marvel
http://localhost:9200/_plugin/marvel/
以ä¸ã§ãããã¨ã¯ãã¼ã¿æå
¥ãã¦ã¿ã¦æ¤ç´¢ã§ããã試ãã¦ã¿ãã¨è¯ãã¨æãã¾ãã
ä¸å¿ç°¡åãªãã¼ã¿æå
¥æ段ã¯éå»è¨äºã«ã¾ã¨ãã¦ããã¾ãã