[8.6] [Docs] Confirm Kibana checksum with the command line (#148117) (#149494)

# Backport

This will backport the following commits from `main` to `8.6`:
- [[Docs] Confirm Kibana checksum with the command line
(#148117)](https://github.com/elastic/kibana/pull/148117)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Jorge
Sanz","email":"jorge.sanz@elastic.co"},"sourceCommit":{"committedDate":"2023-01-25T10:46:30Z","message":"[Docs]
Confirm Kibana checksum with the command line (#148117)\n\n##
Summary\r\n\r\nFollowing
this\r\n[recommendation](https://discuss.elastic.co/t/checksum-confirmation-during-kibana-installation-for-rpm/320425)\r\nfrom
a community member, this PR aligns the instructions to install\r\nKibana
from RPM with
[Elasticsearch\r\ndocumentation](b7060bad9a/docs/reference/setup/install/rpm.asciidoc (L114-L117))\r\nto
also download the checksum file and use `shasum` to run the test
and\r\nconfirm the file is correct.\r\n\r\nCo-authored-by: Kibana
Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"6453c6ebd203223dc995c03db6385dc6f4543c3b","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","backport:all-open","v8.7.0"],"number":148117,"url":"https://github.com/elastic/kibana/pull/148117","mergeCommit":{"message":"[Docs]
Confirm Kibana checksum with the command line (#148117)\n\n##
Summary\r\n\r\nFollowing
this\r\n[recommendation](https://discuss.elastic.co/t/checksum-confirmation-during-kibana-installation-for-rpm/320425)\r\nfrom
a community member, this PR aligns the instructions to install\r\nKibana
from RPM with
[Elasticsearch\r\ndocumentation](b7060bad9a/docs/reference/setup/install/rpm.asciidoc (L114-L117))\r\nto
also download the checksum file and use `shasum` to run the test
and\r\nconfirm the file is correct.\r\n\r\nCo-authored-by: Kibana
Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"6453c6ebd203223dc995c03db6385dc6f4543c3b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/148117","number":148117,"mergeCommit":{"message":"[Docs]
Confirm Kibana checksum with the command line (#148117)\n\n##
Summary\r\n\r\nFollowing
this\r\n[recommendation](https://discuss.elastic.co/t/checksum-confirmation-during-kibana-installation-for-rpm/320425)\r\nfrom
a community member, this PR aligns the instructions to install\r\nKibana
from RPM with
[Elasticsearch\r\ndocumentation](b7060bad9a/docs/reference/setup/install/rpm.asciidoc (L114-L117))\r\nto
also download the checksum file and use `shasum` to run the test
and\r\nconfirm the file is correct.\r\n\r\nCo-authored-by: Kibana
Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"6453c6ebd203223dc995c03db6385dc6f4543c3b"}}]}]
BACKPORT-->

Co-authored-by: Jorge Sanz <jorge.sanz@elastic.co>
This commit is contained in:
Kibana Machine 2023-01-25 06:06:27 -05:00 committed by GitHub
parent 1420ff4f8b
commit 0e2c768c0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,11 +107,12 @@ The RPM for Kibana v{version} can be downloaded from the website and installed a
["source","sh",subs="attributes"]
--------------------------------------------
wget https://artifacts.elastic.co/downloads/kibana/kibana-{version}-x86_64.rpm
shasum -a 512 kibana-{version}-x86_64.rpm <1>
wget https://artifacts.elastic.co/downloads/kibana/kibana-{version}-x86_64.rpm.sha512
shasum -a 512 -c kibana-{version}-x86_64.rpm <1>
sudo rpm --install kibana-{version}-x86_64.rpm
--------------------------------------------
<1> Compare the SHA produced by `shasum` with the
https://artifacts.elastic.co/downloads/kibana/kibana-{version}-x86_64.rpm.sha512[published SHA].
<1> Compares the SHA of the downloaded RPM and the published checksum, which should output
`kibana-{version}-x86_64.rpm: OK`.
endif::[]