anchor.diff:  [source,sh]
   --------------------------------------------------
   yum install elasticsearch
  +--------------------------------------------------
  +
  +Or, for newer versions of Fedora and Redhat:
  +
  +[source,sh]
  +--------------------------------------------------
  +dnf install elasticsearch
   --------------------------------------------------
   
   Configure Elasticsearch to automatically start during bootup. If your
  
positive.code: --------------------------------------------------
  
  [float]
  === YUM
  
  Download and install the public signing key:
  
  
negative.code: --------------------------------------------------
  [elasticsearch-{major-version}]
  name=Elasticsearch repository for {major-version} packages
  baseurl=https://packages.elastic.co/elasticsearch/{major-version}/centos
  gpgcheck=1
  gpgkey=https://packages.elastic.co/GPG-KEY-elasticsearch
  enabled=1
  --------------------------------------------------
  
  