Install windows environment ElasticSearch

1. First download, https: //www.elastic.co/cn/downloads/elasticsearch

2. Extract to c: /elasticsearch-7.1.1 under

3. Modify the database storage paths, open C: \ elasticsearch 7.1.1-\ config elasticsearch.yml under,

   Path.data and modify the value of path.logs

4.cmd into the C: \ elasticsearch-7.1.1 \ bin directory, execute elasticsearch.bat, then ES runs up
5. Download curl (test it, you can not download), https: //curl.haxx. se / windows /

6. decompression curl to the c: \ curl, the c: \ curl \ bin directory into the environment variable

7.cmd, perform curl http: // localhost: 9200 / , see if ES successful operation

8. The ES is installed into WINDOWS service, cmd administrator mode, enter C: \ elasticsearch-7.1.1 \ bin , execute elasticsearch-service.bat install

Guess you like

Origin www.cnblogs.com/liucuiqiang/p/10942413.html