714 bytes added
, 06:44, 13 November 2017
How to set elastic search on SME
== install and configure==
installl elastic repo
{{:Elastic_repo}}
signal-event yum-modify
install elastic and dependencies (which are not explicits)
yum install elasticsearch java-1.8.0-openjdk --enablerepo=elastic
make it start at every boot
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S80elasticsearch
config set elasticsearch service status enabled
start it for the first time
service elasticsearch start
==notes==
elasticsearch : OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N
----
[[Category: HowTo]]