Changes

Jump to navigation Jump to search
508 bytes added ,  09:01, 26 November 2023
Line 6: Line 6:  
  signal-event yum-modify
 
  signal-event yum-modify
   −
install elastic and dependencies (which are not explicits). You now need to choose the version you want ! 6, 5 or 1.6
+
install elastic and dependencies (which are not explicits). You now need to choose the version you want ! 8.x, 7.x, 6.x, 5.x, 2 or 1
 +
 
  yum install elasticsearch java-1.8.0-openjdk  --enablerepo=elastic6.x
 
  yum install elasticsearch java-1.8.0-openjdk  --enablerepo=elastic6.x
 +
allow updates
 +
db yum_repositories setprop elastic6.x status enabled TCPPort 9200 access localhost
 +
signal-event yum-modify
 +
 +
if you wanted a specific release you can use versionlock
 +
yum install yum-plugin-versionlock -y
 +
yum install elasticsearch-7.10.2 java-1.8.0-openjdk  --enablerepo=elastic6.x
 +
yum versionlock  add elasticsearch-7.10.*
    
configure and start
 
configure and start
 +
config set elasticsearch service status enabled
 
  mkdir -p /etc/e-smith/templates-custom/etc/systemd/system-preset/49-koozali.preset/
 
  mkdir -p /etc/e-smith/templates-custom/etc/systemd/system-preset/49-koozali.preset/
 
  echo '{
 
  echo '{
Line 24: Line 34:  
  signal-event yum-modify
 
  signal-event yum-modify
   −
install elastic and dependencies (which are not explicits). You now need to choose the version you want ! 6, 5 or 1.6
+
install elastic and dependencies (which are not explicits). You now need to choose the version you want 6.x, 5.x, 2 or 1
 
  yum install elasticsearch java-1.8.0-openjdk  --enablerepo=elastic6.x
 
  yum install elasticsearch java-1.8.0-openjdk  --enablerepo=elastic6.x
 +
allow updates
 +
db yum_repositories setprop elastic6.x status enabled
 +
signal-event yum-modify
 +
 
make it start at every boot
 
make it start at every boot
 
  ln -s /etc/rc.d/init.d/e-smith-service  /etc/rc7.d/S95elasticsearch
 
  ln -s /etc/rc.d/init.d/e-smith-service  /etc/rc7.d/S95elasticsearch
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu