Skip to content

Commit

Permalink
Recommend a better installation directory for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
williamrandolph committed Mar 14, 2024
1 parent 75e67f0 commit 8605695
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/reference/setup/install/zip-windows.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ window, `cd` to the `%ES_HOME%` directory, for instance:

["source","sh",subs="attributes"]
----------------------------
cd C:\elasticsearch-{version}
cd C:\Program Files\elasticsearch-{version}
----------------------------

ifdef::include-xpack[]
Expand Down Expand Up @@ -93,7 +93,7 @@ automatically at boot time without user interaction.
+
["source","sh",subs="attributes"]
----
C:\elasticsearch-{version}{backslash}bin>elasticsearch-service.bat install
C:\Program Files\elasticsearch-{version}{backslash}bin>elasticsearch-service.bat install
Installing service : "elasticsearch-service-x64"
Using ES_JAVA_HOME (64-bit): "C:\jvm\jdk1.8"
The service 'elasticsearch-service-x64' has been installed.
Expand All @@ -104,7 +104,7 @@ default:
+
["source","sh",subs="attributes"]
----
C:\elasticsearch-{version}{backslash}bin>bin\elasticsearch-service.bat start
C:\Program Files\elasticsearch-{version}{backslash}bin>bin\elasticsearch-service.bat start
----
+
NOTE: TLS is not enabled or configured when you start {es} as a service.
Expand All @@ -115,7 +115,7 @@ to the command line.
+
["source","sh",subs="attributes"]
----
C:\elasticsearch-{version}{backslash}bin>\bin\elasticsearch-reset-password -u elastic
C:\Program Files\elasticsearch-{version}{backslash}bin>\bin\elasticsearch-reset-password -u elastic
----

NOTE: While a JRE can be used for the {es} service, due to its use of a client
Expand All @@ -138,7 +138,7 @@ service from the command line.

["source","sh",subs="attributes,callouts"]
----
C:\elasticsearch-{version}{backslash}bin>elasticsearch-service.bat
C:\Program Files\elasticsearch-{version}{backslash}bin>elasticsearch-service.bat
Usage: elasticsearch-service.bat install|remove|start|stop|manager [SERVICE_ID]
----
Expand Down

0 comments on commit 8605695

Please sign in to comment.