Elasticsearch learning road 1

Elasticsearch installation and related settings

Software carrier: win7 host, Vmware, centos6.5

 1. Download the installation zip installation package of elasticserarch, extract it to the corresponding location such as: /usr/local/es, es only depends on the jdk environment

  Check whether elasticserarch is successfully installed Use the terminal: curl -X GET localhost:9200

  Or visit http://localhost:9200/ in the browser (centos6.5)

 2. Enter the elasticsearch/bin directory and enter the command ./plugin –install mobz/elasticsearch-head to install the head plugin

 Visit http://localhost:9200/_plugin/head/ if it can be accessed normally, it is ok.

Reference http://www.cnblogs.com/tianjixiaoying/p/4316011.html

 3. To access the application in the virtual machine in the host of the virtual machine, you need to close the firewall of centos6.5

Command: service iptables stop (close the firewall); service iptables start open the firewall

 4. Configure the network connection settings in win7. VMware Network Adapter VMnet1 can be shared with VMware Network Adapter VMnet8;

 Set the ipv4 of VMware Network Adapter VMnet8 to automatically obtain an ip address

 At the same time, add the following two lines to the /etc/sysconfig/network-scripts/ifcfg-eth0 file of centos6.5

 GATEWAY="192.168.249.1"

 NETMASK="255.255.255.0"

Reference http://www.cnblogs.com/didi/archive/2012/11/19/2777214.html 

http://blog.sina.com.cn/s/blog_8e5354210101koo3.html

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326688951&siteId=291194637