Elasticsearch 2.1 설치

1774 단어
Elasticsearch requires at least Java 7. Specifically as of this writing, it is recommended that you use the Oracle JDK version 1.8.0_25. Java installation varies from platform to platform so we won’t go into those details here. Oracle’s recommended installation documentation can be found on Oracle’s website. Suffice to say, before you install Elasticsearch, please check your Java version first by running(and then install/upgrade accordingly if needed): jdk 1.버전 7 이상
 
Once we have Java set up, we can then download and run Elasticsearch. The binaries are available from www.elastic.co/downloads  along with all the releases that have been made in the past. For each release, you have a choice among a  zip  or  tar  archive, or a  DEB  or  RPM  package. For simplicity, let’s use the tar file.
 
Let’s download the Elasticsearch 2.1.0 tar as follows (Windows users should download the zip package):
Elasticsearch 압축 팩 다운로드
https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.1.0/elasticsearch-2.1.0.tar.gz
Then extract it as follows (Windows users should unzip the zip package):
Elasticsearch 압축 풀기
tar -xvf elasticsearch-2.1.0.tar.gz
It will then create a bunch of files and folders in your current directory. We then go into the bin directory as follows:
cd elasticsearch-2.1.0/bin
And now we are ready to start our node and single cluster (Windows users should run the elasticsearch.bat file):
 
Elasticsearch 시작
./elasticsearch
 
루트 사용자를 사용해서 시작할 수 없습니다.elasticsearch가 있는 디렉터리는 읽기와 쓰기 권한이 있어야 합니다.
 
텍스트 링크:http://blog.csdn.net/z6978445/article/details/50205835

좋은 웹페이지 즐겨찾기