标签:
1,安装java(至少1.8)
yum install -y java java -version 在/etc/profile追加: JAVA_HOME=/usr/java/jdk1.8.0_45 PATH=$JAVA_HOME/bin:$PATH CLASSPATH=$JAVA_HOME/jre/lib/ext:$JAVA_HOME/lib/tools.jar export PATH JAVA_HOME CLASSPATH echo $JAVA_HOME
2,安装es
mkdir /home/lanny/tools -p cd /home/lanny/tools curl -L -O https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.3.4/elasticsearch-2.3.4.tar.gz tar -xvf elasticsearch-2.3.4.tar.gz cd elasticsearch-2.3.4/bin
#修改配置后启动 ./elasticsearch
3,修改es配置
标签:
原文地址:http://www.cnblogs.com/iiiiher/p/5727233.html