Logo       PBase-Foundation


Elasticsearch To install and start the elasticsearch service. Must have the Java 1.8 JRE already installed before installing the elasticsearch package.

yum -y install http://pbase-foundation.com/pbase-preconfig.rpm
yum -y install java-1.8.0-openjdk
yum -y install pbase-preconfig-elasticsearch
yum -y install pbase-elasticsearch

(You may need to reboot to let the elasticsearch service start correctly.) When install is done load the shell-aliases from .bashrc and run the "tailelastic" alias.

source ~/.bashrc

Configuration Options

The pbase-preconfig-elasticsearch rpm creates a sample configuration file that can be customized:

"pbase_elasticsearch" : {
"startservice": true,
"firewalladdport": true,
"port": 9200,
"node_master": false,
"node_name": "node-1",
"cluster_name" : "my-application"