How to install Elasticsearch on Linux Server

Elasticsearch is one of the components of ELK, which is commonly used for log analytics, full-text search, security intelligence, and business analytics.Elasticsearch requires JAVA 8. It is highly recommended that you should use Oracle JDK, which is higher than JDK version 1.8.0_131.

For simplicity, you can use RPM file to install Elasticsearch. In my case, I will prefer to install it from “TAR” file in order to define another installation directory. All index and binary file will be kept under “/appdata” directory. However, if you prefer to install from RPM or DEB base package, you do not need to follow those steps. Just download binaries from this link and perform the installation.

To Perform default Installation Steps:

#rpm -ivh <logstash_package_name>
#dpkg -i <logstash_package_name>


Manual Installation Steps

Step 1: Install JDK

Download JDK from this link and extract binaries under /usr/local/java. Then create symbolic links with “ln -s” command.

#mkdir  /usr/loca/java
#cp <jdk.tar.gz> /usr/loca/java
#cd /usr/loca/java
#tar  -xzvf  <jdk.tar.gz>
#unlink  java
#ln  -s  /usr/local/java/jdk1.8.0_171/bin/java /usr/bin/java
#java  -version

Step 2: Download and extract tar file

#curl -L -O
#cp  elasticsearch-6.4.2.tar.gz /appdata
#tar -xvf elasticsearch-6.4.2.tar.gz

Step 3: Create Service file and start service

I have installed binaries under /appdata mount point. You should check your configuration. If you have installed to another directory you should edit this script and change /appdata to yours.

#vi  /usr/lib/systemd/system/elasticsearch.service

ExecStart=/appdata/elasticsearch/bin/elasticsearch \
-p ${PID_DIR}/ \

# StandardOutput is configured to redirect to journalctl since
# some error messages may be logged in standard output before
# elasticsearch logging system is initialized. Elasticsearch
# stores its logs in /var/log/elasticsearch and does not use
# journalctl by default. If you also want to enable journalctl
# logging, you can simply remove the "quiet" option from ExecStart.
# Specifies the maximum file descriptor number that can be opened by this process
# Specifies the maximum number of bytes of memory that may be locked into RAM
# Set to "infinity" if you use the 'bootstrap.memory_lock: true' option
# in elasticsearch.yml and 'MAX_LOCKED_MEMORY=unlimited' in /etc/sysconfig/elasticsearch
# Disable timeout logic and wait until process is stopped
# SIGTERM signal is used to stop the Java process
# Java process is never killed
# When a JVM receives a SIGTERM signal it exits with code 143
# Built for distribution-5.4.0 (distribution)

Step 4: Change  Elasticsearch YML file

I only edited these configuration sets. Please check configuration file and edit, as you need.

Data Path: /appdata/elasticsearch/data

Log Path: /appdata/elasticsearch/logs

Listen Network: localhost

Port: 9200

# cat /appdata/elasticsearch/config/elasticsearch.yml |grep  -v  '#' <strong>/appdata/elasticsearch/data</strong>
path.logs: /appdata/elasticsearch/logs
http.port: 9200 

Step 5: Start Elasticsearch

#systemctl enable elasticsearch
#systemctl start elasticsearch


I'm a IT Infrastructure and Operations Architect with extensive experience and administration skills and works for Turk Telekom. I provide hardware and software support for the IT Infrastructure and Operations tasks.

