2019/09
-
elasticsearch 7.3 설치하기프로그래밍/검색 2019. 9. 30. 21:52
elasticsearch 7.3 설치하기 이 포스팅에는 주기적으로 elasticsearch 설치하기 포스팅이 올라온다. 가끔씩 검색 엔진 사용할 일이 있는데 그때마자 버전이 몇 개씩이나 올라가 있어서 결국 새로 설치하기 때문이다;; 일단 7 버전의 주요 변화는 한국어 형태분석기가 내장되었다고 하면서 기존에 썼던 은전 한잎 플러그인이 더이상 호환이 안된다고 한다. 그럼 일단 다운로드 받아서 실행해보자. 버전별로 다운로드 받기 https://www.elastic.co/kr/downloads/past-releases 문서 : https://www.elastic.co/guide/en/elasticsearch/reference/7.3/targz.html wget "https://artifacts.elastic.c..
-
curl: symbol lookup error - anaconda 이슈 해결프로그래밍/Linux 2019. 9. 30. 21:32
curl: symbol lookup error - anaconda 이슈 해결 curl 'http://localhost:9200/?pretty'curl: symbol lookup error: /root/anaconda3/bin/../lib/libcurl.so.4: undefined symbol: SSLv2_client_method ???? 갑자기 뭐지???? # whereis curlcurl: /usr/bin/curl /usr/bin/X11/curl /usr/include/curl /usr/share/man/man1/curl.1.gz 전체 경로를 다 써서 /usr/bin/curl 'https://www.naver.com' 으로 하면 된다 뭐지 -_-;; anaconda의 curl이 기존에 설치되어있던 cu..
-
postgreSQL 사용법 - 테이블 업데이트프로그래밍/DB 2019. 9. 28. 16:09
postgresql 테이블 업데이트 방법 ( how to update postgresql table ) 다른 테이블 필드 값으로 업데이트 update table2 as f set field1 = h.field1 from table1 as h where f.field2 = 2 and f.id = h.id; 같은 테이블 필드를 분리해서 업데이트 update 테이블이름 set 본번 = split_part(지번, '-',1); 특정 값으로 전체 필드 업데이트 update 테이블이름 set 칼럼이름='문자열'