Difference between revisions of "Elastic repo"

From SME Server
Jump to navigationJump to search
(Created page with "<noinclude>{{Warning box|msg=Copy the configuration setting to your server as is, do not modify anything as that might harm your installation. To use it to install package ena...")
 
Line 5: Line 5:
  
 
  /sbin/e-smith/db yum_repositories set elastic repository \
 
  /sbin/e-smith/db yum_repositories set elastic repository \
  Name 'Elasticsearch repository for 5.x packages' \
+
  Name 'Elasticsearch repository for your version' \
  BaseURL 'https://artifacts.elastic.co/packages/5.x/yum' \
+
  BaseURL 'https://artifacts.elastic.co/packages/$releasever.x/yum' \
 
  GPGKey 'https://artifacts.elastic.co/GPG-KEY-elasticsearch' \
 
  GPGKey 'https://artifacts.elastic.co/GPG-KEY-elasticsearch' \
 
  GPGCheck yes \
 
  GPGCheck yes \

Revision as of 16:27, 7 February 2018

Warning.png Warning:
Copy the configuration setting to your server as is, do not modify anything as that might harm your installation. To use it to install package enable it using the option --enablerepo=elastic at the SME Server shell.


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 elastic repository \
Name 'Elasticsearch repository for your version' \
BaseURL 'https://artifacts.elastic.co/packages/$releasever.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