Ctrl+C&V 로 하는 프로그래밍
-
Disk 용량 10% 이상 확보 필요 curl -XPUT 'http://localhost:9200/_all/_settings?preserve_existing=true' -d '{ "index.blocks.read_only_allow_delete" : null }' -H 'Content-Type: application/json'
elasticsearch [..all indices on this node will be marked read-only..] 장애 처리Disk 용량 10% 이상 확보 필요 curl -XPUT 'http://localhost:9200/_all/_settings?preserve_existing=true' -d '{ "index.blocks.read_only_allow_delete" : null }' -H 'Content-Type: application/json'
2022.05.05 -
MongoDB 커넥션 정보를 확인할 수 있는 명령어 db.serverStatus()
MongoDB 커넥션 상태 정보 확인MongoDB 커넥션 정보를 확인할 수 있는 명령어 db.serverStatus()
2022.02.18 -
mongoDB PSA 구성으로 arbiter 추가 시 다음과 같은 장애 발생 MongoServerError: Reconfig attempted to install a config that would change the implicit default write concern. Use the setDefaultRWConcern command to set a cluster-wide write concern and try the reconfig again. 장애 처리 방법 다음 명령어 실행 후 arbiter 노드 추가 명령어 실행 db.adminCommand({ setDefaultRWConcern : 1, defaultWriteConcern: { w: 1 }, }) arbiter 노드 추가 명령어 rs.addA..
Mongodb Replication 구성 시 Reconfig attempted to install a config that would change the implicit default write concern.. 장애 해결 방법mongoDB PSA 구성으로 arbiter 추가 시 다음과 같은 장애 발생 MongoServerError: Reconfig attempted to install a config that would change the implicit default write concern. Use the setDefaultRWConcern command to set a cluster-wide write concern and try the reconfig again. 장애 처리 방법 다음 명령어 실행 후 arbiter 노드 추가 명령어 실행 db.adminCommand({ setDefaultRWConcern : 1, defaultWriteConcern: { w: 1 }, }) arbiter 노드 추가 명령어 rs.addA..
2022.02.15 -
docker nexus 환경에서 새로운 이미지 push 경우 docker push no basic auth credentials 장애 발생 시 다음과 같이 docker logout 이후 login 으로 장애 해결 docker logout docker login localhost:5000
Docker push no basic auth credentials nexus errordocker nexus 환경에서 새로운 이미지 push 경우 docker push no basic auth credentials 장애 발생 시 다음과 같이 docker logout 이후 login 으로 장애 해결 docker logout docker login localhost:5000
2022.02.13 -
git clone https://github.com/ElasticHQ/elasticsearch-HQ.git pip install -r requirements.txt python ./manage.py runserver 접속: http://localhost:5000 1). 'Request' object has no attribute 'is_xhr' 장애 발생 시 pip install werkzeug==0.16.1
elasticsearch 7.16.3 환경에서 elasticsearch-hq 3.5.12 설치git clone https://github.com/ElasticHQ/elasticsearch-HQ.git pip install -r requirements.txt python ./manage.py runserver 접속: http://localhost:5000 1). 'Request' object has no attribute 'is_xhr' 장애 발생 시 pip install werkzeug==0.16.1
2022.02.05 -
error log elastic "No processor type exists with name [attachment]" sudo bin/elasticsearch-plugin install ingest-attachment
elasticsearch "No processor type exists with name [attachment]" 장애 해결error log elastic "No processor type exists with name [attachment]" sudo bin/elasticsearch-plugin install ingest-attachment
2022.02.04 -
GO 설치 다운로드: https://go.dev/dl/ 소스 설치: https://go.dev/doc/install/source Go 설치 To build the Go distribution, run 명령어 $ cd src $ ./all.bash brew 설치 명령어 brew install golang go 설치 환경 확인 명령어 go env 환경 변수 추가 export GOROOT=/usr/local/Cellar/go/1.17.6/libexec export GOPATH=/Users/kogun82/go export PATH=$PATH:$GOROOT/bin:$GOPATH/bin export GOPROXY=https://proxy.golang.org,direct Monstache 설치 brew install..
Mac OSX 환경에서 Monstache와 MongoDB 연동하기GO 설치 다운로드: https://go.dev/dl/ 소스 설치: https://go.dev/doc/install/source Go 설치 To build the Go distribution, run 명령어 $ cd src $ ./all.bash brew 설치 명령어 brew install golang go 설치 환경 확인 명령어 go env 환경 변수 추가 export GOROOT=/usr/local/Cellar/go/1.17.6/libexec export GOPATH=/Users/kogun82/go export PATH=$PATH:$GOROOT/bin:$GOPATH/bin export GOPROXY=https://proxy.golang.org,direct Monstache 설치 brew install..
2022.02.04 -
1). pip 설치된 패키지 목록 저장 pip freeze > requirements.txt 2). 설치 목록으로 부터 pip 패키지 설치 pip install -r requirements.txt
Python pip 패키지 리스트 파일 저장 및 설치1). pip 설치된 패키지 목록 저장 pip freeze > requirements.txt 2). 설치 목록으로 부터 pip 패키지 설치 pip install -r requirements.txt
2021.06.15