Before downloading the release version is the official website, but he did not very good Chinese word. We need to install Chinese word, even when ik word is also not well supported installed, you need to install some plug-ins and configured. Fortunately, the Internet has a lazy pack RTF.
What is ElasticSearch-RTF? Ready To Fly RTF is an abbreviation in model aircraft which, indicates that no parts to assemble their own can be directly started flying model airplane that is, elasticsearch-RTF is a release for the Chinese, that use the latest stable version of elasticsearch, and help you download Good corresponding test plug, plug-ins, such as the Chinese word, but also help you get some of the default configuration, the purpose is to allow you to download you can directly use (although es have been very simple, but still need to spend a lot of newcomers time to find the configuration, the middle of the process is very painful), etc. Of course, after you are familiar with them, you can go completely diy, and with many linux distributions is a meaning. elasticsearch Chinese release integrates relevant plug for Chinese
Changing the configuration
In the config folder elasticsearch.yml modify the configuration file, the main changes are as follows:
cluster.name: cluster name
node.name: “node name”
path.data: / data / elastic / data if there is a data disk mounted, preferably on the data plate inside
path.logs: / data / elastic / log data if the disk is mounted, preferably on the data plate inside
RTF need Redis support, redis installation please refer to: http: //blog.csdn.net/qq_27575627/article/details/50164129
HTTP Basic Authentication for Elasticsearch
Ever since our server was not long ElasticSearch DDOS attack, because there is no increase http authentication, all of a sudden you can have access to the head plug. After we chose to install HTTP Basic Authentication for Elasticsearch he has never been attacked.
Create http-basic folder download jar package, copy it to the http-basic folder config folder elasticsearch.yml add the following code at ElasticSearch plugins directory:
http.basic.user: “User name to fill.”
http.basic.password: “to fill out the password”
Into the bin directory, enter the following command to start the service, -d means running in the background, or close the window once the service to terminate.