Elastic search install
Elastic Search guide Linux
ES will work standalone with no other components
ES installation
Install using yum installer
sudo rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch sudo sh -c 'curl https://gist.githubusercontent.com/nl5887/b4a56bfd84501c2b2afb/raw/elasticsearch.repo >> /etc/yum.repos.d/elasticsearch.repo' sudo yum install -y elasticsearch
Alternative: Install with RPM
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.9.1-x86_64.rpm wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.9.1-x86_64.rpm.sha512 shasum -a 512 -c elasticsearch-8.9.1-x86_64.rpm.sha512 sudo rpm --install elasticsearch-8.9.1-x86_64.rpm sudo rpm -e elasticsearch-8.9.1-x86_64.rpm
ES Configuration
Ensure service is started automatically
sudo chkconfig elasticsearch on
Reduce memory usage
sudo nano /etc/elasticsearch/jvm.options -Xms256m -Xmx256m
Start service the first time
sudo service elasticsearch start
Validate service is running
curl 'http://localhost:9200/app/_count?pretty&q='y
File indexer installation
For the file Indexer to work multiple components are required