Elastic repo
Revision as of 15:38, 7 February 2018 by Unnilennium (talk | contribs)
Below you find the installation command for the Elastic repo repository which can be entered on the SME Server shell.
/sbin/e-smith/db yum_repositories set elastic6 repository \ Name 'Elasticsearch repository for 6.x packages' \ BaseURL 'https://artifacts.elastic.co/packages/6.x/yum' \ GPGKey 'https://artifacts.elastic.co/GPG-KEY-elasticsearch' \ GPGCheck yes \ EnableGroups yes \ Visible no \ status disabled
/sbin/e-smith/db yum_repositories set elastic5 repository \ Name 'Elasticsearch repository for 5.x packages' \ BaseURL 'https://artifacts.elastic.co/packages/6.x/yum' \ GPGKey 'https://artifacts.elastic.co/GPG-KEY-elasticsearch' \ GPGCheck yes \ EnableGroups yes \ Visible no \ status disabled
/sbin/e-smith/db yum_repositories set elastic1 repository \ Name 'Elasticsearch repository for 1.6 packages' \ BaseURL 'https://artifacts.elastic.co/packages/6.x/yum' \ GPGKey 'https://artifacts.elastic.co/GPG-KEY-elasticsearch' \ GPGCheck yes \ EnableGroups yes \ Visible no \ status disabled
After adding it to the database updating the configuration file is required:
signal-event yum-modify
source: https://artifacts.elastic.co/GPG-KEY-elasticsearch
source: https://www.elastic.co/guide/en/elasticsearch/reference/current/rpm.html