Permalink: http://gaojingsong.iteye.com/blog/2359013
Preview article: [elasticsearch-5X installation steps (1)]
Permalink: http://gaojingsong.iteye.com/blog/2359103
Preview article: [elasticsearch-5X installation steps (2)]
Permalink: http://gaojingsong.iteye.com/blog/2359174
Preview article: [elasticsearch-5X install SQL plug-in (3)]
installation steps
[hadoop@node1 es5.0]$ unzip elasticsearch-head-master.zip
[root@node1 es5.0]# mv elasticsearch-head-master /root
[root@node1 es5.0]# cd /root/
[root@node1 ~]# ls
anaconda-ks.cfg facette-0.3.0.tar.gz
apache-flume-1.6.0-bin.tar.gz grafana-1.9.1.tar.gz
apache-tomcat-7.0.67.zip influxdb-0.9.4.2-1.x86_64.rpm
collectd-5.5.0 install.log
collectd-5.5.0.tar.gz install.log.syslog
Desktop jdk-7u67-linux-x64.rpm
elasticsearch-2.1.1.rpm kafka_2.9.1-0.8.2.2.tgz
elasticsearch-2.1.1.tar.gz kibana-4.3.1-linux-x64.tar.gz
elasticsearch-head-master logstash-2.1.1.tar.gz
facette-0.3.0 tomcat7
[root@node1 ~]# mv elasticsearch-head-master/ tomcat7/webapps/ROOT/
[root@node1 ~]# cd tomcat7/bin/
[root@node1 bin]# ./startup.sh
Using CATALINA_BASE: /root/tomcat7
Using CATALINA_HOME: /root/tomcat7
Using CATALINA_TMPDIR: /root/tomcat7/temp
Using JRE_HOME: /usr/java/jdk1.7.0_67
Using CLASSPATH: /root/tomcat7/bin/bootstrap.jar:/root/tomcat7/bin/tomcat-juli.jar
Tomcat started.
[root@node1 bin]#
Note: official website description
for Elasticsearch 5.x: site plugins are not supported
Running with built in server
Tomcat as a web server
Note: If you want to link the address in the left border is OK, then please modify Gruntfile.js
Open elasticsearch-head-master/Gruntfile.js, find the connect property below, add hostname: '0.0.0.0':
connect: {
server: {
options: {
hostname: '0.0.0.0',
port: 9200,
base: '.',
keepalive: true
}
}
}