{"id":11738,"date":"2019-05-23T13:02:44","date_gmt":"2019-05-23T13:02:44","guid":{"rendered":"https:\/\/dbtut.com\/?p=11738"},"modified":"2020-12-14T13:54:57","modified_gmt":"2020-12-14T13:54:57","slug":"how-to-install-elasticsearch-on-centos","status":"publish","type":"post","link":"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/","title":{"rendered":"How To Install Elasticsearch On Centos"},"content":{"rendered":"<p>In this article I will tell the installation of Elasticsearch on Centos 7. We will perform the installation with an example scenario. Before reading this article, I suggest you read the following article on Elasticsearch.<\/p>\n<p>&#8220;<a href=\"https:\/\/dbtut.com\/index.php\/2019\/05\/28\/what-is-elasticsearch\/\" target=\"_blank\" rel=\"noopener noreferrer\">What is Elasticsearch<\/a>&#8221;<\/p>\n<p>We will use 5 servers for installation. 3 of these 5 servers will be the data node. The other 2 servers will be the master node. And we will install kibana on one of the master nodes.<\/p>\n<h2>Example Scenario<\/h2>\n<p>As you can see in the screenshot below, we have 5 servers.<\/p>\n<p>We will install two servers as master nodes. we will install three servers as data nodes. We will also install Kibana on the second master node. If you want you can install Kibana on another server.<\/p>\n<p id=\"Onmlyzs\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-11740 aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/img_5cc16b78ac680.png\" alt=\"\" width=\"742\" height=\"638\" \/><\/p>\n<h2>Installation Steps<\/h2>\n<h3>Java Installation<\/h3>\n<p>First, we are installing java. To install Java you must download the file that is compatible with your system from the link below.<\/p>\n<p><a href=\"https:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jdk8-downloads-2133151.html\">https:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jdk8-downloads-2133151.html<\/a><\/p>\n<p>Since we are going to install on 64 bit linux system, we are downloading the file below.<\/p>\n<p id=\"JdUNzDj\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-11742 aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/img_5cc16bb57904a.png\" alt=\"\" width=\"764\" height=\"447\" \/><\/p>\n<p>Then we create a folder like below to install java. The Java installation is done under the usr\/bin folder by default. I&#8217;ll make installation in the folder I&#8217;ll create below for easier use.<\/p>\n<p><strong>as root:<\/strong><\/p>\n<pre class=\"lang:default decode:true\">mkdir \/opt\/jdk<\/pre>\n<p>We extract the downloaded java files into the \/opt\/jdk directory and ensure that the java works from this directory.<\/p>\n<pre class=\"lang:default decode:true \">tar -zxf \/home\/elastic\/jdk-8u201-linux-x64.tar.gz -C \/opt\/jdk<\/pre>\n<p id=\"BVRyiTp\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-11744 aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/img_5cc16bf019bcc.png\" alt=\"\" width=\"763\" height=\"92\" \/><\/p>\n<pre class=\"lang:default decode:true \">update-alternatives --install \/usr\/bin\/java java \/opt\/jdk\/jdk1.8.0_201\/bin\/java 100\r\nupdate-alternatives --install \/usr\/bin\/javac javac \/opt\/jdk\/jdk1.8.0_201\/bin\/javac 100\r\n<\/pre>\n<p id=\"QfLDBZN\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-11745 aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/img_5cc16c091850d.png\" alt=\"\" width=\"754\" height=\"31\" \/><\/p>\n<p>We set JAVA_HOME using the following commands.<\/p>\n<pre class=\"lang:default decode:true \">export JAVA_HOME=\/opt\/jdk\/jdk1.8.0_201\/\r\nexport PATH=$JAVA_HOME\/bin:$PATH\r\n<\/pre>\n<p id=\"eWEhQgz\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-11747 aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/img_5cc16c31a150c.png\" alt=\"\" width=\"725\" height=\"43\" \/><\/p>\n<h3>Elasticsearch Installation<\/h3>\n<p>You can download the installation file from the link below.<\/p>\n<p><a href=\"https:\/\/www.elastic.co\/downloads\/elasticsearch\">https:\/\/www.elastic.co\/downloads\/elasticsearch<\/a><\/p>\n<p id=\"ndLUSSB\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-11750 aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/img_5cc16c5e4d658.png\" alt=\"\" width=\"794\" height=\"375\" \/><\/p>\n<p>Since we will install on CENTOS, we download the RPM package and copy it to the server.<\/p>\n<p>You can go to the directory where you copied the RPM package on the server and install elascticsearch using the following command.<\/p>\n<p><strong>as root:<\/strong><\/p>\n<pre class=\"lang:default decode:true\">yum install \/home\/elastic\/elasticsearch-6.5.4.rpm<\/pre>\n<p>It will ask a question. Type &#8220;y&#8221; and click enter.<\/p>\n<p id=\"TokGwZD\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-11752 aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/img_5cc16c9366364.png\" alt=\"\" width=\"761\" height=\"586\" \/><\/p>\n<p>If you have internet access via the server, you can perform elasticsearch installation as below.<\/p>\n<p>yum install <a href=\"https:\/\/artifacts.elastic.co\/downloads\/elasticsearch\/elasticsearch-6.5.4.rpm\">https:\/\/artifacts.elastic.co\/downloads\/elasticsearch\/elasticsearch-6.5.4.rpm<\/a><\/p>\n<h3>Necessary Configurations After Installation<\/h3>\n<h4>SET JAVA_HOME For Elasticsearch<\/h4>\n<p>After the installation is completed, we open the following file with the command &#8220;vi&#8221; and we show the path of JAVA to elasticsearch.<\/p>\n<p><strong>as root:<\/strong><\/p>\n<pre class=\"lang:default decode:true \">vi \/etc\/sysconfig\/elasticsearch<\/pre>\n<p id=\"oOjOyNM\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-11754 aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/img_5cc16cd1d740f.png\" alt=\"\" width=\"708\" height=\"81\" \/><\/p>\n<p>After the file is opened, we set JAVA HOME as follows. you must press the Insert key to make changes.<\/p>\n<pre class=\"lang:default decode:true \">JAVA_HOME=\/opt\/jdk\/jdk1.8.0_161<\/pre>\n<p id=\"BxPbioe\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-11756 aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/img_5cc16cfb45da2.png\" alt=\"\" width=\"758\" height=\"459\" \/><\/p>\n<p>Press ESC and save with &#8220;wq&#8221; command as follows and press enter.<\/p>\n<pre class=\"lang:default decode:true \">:wq<\/pre>\n<p id=\"TBeyxml\"><img loading=\"lazy\" decoding=\"async\" width=\"529\" height=\"111\" class=\"size-full wp-image-11758 aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/img_5cc16d20b852b.png\" alt=\"\" \/><\/p>\n<h4>Enable elasticsearch service<\/h4>\n<p>We enable elasticsearch service using the command below.<\/p>\n<pre class=\"lang:default decode:true \">systemctl enable elasticsearch<\/pre>\n<p id=\"jILcyRG\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-11760 aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/img_5cc16d4f838e3.png\" alt=\"\" width=\"700\" height=\"45\" \/><\/p>\n<p>The path of the service is as follows.<\/p>\n<pre class=\"lang:default decode:true\">\/usr\/lib\/systemd\/system\/elasticsearch.service<\/pre>\n<h3>Elasticsearch Configurations<\/h3>\n<p>Before configuring, we create two directories to store elasticsearch&#8217;s data files and error log files.<\/p>\n<p><strong>Note:<\/strong> You should do this with elasticsearch. You can switch to the elasticsearch user using the &#8220;su elasticsearch&#8221; command.<\/p>\n<p><strong>as root:<\/strong><\/p>\n<pre class=\"lang:default decode:true\">mkdir\u00a0 -p \/data\/elasticsearch\/master1\/\r\nmkdir -p \/data\/elasticsearch\/master1_log\/<\/pre>\n<p id=\"ChMUDeu\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-11762 aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/img_5cc16d94480e9.png\" alt=\"\" width=\"654\" height=\"49\" \/><\/p>\n<p>Assign the elasticsearch user as the owner for the data folder and for all directories under it.<\/p>\n<pre class=\"lang:default decode:true \">chown -R elasticsearch:elasticsearch \/data\/<\/pre>\n<p id=\"LnPYgwl\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-11764 aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/img_5cc16db44f89a.png\" alt=\"\" width=\"651\" height=\"61\" \/><\/p>\n<p>We&#8217;re changing the privileges of elasticsearch.<\/p>\n<pre class=\"lang:default decode:true \">chmod -R 700 \/data\/<\/pre>\n<p id=\"tcuSqVq\"><img loading=\"lazy\" decoding=\"async\" width=\"524\" height=\"62\" class=\"size-full wp-image-11766 aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/img_5cc16dd0c34ee.png\" alt=\"\" \/><\/p>\n<p>We are editing the elasticsearch.yml file which is the elasticsearch configuration file using the command below.<\/p>\n<pre class=\"lang:default decode:true\">vi \/etc\/elasticsearch\/elasticsearch.yml<\/pre>\n<p>After opening the file, we configure it as follows. If there is # at the beginning of the line, this line is a comment line or contains an inactive configuration information.<\/p>\n<p><strong>Note:<\/strong> I recommend that you read the lines beginning with #. Because I&#8217;ve written some notes.<\/p>\n<p>Do not copy the below yml file. Just change the necessary parameters according to your system.<\/p>\n<pre class=\"lang:default decode:true\"># ---------------------------------- Cluster -----------------------------------\r\n#\r\n# Use a descriptive name for your cluster:\r\n#This is my note-&gt;This must be the same on each node of cluster\r\ncluster.name: elasticsearch\r\n#\r\n# Set node name\r\nnode.name: master-1\r\n#\r\n# Add custom attributes to the node:\r\n#\r\n#node.attr.rack: r1\r\n#\r\n# ----------------------------------- Paths ------------------------------------\r\n#\r\n# Path to directory where to store the data (separate multiple locations by comma):\r\n#This is my note-&gt;The directory where Elasticsearch's data files are stored\r\npath.data: \/data\/elasticsearch\/master1\/\r\n#\r\n# Path to log files:\r\n#This is my note-&gt;The folder where Elasticsearch's error log files are stored\r\npath.logs: \/data\/elasticsearch\/master1_log\/\r\n#\r\n# ---------------------------------- Network -----------------------------------\r\n#\r\n# Set the bind address to a specific IP (IPv4 or IPv6):\r\n#\r\nnetwork.host: write_your_masterip_here\r\n#\r\n# Set a custom port for HTTP:\r\n#This is my note-&gt;If you want you can change port information in here.\r\nhttp.port: 9200\r\n#\r\n# For more information, consult the network module documentation.\r\n#\r\n# --------------------------------- Discovery ----------------------------------\r\n#\r\n# Pass an initial list of hosts to perform discovery when new node is started:\r\n# The default list of hosts is [\"127.0.0.1\", \"[::1]\"]\r\n#This is my note-&gt;You must add all master's and data node's IPs in cluster as follows.\r\ndiscovery.zen.ping.unicast.hosts: [\"master1_IP\",\"master2_IP\",\"data_node1_IP\",\"data_node2_IP\",\"data_node3_IP\"]\r\n# This is my note-&gt;If you do not  change anything, a node will be both a master and a data node #as a default. Since we configure this node as master node, we are setting the node.data=false. #Thus, this node will be only master node.\r\n#node.master: true\r\nnode.data: false\r\n#This is my note-&gt;If you are not going to use xpack, you should set it to false as follows.\r\nxpack.security.enabled: false\r\n\r\nxpack.spaces.enabled: false<\/pre>\n<p>If you are going to use the searchguard, you should copy the searchguard&#8217;s keystore information to the elasticsearch.yml file. For detailed information, please read the following article.<\/p>\n<p>&#8220;How To Install Searchguard For Elasticsearch and Kibana(Managing Multiple Indice In Elasticsearch Seperately and Password Protection on Elasticsearch)&#8221;<\/p>\n<h3>Start Elasticsearch Service<\/h3>\n<p>After the necessary configurations are done as above, we start the service as below.<\/p>\n<pre class=\"lang:default decode:true\">systemctl start elasticsearch<\/pre>\n<p>We do the same for all master and data nodes. The only different step in the installation is the following parameters in the yml file.<\/p>\n<p>If we set the &#8220;node.data:&#8221; parameter as follows, that node becomes the master.<\/p>\n<pre class=\"lang:default decode:true\">node.data: false<\/pre>\n<p>If we set the &#8220;node.master:&#8221; parameter as follows, that node becomes the data node.<\/p>\n<pre class=\"lang:default decode:true\">node.master: false<\/pre>\n<p>After Elastic 6.0 we can use xpack for authentication instead of search guard. If you set xpack.security.enabled: true, this means that you will use xpack&#8217;s authentication when connecting elasticsearch. After this you must set passwords for specific users with below command.<\/p>\n<pre class=\"lang:default decode:true \">\/usr\/share\/elasticsearch\/bin\/elasticsearch-setup-passwords interactive<\/pre>\n<h3>Check Everything is Correct<\/h3>\n<p>All installations and configurations have been completed.<\/p>\n<p>Open a browser and write your IP:port to the browser.<\/p>\n<p>If everything is succesfull, everything should be as follows.<\/p>\n<p id=\"uzGSymv\"><img loading=\"lazy\" decoding=\"async\" width=\"715\" height=\"468\" class=\"size-full wp-image-11769 aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/img_5cc16eb88930d.png\" alt=\"\" \/><\/p>\n\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_11738\" class=\"pvc_stats all  \" data-element-id=\"11738\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this article I will tell the installation of Elasticsearch on Centos 7. We will perform the installation with an example scenario. Before reading this article, I suggest you read the following article on Elasticsearch. &#8220;What is Elasticsearch&#8221; We will use 5 servers for installation. 3 of these 5 servers will be the data node. &hellip;<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_11738\" class=\"pvc_stats all  \" data-element-id=\"11738\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":11770,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[3654,3652],"tags":[3593,3595,3594],"class_list":["post-11738","post","type-post","status-publish","format-standard","has-post-thumbnail","","category-analyticdashboard","category-elk","tag-install-elascticsearch","tag-install-elasticsearch","tag-install-elasticsearch-on-centos"],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Install Elasticsearch On Centos - Database Tutorials<\/title>\n<meta name=\"description\" content=\"How To Install Elasticsearch On Centos\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Install Elasticsearch On Centos - Database Tutorials\" \/>\n<meta property=\"og:description\" content=\"How To Install Elasticsearch On Centos\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/\" \/>\n<meta property=\"og:site_name\" content=\"Database Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2019-05-23T13:02:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-12-14T13:54:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/Ads\u0131z-50.png\" \/>\n\t<meta property=\"og:image:width\" content=\"534\" \/>\n\t<meta property=\"og:image:height\" content=\"341\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"dbtut\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"dbtut\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/\"},\"author\":{\"name\":\"dbtut\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/fc047c39e1e53dce28fc4253529ea408\"},\"headline\":\"How To Install Elasticsearch On Centos\",\"datePublished\":\"2019-05-23T13:02:44+00:00\",\"dateModified\":\"2020-12-14T13:54:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/\"},\"wordCount\":755,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/Ads\u0131z-50.png\",\"keywords\":[\"install elascticsearch\",\"Install Elasticsearch\",\"Install Elasticsearch On Centos\"],\"articleSection\":[\"Analytic&amp;&amp;Dashboard\",\"ELK\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/\",\"url\":\"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/\",\"name\":\"How To Install Elasticsearch On Centos - Database Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/Ads\u0131z-50.png\",\"datePublished\":\"2019-05-23T13:02:44+00:00\",\"dateModified\":\"2020-12-14T13:54:57+00:00\",\"description\":\"How To Install Elasticsearch On Centos\",\"breadcrumb\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/#primaryimage\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/Ads\u0131z-50.png\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/Ads\u0131z-50.png\",\"width\":534,\"height\":341},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dbtut.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Install Elasticsearch On Centos\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dbtut.com\/#website\",\"url\":\"https:\/\/dbtut.com\/\",\"name\":\"Database Tutorials\",\"description\":\"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux\",\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dbtut.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/dbtut.com\/#organization\",\"name\":\"dbtut\",\"url\":\"https:\/\/dbtut.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"width\":223,\"height\":36,\"caption\":\"dbtut\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/fc047c39e1e53dce28fc4253529ea408\",\"name\":\"dbtut\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c322c32021bf651d9e103b183963c479a9c9791ead0715f4348203496c39aa54?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c322c32021bf651d9e103b183963c479a9c9791ead0715f4348203496c39aa54?s=96&d=mm&r=g\",\"caption\":\"dbtut\"},\"description\":\"We are a team with over 10 years of database management and BI experience. Our Expertises: Oracle, SQL Server, PostgreSQL, MySQL, MongoDB, Elasticsearch, Kibana, Grafana.\",\"sameAs\":[\"http:\/\/NurullahCAKIR\"],\"url\":\"https:\/\/dbtut.com\/index.php\/author\/dbtut\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Install Elasticsearch On Centos - Database Tutorials","description":"How To Install Elasticsearch On Centos","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/","og_locale":"en_US","og_type":"article","og_title":"How To Install Elasticsearch On Centos - Database Tutorials","og_description":"How To Install Elasticsearch On Centos","og_url":"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/","og_site_name":"Database Tutorials","article_published_time":"2019-05-23T13:02:44+00:00","article_modified_time":"2020-12-14T13:54:57+00:00","og_image":[{"width":534,"height":341,"url":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/Ads\u0131z-50.png","type":"image\/png"}],"author":"dbtut","twitter_card":"summary_large_image","twitter_misc":{"Written by":"dbtut","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/#article","isPartOf":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/"},"author":{"name":"dbtut","@id":"https:\/\/dbtut.com\/#\/schema\/person\/fc047c39e1e53dce28fc4253529ea408"},"headline":"How To Install Elasticsearch On Centos","datePublished":"2019-05-23T13:02:44+00:00","dateModified":"2020-12-14T13:54:57+00:00","mainEntityOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/"},"wordCount":755,"commentCount":0,"publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/Ads\u0131z-50.png","keywords":["install elascticsearch","Install Elasticsearch","Install Elasticsearch On Centos"],"articleSection":["Analytic&amp;&amp;Dashboard","ELK"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/","url":"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/","name":"How To Install Elasticsearch On Centos - Database Tutorials","isPartOf":{"@id":"https:\/\/dbtut.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/#primaryimage"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/Ads\u0131z-50.png","datePublished":"2019-05-23T13:02:44+00:00","dateModified":"2020-12-14T13:54:57+00:00","description":"How To Install Elasticsearch On Centos","breadcrumb":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/#primaryimage","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/Ads\u0131z-50.png","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/04\/Ads\u0131z-50.png","width":534,"height":341},{"@type":"BreadcrumbList","@id":"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dbtut.com\/"},{"@type":"ListItem","position":2,"name":"How To Install Elasticsearch On Centos"}]},{"@type":"WebSite","@id":"https:\/\/dbtut.com\/#website","url":"https:\/\/dbtut.com\/","name":"Database Tutorials","description":"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux","publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dbtut.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/dbtut.com\/#organization","name":"dbtut","url":"https:\/\/dbtut.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","width":223,"height":36,"caption":"dbtut"},"image":{"@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/dbtut.com\/#\/schema\/person\/fc047c39e1e53dce28fc4253529ea408","name":"dbtut","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c322c32021bf651d9e103b183963c479a9c9791ead0715f4348203496c39aa54?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c322c32021bf651d9e103b183963c479a9c9791ead0715f4348203496c39aa54?s=96&d=mm&r=g","caption":"dbtut"},"description":"We are a team with over 10 years of database management and BI experience. Our Expertises: Oracle, SQL Server, PostgreSQL, MySQL, MongoDB, Elasticsearch, Kibana, Grafana.","sameAs":["http:\/\/NurullahCAKIR"],"url":"https:\/\/dbtut.com\/index.php\/author\/dbtut\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/11738","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/comments?post=11738"}],"version-history":[{"count":0,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/11738\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media\/11770"}],"wp:attachment":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media?parent=11738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/categories?post=11738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/tags?post=11738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}