본문 바로가기

설정

(28)
logstash conf example input { jdbc { jdbc_connection_string => "jdbc:postgresql://localhost:5432/atlasdb?useTimezone=true&useLegacyDatetimeCode=false&serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=utf8" jdbc_user => "atlas" jdbc_password => "atlas" jdbc_validate_connection => true jdbc_driver_library => "/lib/postgres-42-test.jar" jdbc_driver_class => "org.postgresql.Driver" columns_charset => { "r..
SSLError(SSLCertVerificationError - windows 파이썬 사용 TLDR 1 개인의 cert path를 잡아준다. 2 pip install --user -r requirements.txt --trusted-host pypi.org --trusted-host files.pythonhosted.org # 이걸로 설치한다. 3 C++ builder 를 설치한다. windows 파이썬 사용 https://github.com/pypa/pip/issues/5448#issuecomment-394254705 i cannot install or upgrade pip "ssl error" · Issue #5448 · pypa/pip * Pip version:9.0.3 Python version:3.6.5 latest Operating system:windows 10 home githu..
pg_hba.conf 개발 서버 설정 # TYPE DATABASE USER ADDRESS METHOD # "local" is for Unix domain socket connections only local all all trust # IPv4 local connections: host all atlas 0.0.0.0/0 md5 host all postgres 0.0.0.0/0 md5 # IPv6 local connections: host all all ::1/128 ident # Allow replication connections from localhost, by a user with the # replication privilege. #local replication all peer #host replication all 127.0.0..
hugo / github.io 블로그 참고 링크 https://gohugo.io/getting-started/quick-start/ Quick Start Create a Hugo site using the beautiful Ananke theme. gohugo.io https://aidanbae.github.io/code/hugo/deploytutorial/ Hugo로 github page에 블로그 배포하기 Hugo로 github page에 블로그 배포하기 - 아이단의 블로그 aidanbae.github.io 이거 보고 따라하면 됨. Step 1: Install Hugo brew install hugo hugo version Step 2: Create a New Site hugo new site quickstart (휴고 명령어를 쓸 수 있..
맥북 공장 초기화 후 for user 1 크롬설치, 동기화 사용 2 한영키 세팅 3 트랙패드랑 마우스 스크롤 설정 변경 앱 scroll reverser 설치 (https://pilotmoon.com/scrollreverser/) 4 화면분할앱 spectacle 설치 (https://www.spectacleapp.com/) 5 amphetamine 설치 6 날짜 시간 표기 변경 -------------------------------------------------------------------------------- 7 karabiner 로 한영전환키 세팅 (https://macnews.tistory.com/5043) 8 캘린더앱 설치 (https://www.mowglii.com/itsycal/) 9 잠금화면 메시지 설정 ..
elasticsearch geo-shape 쿼리 조회 "boundaries":{ "type": "geo_shape", "ignore_malformed": true, "precision": "1.0m", "strategy": "recursive", "distance_error_pct": 0.009 }, bounboundaries 는 geo_shape 타입 필드이구, 이렇게 해줘야 document들이 정상적으로 조회된다. 첨에 이 필드를 text로 만들었다가, documents들을 json으로 교체하려고하니까 변경이 되지 않았다. 해결방법 ) 1 reindex하여 PUT https://엘라스틱서치호스트/생성하고자하는_호스트명 2 먼저 매핑타입을 설정해준뒤 PUT https://엘라스틱서치호스트/인덱스이름/_mapping/doc Content-Type: appl..
postgresql 9.4 conf location 41 If you type the following: sudo su - postgres after installing postgresql-server, that should take you right to the home directory of postgres and will have the configuration files you are looking for. Usually in a RHEL environment, the configuration files would be stored in /var/lib/pgsql/. On my test environment it is stored in /var/lib/pgsql/9.1/data. shareimprove this answer answered Oct ..
쿠버네티스 튜토리얼해보기 쿠버네티스를 사용할 일이 생겼다. 1 needs : 두개의 컨테이너를 배포해야한다. 현재는 134번 과 180번의 사내 서버의 각각에 도커를 각각 배포한다. -> 귀찮음 발생 (개인적인 생각이지만, 아직 필요도 없는데 기술을 적용하는건 좀 미련한 일이라고 생각한다. 하지만 이번처럼 확실한 이유가 있을땐 미루지 말고 바로 해보기로.) 2 minikube와 kubeadm 둘중 무엇이 내 선택이 되야하는가 의 고민을 해야한다. (https://stackoverflow.com/questions/49850342/creation-of-nodes-in-vms-by-using-kubernetes-kubeadm-and-minikube) 여기에 따르면 미니쿠베는 단독 컨테이너만 만들 수 있어서 별로라고. 그리고 이렇다면 ..