Resource icon

Elasticsearch Installation/Update on CENTOS 6 (cPanel)

Nirjonadda

Well-known member
Nirjonadda submitted a new resource:

Elasticsearch Installation/Update on CENTOS 6 (cPanel) - Elasticsearch

This tutorial will help you to setup Elasticsearch on Red Hat/CentOS 6 64 bits based distribution.

1. Verify Java
Java is the primary requirement for installing Elasticsearch. So make sure you have Java installed on your system.

PHP:
# java -version

java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

If you don’t have Java installed on your system, use one of following code to install it first....

Read more about this resource...
 
Great easy steps i done all successfully

a little confusion

Code:
sudo service elasticsearch restart
Stopping elasticsearch:                                    [  OK  ]
Starting elasticsearch:                                    [  OK  ]
[root@server1 ~]# sudo service elasticsearch status
elasticsearch (pid  216753) is running...
[root@server1 ~]# curl http://127.0.0.1:9200
{
  "name" : "Timberius",
  "cluster_name" : "myindex|' /etc/elasticsearch/elasticsearch.yml",
  "cluster_uuid" : "fiRttA3NSGyFrmz9mDbY2A",
  "version" : {
    "number" : "2.4.1",
    "build_hash" : "c67dc32e24162035d18d6fe1e952c4cbcbe79d16",
    "build_timestamp" : "2016-09-27T18:57:55Z",
    "build_snapshot" : false,
    "lucene_version" : "5.5.2"
  },
  "tagline" : "You Know, for Search"

what is my index name ?

1- myindex|' /etc/elasticsearch/elasticsearch.yml
or only myindex
 
hi I do not seem to have such a folder here: /elasticsearch/config

where is the config folder located?

I do have all of these though:

  • /etc/elasticsearch/elasticsearch.yml
  • /etc/elasticsearch/logging.yml
  • /etc/security/limits.d/60-elasticsearch.conf
  • /etc/sysconfig/elasticsearch
 
Top Bottom