curl -XPUT "http://localhost:9200/_snapshot/javacafe" -H "Content-Type: application/json" -d "{""type"" : ""fs"",""settings"" : {""location"": ""C:\\Users\\사용자명\\Downloads\\elasticsearchs\\6.4.3\\book_backup\\search_example"",""compress"" : true}}"

 

> 윈도우에서 수행 시 쌍따옴표 쓸 것, 경로 표기(\\) 유의할 것, -H "Content-Type: application/json" 추가할 것.

'업무일지' 카테고리의 다른 글

211021  (0) 2021.10.21
211016  (0) 2021.10.16
윈도우 choco 설치  (0) 2021.09.29
210913  (0) 2021.09.13
210908  (0) 2021.09.08

chocolatey 사이트로 이동하여 매뉴얼대로 수행한다.

https://docs.chocolatey.org/en-us/choco/setup

 

Chocolatey Software Docs | Setup / Install

Chocolatey is software management automation for Windows that wraps installers, executables, zips, and scripts into compiled packages. Chocolatey integrates w/SCCM, Puppet, Chef, etc. Chocolatey is trusted by businesses to manage software deployments.

docs.chocolatey.org

매뉴얼 내용대로 하자면,

Install with cmd.exe (> 명령 프롬프트에서 다음의 명령어 복사, 붙여넣기)

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

 

'업무일지' 카테고리의 다른 글

211016  (0) 2021.10.16
엘라스틱서치 실무가이드 예제 따라하기 - 윈도우에서 curl로 스냅숏 생성  (0) 2021.09.29
210913  (0) 2021.09.13
210908  (0) 2021.09.08
210831  (0) 2021.08.31

+ Recent posts