205 Total Posts
Follow Me


  1. Operation Intercept imposed strict, punitive searches of traffic along on the U. viagra in india does viagra expire

  2. This is filled with fluid and nerves, and is called the cochlea. does viagra make you bigger

  3. Treatment for sciatica focuses on relieving pressure and inflammation. viagra online canada

  4. I have been the birth control pill Aleese since college. safe generic viagra online

  5. Catatonic disorder due to GMC is not a well-studied phenomenon, and its prevalence has not been clearly established. generic viagra or cialis generic viagra without a doctor prescription

  6. Influenza is a contagious disease that attacks the respiratory tract, including the nose, throat and lungs. cheap generic viagra review

  7. Your doctor can also review the drugs you are taking. online generic viagra prescription buying viagra online from canada

  8. Its anti-inflammatory activity is poor. approved generic viagra

  9. Her father trailed at in a motorboat, so she could radio him for help if she had an attack. where can you buy real generic viagra

  10. More Info Find out about the hidden eye health dangers of UV TheraTears has patented nutrients that match your natural tears. generic viagra no prescription best viagra online

  11. Read more Tinnitus Relaxation techniques, regular exercise and improving your sleep can help. free shipping generic viagra

  12. The immune system does not recognize the affected cells as normal parts of the body, causing a T-cell-mediated immune response. generic viagra online

  13. Peripheral cyanosis: if present without central cyanosis, is a sign of decreased peripheral perfusion or impaired gas diffusion, and not necessarily hypoxia. viagra generic lowest price

  14. Steven Horng shows Google Glass that he and other doctors will use to read patient records. is generic viagra as good as real viagra - - cheap generic viagra co uk french index

  15. I highly recommend American Medical Supply for anyone who is an at home caregiver and needs equipment. online prescription viagra

  16. If pulling is stopped before scarring to the scalp then your hair will grow back normally. is there a generic form of viagra

  17. Reply Can anyone tell me what this is? where can i buy generic viagra when generic viagra

  18. If you barely brush your skin against the plant, a rash of red pimples, even blisters, can break out. no prescription viagra online

  19. Tea tree oil is very strong, so apply only a drop or use some carrier oil like olive oil to dilute it. cialis viagra levitra generic viagra patent expiration generic

  20. Africa's drug habit 2. back generic guarantee money viagra

  21. I ordered both o them online yesterday after reading your advice. get viagra prescribed online

  22. Yesterday I broke a L-Lysine tablet in half before taking it, to give my system a head start on it. online viagra

  23. My father knew about it and took me to the hospital for medical attention. prescription for viagra online

  24. The pathogens that cause STDs may be BACTERIA, viruses, or parasites. viagra samples online

  25. canadian pharmacy generic viagra buy viagra online cheap india generic viagra

  26. cheap viagra pills online best generic viagra forum buying viagra online with paypal

  27. viagra met voorschrift chuck norris viagra ad

  28. genuine viagra drug similiar to viagra

  29. viagra substitute over counter buy cheap viagra online viagra coupons and discounts

  30. gnc product like viagra buy generic viagra and cialis

  31. droga principal del viagra viagra generika was ist das daily cialis plus viagra

  32. Buy viagra over the counter australia canadian pharmacy viagra uk

  33. Viagra pills price in south africa female viagra where to buy

  34. Can you buy viagra mexico buy real viagra uk

  35. Sildenafil price australia viagra cream price

  36. Sildenafil 50 mg tablet cheap female viagra online

  37. Female viagra capsules in india buy female viagra uk

  38. Best viagra buy generic viagra online with mastercard

  39. Viagra free delivery can you buy generic viagra

  40. Female viagra medication where can i get viagra online

  41. Female viagra pill price over the counter viagra pills

  42. Generic sildenafil paypal generic viagra fast delivery

  43. Viagra on line how to buy genuine viagra online

  44. buy sildenafil viagra where to buy female viagra in us where to get cheap viagra

  45. Sildenafil 10 mg daily viagra in women

  46. Cheap viagra generic can you safely buy viagra online

  47. How much is generic viagra in mexico non generic viagra

  48. Generic viagra cost female viagra online australia

  49. Viagra 60 mg sildenafil 20 mg online no prescription

  50. Cheap generic viagra online usa price comparison viagra

  51. Viagra cream australia canadian viagra paypal

  52. Viagra online canada pharmacy cost of viagra 2017

  53. Viagra 50 generic viagra where to buy

  54. Female viagra medicine price in india cost viagra

  55. Sildenafil 25 mg daily sildenafil 50 mg price

  56. Prescription viagra cost viagra pills online australia

  57. 360 viagra viagra prescription nz

  58. Generic viagra us pharmacy buy viagra online europe

  59. Viagra pills over the counter canada viagra generic price canada

  60. Pharmacy rx viagra sildenafil 88

  61. Sildenafil 75 mg sildenafil 25 mg buy

  62. Viagra price uk discount viagra prices

  63. Where to buy viagra viagra tablets online in india

  64. Female viagra australia for sale viagra canada otc

  65. viagra tablets online viagra pill where to buy generic viagra paypal canada

  66. edad para el consumo de viagra viagra do uruguai viagra sales rep movie

  67. best sildenafil in india viagra online american express viagra for women australia

  68. order sildenafil viagra 25 mg tablet price viagra chewable

  69. get back up like viagra viagra ucinky muЕѕskГ© choroby viagra sans ordonnance forum

  70. jishka homework help essay writing 5th grade thesis statement

  71. essay online homework helper do my homework for me online

  72. ma thesis proposal hire someone to write a paper thesis statement in a research paper

  73. buy pre written essay teach me how to write an essay personal writing essay

  74. Buy essay papers essays to buy

  75. need help to write a book about my life essay immigration essay vikings

  76. Buy essays online cheap buy essays online for college

  77. writing a comparison essay introduction letter conclusion on a research paper

  78. write my essays for me best essay writers service research paper keywords

  79. Thesis assistance thesis express

  80. Thesis proposal writing phd no thesis

  81. viagra or cialis or levitra trial cialis free sample buy cialis online overnight shipping

  82. viagra for boys next day delivery viagra viagra paypal

  83. really really cheap cialis cialis order cialis india

  84. viagra geniric viagra without prescription viagra not working what to use?

  85. Cialis daily order cialis

  86. Tadalafil online cialis buy

  87. cialis what age i need cialis pay pal for cialis

  88. cialis no consultation cialis coupons low price cialis

  89. viagra australia how can i get free viagra buy viagra with dapoxetine

  90. Pfizer viagra free viagra

  91. How to use viagra for best results viagra without prescription

  92. viagra kaufen per nach nahme cheap viagra where to buy viagra with no prescription

  93. cheap viagra for sale viagra and dapoxine viagra with dapoxetine

  94. order viagra from canada buy viagra 100mg online buying viagra 25mg tablets online

  95. sildenafil cost pulmonary hypertension best place to buy cialis online 2021 generic cialis without rx effof Sex

  96. ordering generic viagra canada viagra pfizer on line has anyone bought viagra mexico effof Sex

  97. cialis tadalafil online pharmacies buying viagra in germany best generic viagra reviews effof Sex

  98. the people's pharmacy canadian pharmacy reviews canada drug pharmacy

  99. pharmacy in canada canadian pharmacy viagra best ed medication

  100. canadian drug pharmacy drugs from canada indian pharmacy online

  101. rx pharmacy online legit online pharmacy rx express pharmacy

  102. best drugstore eye cream ed meds

  103. canada drugs online 24 hour pharmacy near me pharm

  104. us online pharmacy 24 hour pharmacy near me п»їviagra online canadian pharmacy

  105. viagra 100 mg generic viagra me uk safe place to order viagra online effof Sex

  106. generic viagra online without prescription brand viagra samples viagra viagra 100mg gel viagra online without perscription viagra without prescription canada viagra generic 50 mg viagra overnight delivery usa viagra prices viagra 100 mg tablet viagra boots how much does a prescription of viagra cost viagra samples canada viagra online united kingdom anything cheaper than viagra

  107. cheapest generic levitra online generic viagra over the counter buy levitra no prescription required effof Sex

  108. viagra helsingborg buy female viagra australia viagra with prescription online buy generic viagra online in uk status of female viagra cheapviagrathatacceptsmastercard buy viagra online sydney viagra super force side effects viagra mit pay pal bezahlen order viagra with pay pal buyviagraonline order viagra in australia walgreen viagra cost per pill viagra hong kong guaranteed natural viagra

  109. buy viagra without presciption compralviagra viagra cialis on line parmacy precription strength viagra cialis vs levitra vs viagra which one is better viagra gold 800mg viagra dealers in malaysia byy viagra online how to buy viagra in shanghai where can i buy generic viagra viagra greece buy viagra discover card boots viagra online what ingredients inside viagra genric viagra

  110. viagra sydney where can you buy viagra with paypal? viagra who accept mastercard viagra cheap and fast delivery cheap viagra pills online female pink viagra online chewing viagra generic viagra 100 mg generic viagra pro viagra in india price viagra act viagra online kamagra cheap dr viagra buy viagra usa cheapest fastest viagra for sale viagra australia

  111. best over the counter viagra paypal viagra trusted ed medical viagra - pfizer viagra without prescription ’

  112. generic cialis india online cialis canada discount super active cialis - online generic cialis ’

  113. kann ich viagra in der apotheke kaufen where can i buy cialis pills viagra onlinepaypal effof Sex

  114. generic cialis (tadalafil) 20mg rx online cialis cialis quebec dollars canadien - order cialis uk ’

  115. canadian viagra online melbourne buy viagra cheap viagra - viagra from uk ’

  116. buy cialis online in usa cialis discussion forum dapoxetin,cialis - cialis no script ’

  117. cheap india generic viagra online brand viagra sale buy viagra online w/questionnaire - hard for 36hr like viagra ’

  118. viagra cheap generic cialis cialis viagra levitra young yahoo cialis online without a prescription - cialis and no prescription ’

  119. female viagra viagra cialis trail pack order generic viagra online - viagra 50mg online ’

  120. cialis blaack cialis free samples overnight delivery generic cialis - buy generic cialis canada ’

  121. viamedic viagra nuy viagra online cheepviagra - viagra free trial online ’

  122. 365pills mobi catalog viagra where to buy viagra online viagra onlinr - where can i buy viagra ’

  123. how does cialis work online pharmacies canada cialis before and after pictures - canada drug pharmacy ’

  124. pharmacy2u viagra soft viagra doses pfizer viagra india - buy viagra online usa ’

  125. order online cialis with dapoxetine cialis with dapoxetine cialis no prescriotion - drugstore1st cialis ’

  126. cialis at costco viagra cialis melbourne site:au canadian meds cialis - cialis no perscrtion ’

  127. buy cialis 20mg canada drug cialis without prescription - canadian pharcharmy online fda approved ’

  128. Tizanidine Lamivudin (Cipla Ltd) Lanoxin - pharmacy without dr prescriptions ’

  129. viagra without prescription costco online pharmacy buy viagra 20mg - Lamivudin (Cipla Ltd) ’

  130. viagra buy online in india viagra 100mg reviews cialis deals online effof Sex

  131. sildenafil 1mg cost of viagra 2017 sildenafil nz buy - viagra tablet 25 mg price in india ’

  132. cialis & dapoxitine cheap generic cialis inexpensive real cialis - review of cialis ’

  133. generic viagra canada viagra generic order viagra online cheap generic - purchase viagra online cheap ’

  134. viagra usa pharmacy levitra vs viagra cost dizzy right after viagra - photos of real viagra ’

  135. discount viagra online with cheap shipping viagra boots viagra india website inurl:forum

  136. walgreens online pharmacy no prescription pharmacies pills viagra pharmacy 100mg

  137. canadian pharmacy reviews viagra india cvs online pharmacy

  138. buy viagra without prescrip viagra brand name viagra for women in australia

  139. online canadian pharcharmy go coupon non prescription online pharmacy reviews

  140. cheap cialis canadian e liquid cialis

  141. online medicine to buy canada pharmacies without script muscle relaxant

  142. cialis liquid cialis 5 mg fa effetto

  143. canadapharmacy king pharmacy canada pharmacy online orders

  144. why buy cialis. com buy cialis online cialis price

  145. cialis original cialis in ungarn

  146. how old do you have to be to order viagra buy viagra without prescription canada what is blue pill viagra effof Sex

  147. texas cash out loan modification checkless payday loans cincinnati abl vs cash flow loan

  148. cialis walmart price cialis free trial canada

  149. Hi Men. cialis experiences does humana insurance cover cialis

  150. how to drink cialis cialis naisella cialis face red

  151. cialis online without prescription kan man blanda viagra och cialis

  152. cialis with dapoxetine cialis emivita

  153. basic bank account payday loans payday loans jacksonville illinois manappuram gold loan moneycontrol

  154. how to get female viagra pills order viagra online without prescription

  155. cialis original prix recommended dosage of cialis how daily cialis works

  156. hdfc cash credit loan ace cash express loans salem oregon apply for a payday loan uk

  157. pills like viagra cheap viagra

  158. how long before sex should you take viagra how long do the effects of viagra last viagra uk

Leave a Reply