본문 바로가기

전체 글

(111)
[ElasticSerarch 6.4.x] 외부접속방법(Feat centOS7) 엘라스틱 서치를 통해서 검색엔진을 만들다 리눅스 환경에서 구축을 하다 보니 외부 접속이 필요하여 설정하게 되었다. 엘라스틱 서치가 설치된 config 디렉토리에서 환결ㅈ설정 세팅 vi elasticsearch.yml 설정 중 아래 부분을 변경 ---------------------------------- Network ----------------------------------- # Set the bind address to a specific IP (IPv4 or IPv6): # #network.host: 192.168.0.1 network.host: 0.0.0.0 # Set a custom port for HTTP: # http.port: 9200 transport.host: localhost tr..
[curl-gui] curl rest gui 크롬 & 응용프로그램 엘라스틱 서치를 하면서 curl을 쓰면서 명령어 입력이 콘솔에서 하기는 어렵고 오타 고치기도 힘들어서 curl gui를 찾아 보니 크롬에서 앱으로 지원을 하고 있었다. 굳이 콘솔에서 하니 curl이지 rest gui로 검색해도 다른 응용들이 나온다. https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo Advanced REST client The web developers helper program to create and test custom HTTP requests. chrome.google.com 위의 URL은 크롬에서 curl을 편하게 gui로 쓰게 하는 앱이다. 전송 방시 선택후..
[Apache2.2.x] [warn] _default_ VirtualHost overlap on port 443, the first has precedence 아차피에서 SSL 설정을 하고 문법 오류가 있는지 확인을 하고 ./httpd -t 아래의 메세지가 나오면 에러는 아니지만.. [Thu Jul 01 11:15:20 2021] [warn] _default_ VirtualHost overlap on port 443, the first has precedence 주의 메세지가 뜬다 ... 이건 443 포트로 선언된 VirtualHost가 존재하기 때문이다. 이걸 해결 하기 위해선 httpd-ssl.conf 파일을 열어서 상단에 아래의 내용을 입력하고 저장하면 된다. NameVirtualHost *:443 그리고 다시 문법 확인을 하면 Syntax OK 확인을 하였다. 간단하지만 신경쓰인다면.. 해결방법입니다.
[mysql-ERROR 1819 (HY000)]Your password does not satisfy the current policy requirements mysql 5.7이상에서 비밀번호를 바꾸는데.... 아래와 같은 메세지가 나온다면.. ERROR 1819 (HY000): Your password does not satisfy the current policy requirements 이건 mysql 비밀번호 관련으로 정책 이슈가 발생하여 나는 에러이다. 비밀번호 정책을 확인하기 위해서 아래의 명령어를 사용한다. mysql 접속 상태에서. show variables like 'validate_password%'; 위의 이미지 정보는 password validate의 정보이다. 여기서 비밀번호 길이를 설정등을 변경할수 있다. 일단 비밀번호를 맘대로 하기 위해선 policy medium을 low로 변경하면 된다. mysql> SET GLOBAL validat..
[spring] db-connection(Feat.DriverManagerDataSource) 스프링개발을 하면서 data source에 개발시에는 org.springframework.jdbc.datasource.DriverManagerDataSource 사용하는경우가 많다.. 머 개발 하는 경우에는 그렇치만. 이게 실 서버에 적용이 된다면 어마어마한 사건을 일으키게 된다!!!! https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/jdbc/datasource/DriverManagerDataSource.html DriverManagerDataSource (Spring Framework 5.3.8 API) Set the JDBC driver class name. This driver will get i..
[centOs-Apache2.2.x] httpd.conf: Cannot load /modules/mod_wsgi.so 에러 잘되고 있는 아파치 서버에 SSL 갱신으로 디렉토리만 바꾸고 문법 오류 체크를 하는데;; 수정도 하지 않은 부분에서 syntax 에러가;;; 여기서 문법체크 명령어는 apache가 설치된 디렉토리 에서 bin으로 이동후 아래 명령어 실행 ./httpd -t 그런데 ... httpd: Syntax error on line 54 of /httpd.conf: Cannot load /modules/mod_wsgi.so into server: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory 당황했지만 위와 같은 오류가 나는 이유는 아마 파이썬을 이용해 웹 서비스를 하게 된다면 겪을수도... 있다는... 현재 설치된 서버..
centOS7-apache2.2.x configure: error: ...No recognized SSL/TLS toolkit detected 간만에 서버 세팅을 하니 오류가 정말 많이 나는구나.. 아파치 컴파일 설치중 아래와 같은 메세지가 나온다면... configure: error: ...No recognized SSL/TLS toolkit detected 해결 방법은 yum install openssl-devel 위의 라이브러리 설치 후 다시 설치 하면 해결!
centOS7-apache2.2.x checking for APR-util... reconfigconfigure: error: Cannot use an external APR with the bundled APR-util 아파치 컴파일 설ㅈ치중 apr 에러가 난다;;; 소스 설치에 문제가 없는데 ㅜ.ㅜ 아래와 같은 메세지가 나온다면 Configuring Apache Portable Runtime library ... checking for APR... yes setting CC to "gcc" setting CPP to "gcc -E" setting CFLAGS to " -g -O2 -pthread" setting CPPFLAGS to " -D_REENTRANT -D_GNU_SOURCE" setting LDFLAGS to " " Configuring Apache Portable Runtime Utility library... checking for APR-util... reconfig configure: error: Ca..