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

## Summary

Following this
[recommendation](https://discuss.elastic.co/t/checksum-confirmation-during-kibana-installation-for-rpm/320425)
from a community member, this PR aligns the instructions to install
Kibana from RPM with [Elasticsearch
documentation](b7060bad9a/docs/reference/setup/install/rpm.asciidoc (L114-L117))
to also download the checksum file and use `shasum` to run the test and
confirm the file is correct.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Jorge Sanz 2023-01-25 11:46:30 +01:00 committed by GitHub
parent fc17f49f27
commit 6453c6ebd2
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::[]