Cov txheej txheem:

Yuav ua li cas kuv thiaj li nres Elasticsearch kev pabcuam hauv Windows?
Yuav ua li cas kuv thiaj li nres Elasticsearch kev pabcuam hauv Windows?

Video: Yuav ua li cas kuv thiaj li nres Elasticsearch kev pabcuam hauv Windows?

Video: Yuav ua li cas kuv thiaj li nres Elasticsearch kev pabcuam hauv Windows?
Video: yuav coj li cas kom luag nyiam 2024, Tej zaum
Anonim

Kaw lub node

  1. Khiav lub Qhov rai command prompt ua tus thawj tswj hwm.
  2. Nkag mus rau hauv phau ntawv teev npe hauv RelativityDataGrid folder. C: RelativityDataGrid elasticsearch - qhov tseem ceeb.
  3. Nres tus Kev pabcuam Elasticsearch los ntawm kev khiav cov lus txib hauv qab no:. kev pabcuam. ib bat nres .

Tsis tas li ntawd, kuv yuav tshem tawm Elasticsearch li cas?

11 Teb

  1. Hauv koj lub davhlau ya nyob twg (dev hom pib), tsuas yog ntaus "Ctrl-C"
  2. Yog tias koj pib nws li daemon (-d) nrhiav PID thiab tua cov txheej txheem: SIGTERM yuav kaw Elasticsearch kom huv si (tua -15 PID)
  3. Yog tias khiav raws li kev pabcuam, khiav qee yam xws li kev pabcuam elasticsearch nres: Linux. Qhov rai.

Tom qab ntawd, lo lus nug yog, Kuv yuav pib Elasticsearch li kev pabcuam li cas? Yuav ua li cas khiav Elasticsearch Daemon Service

  1. /usr/local/share/Elasticsearch/bin/service/Elasticsearch.
  2. console Launch hauv lub console tam sim no.
  3. pib pib khiav cov txheej txheem raws li ib tug daemon.
  4. nres nres yog tias khiav raws li daemon lossis hauv lwm lub console.
  5. restart Nres yog tias khiav thiab ces pib.
  6. condrestart Restart tsuas yog tias twb tau khiav lawm.
  7. Status Query kom pom cov xwm txheej tam sim no.

Hais txog qhov no, Kuv yuav ua li cas thiaj li khiav Elasticsearch ua qhov kev pabcuam hauv Windows?

Configure khiav raws li kev pabcuam

  1. Nruab qhov kev pabcuam elasticsearch. Qhib cov kab hais kom ua thiab mus rau daim nplaub tshev installation. Ua haujlwm binservice. ib install.
  2. Qhib Services tswj console (services. msc) thiab nrhiav Elasticsearch 2.2. 0 kev pabcuam. Hloov Startup Hom rau Tsis Siv Neeg.
  3. Pib qhov kev pabcuam.

Kuv tuaj yeem qhia tau li cas yog Elasticsearch tab tom khiav?

Xyuas kom tseeb tias elasticsearch tab tom khiav los ntawm kev ntaus $ smarts/bin/sm_service qhia. 2. Tshawb xyuas elasticsearch yog ua haujlwm thov los ntawm browser ntawm tib lub tshuab hauv Windows lossis siv cov cuab yeej xws li curl ntawm Linux. Ib nplooj ntawv tshwj xeeb rau qhov browser yuav tshwm sim.

Pom zoo: