Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 29 additions & 8 deletions docs/en/getting-started/get-started-stack.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ ifeval::["{release-state}"!="unreleased"]

["source","sh",subs="attributes"]
----
curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{elasticsearch_version}.deb
sudo dpkg -i elasticsearch-{elasticsearch_version}.deb
curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{elasticsearch_version}-amd64.deb
sudo dpkg -i elasticsearch-{elasticsearch_version}-amd64.deb
sudo /etc/init.d/elasticsearch start
----

Expand All @@ -90,8 +90,8 @@ ifeval::["{release-state}"!="unreleased"]

["source","sh",subs="attributes,callouts"]
----------------------------------------------------------------------
curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{elasticsearch_version}.rpm
sudo rpm -i elasticsearch-{elasticsearch_version}.rpm
curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{elasticsearch_version}-x86_64.rpm
sudo rpm -i elasticsearch-{elasticsearch_version}-x86_64.rpm
sudo service elasticsearch start
----------------------------------------------------------------------

Expand All @@ -109,9 +109,30 @@ ifeval::["{release-state}"!="unreleased"]

["source","sh",subs="attributes,callouts"]
----------------------------------------------------------------------
curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{elasticsearch_version}.tar.gz
tar -xzvf elasticsearch-{elasticsearch_version}.tar.gz
cd elasticsearch-{elasticsearch_version}
curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{elasticsearch_version}-darwin-x86_64.tar.gz
tar -xzvf elasticsearch-{elasticsearch_version}-darwin-x86_64.tar.gz
cd elasticsearch-{elasticsearch_version}-darwin-x86_64
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here too

./bin/elasticsearch
----------------------------------------------------------------------

endif::[]


[[linux]]*linux:*

ifeval::["{release-state}"=="unreleased"]

Version {version} of {es} has not yet been released.

endif::[]

ifeval::["{release-state}"!="unreleased"]

["source","sh",subs="attributes,callouts"]
----------------------------------------------------------------------
curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{elasticsearch_version}-linux-x86_64.tar.gz
tar -xzvf elasticsearch-{elasticsearch_version}-linux-x86_64.tar.gz
cd elasticsearch-{elasticsearch_version}-linux-x86_64
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The extracted directory name hasn't changed, so this should still be elasticsearch-{elasticsearch_version}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rjernst I implemented those changes

./bin/elasticsearch
----------------------------------------------------------------------

Expand All @@ -138,7 +159,7 @@ contains the extracted files, for example:
+
["source","sh",subs="attributes,callouts"]
----------------------------------------------------------------------
cd C:\Program Files\elasticsearch-{elasticsearch_version}
cd C:\Program Files\elasticsearch-{elasticsearch_version}-windows-x86_64
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here, the extracted directory isn't changing

----------------------------------------------------------------------

. Start {es}:
Expand Down