File tree Expand file tree Collapse file tree 5 files changed +12
-6
lines changed Expand file tree Collapse file tree 5 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 1
1
X64? = false
2
2
3
- ES_FILE_VERSION =6.2.4
3
+ ES_FILE_VERSION =6.3.0
4
4
ES_VERSION =$(ES_FILE_VERSION )
5
- ES_SHA512 =f9e261f1cd394342b78d15fa2b54124bf679642fd3fcf7c976b8c37afa340d41085cf00301a7624a54164e9478ae16bf9e1ae62997a6725688b38e0bd2586e30
5
+ ES_SHA512 =f28287021694177bed6ee5a59c4d75a010a3ce3521d0f91bf13971e3f2565d496ee9163a46a769430ecd7716404d781466e2b64101770b956fb2d10424210c45
6
6
ES_NAME =elasticsearch-$(ES_VERSION )
7
7
ES_HOME =vendor/$(ES_NAME )
8
8
ES_LIB =$(ES_HOME ) /lib
@@ -83,7 +83,7 @@ $(ES_SERVICE_EXE): $(COMMONS_DAEMON_PRUNSRV) $(SETEXECUTABLEICON_EXE)
83
83
mv $(ES_SERVICE_EXE ) .tmp $(ES_SERVICE_EXE )
84
84
85
85
$(ES_JAR ) :
86
- wget -qO $(ES_HOME ) .zip https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-$(ES_VERSION ) .zip
86
+ wget -qO $(ES_HOME ) .zip https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss- $(ES_VERSION ) .zip
87
87
[ ` openssl sha512 $( ES_HOME) .zip | awk ' {print $$2}' ` == $( ES_SHA512) ]
88
88
rm -rf vendor-tmp && mkdir vendor-tmp
89
89
unzip -q -d vendor-tmp $(ES_HOME ) .zip
Original file line number Diff line number Diff line change 1
1
# Elasticsearch Setup
2
2
3
- This is a setup application for installing [ Elasticsearch] ( https://www.elastic.co/products/elasticsearch )
3
+ This is a setup application for installing [ Elasticsearch (OSS flavor) ] ( https://www.elastic.co/products/elasticsearch )
4
4
on a Windows machine.
5
5
6
6
The setup will:
@@ -17,6 +17,7 @@ The setup will:
17
17
18
18
* grant the ` elasticsearch ` account:
19
19
* read permissions to the ` config ` directory.
20
+ * full permissions to the ` config/elasticsearch.keystore ` file.
20
21
* full permissions to the ` data ` and ` logs ` directories.
21
22
22
23
* create a bunch of Start Menu entries (link to home page, guide, etc).
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ Start-Process `
217
217
# install plugins.
218
218
function Install-ElasticsearchPlugin ($name ) {
219
219
Write-Output " Installing the $name Elasticsearch plugin..."
220
- cmd / C " call "" C:\Program Files\Elasticsearch\bin\elasticsearch-plugin.bat"" install --silent $name "
220
+ cmd / C " call "" C:\Program Files\Elasticsearch\bin\elasticsearch-plugin.bat"" install --batch $name "
221
221
if ($LASTEXITCODE ) {
222
222
throw " failed to install Elasticsearch plugin $name with exit code $LASTEXITCODE "
223
223
}
Original file line number Diff line number Diff line change @@ -90,6 +90,8 @@ Name: "{group}\Uninstall Elasticsearch"; Filename: "{uninstallexe}"
90
90
Filename : " {tmp} \SetACL.exe" ; Parameters : " -on config -ot file -actn setprot -op " " dacl:p_nc;sacl:p_nc" " -actn ace -ace " " n:Administrators;p:full" " -ace " " n:{#ServiceAccountName};p:read" " " ; WorkingDir : " {app} " ; Flags : runhidden ;
91
91
Filename : " {tmp} \SetACL.exe" ; Parameters : " -on data -ot file -actn setprot -op " " dacl:p_nc;sacl:p_nc" " -actn ace -ace " " n:Administrators;p:full" " -ace " " n:{#ServiceAccountName};p:full" " " ; WorkingDir : " {app} " ; Flags : runhidden ;
92
92
Filename : " {tmp} \SetACL.exe" ; Parameters : " -on logs -ot file -actn setprot -op " " dacl:p_nc;sacl:p_nc" " -actn ace -ace " " n:Administrators;p:full" " -ace " " n:{#ServiceAccountName};p:full" " " ; WorkingDir : " {app} " ; Flags : runhidden ;
93
+ Filename : " {app} \bin\elasticsearch-keystore.bat" ; Parameters : " create" ; WorkingDir : " {app} " ; Flags : runhidden shellexec waituntilterminated ;
94
+ Filename : " {tmp} \SetACL.exe" ; Parameters : " -on config/elasticsearch.keystore -ot file -actn setprot -op " " dacl:p_nc;sacl:p_nc" " -actn ace -ace " " n:Administrators;p:full" " -ace " " n:{#ServiceAccountName};p:full" " " ; WorkingDir : " {app} " ; Flags : runhidden ;
93
95
Filename : " {app} \lib\elasticsearchw-update.cmd" ; WorkingDir : " {app} " ; Flags : runhidden shellexec waituntilterminated ;
94
96
95
97
[UninstallRun]
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ if exist "%ES_HOME%\jre\bin\client\jvm.dll" set JVM=%ES_HOME%\jre\bin\client\jvm
87
87
--StartMode jvm ^
88
88
--StartClass org.elasticsearch.bootstrap.Elasticsearch ^
89
89
--StartMethod main ^
90
+ --StartParams --quiet ^
90
91
--StopMode jvm ^
91
92
--StopClass org.elasticsearch.bootstrap.Elasticsearch ^
92
93
--StopMethod close ^
@@ -95,7 +96,9 @@ if exist "%ES_HOME%\jre\bin\client\jvm.dll" set JVM=%ES_HOME%\jre\bin\client\jvm
95
96
--JvmMx %JVM_MX% ^
96
97
%JVM_OPTIONS: = ++JvmOptions % ^
97
98
++JvmOptions " -Des.path.home=%ES_HOME% " ^
98
- ++JvmOptions " -Des.path.conf=%ES_HOME% \config"
99
+ ++JvmOptions " -Des.path.conf=%ES_HOME% \config" ^
100
+ ++JvmOptions " -Des.distribution.flavor=oss" ^
101
+ ++JvmOptions " -Des.distribution.type=zip"
99
102
100
103
rem These settings are saved in the Windows Registry at:
101
104
rem
You can’t perform that action at this time.
0 commit comments