본문 바로가기

전체 글

(198)
[Apache] Apache config 내의 ScriptAlias 지시어란? Apache Module mod_aliasAvailable Languages: en | fr | ja | ko | tr Description:Provides for mapping different parts of the host filesystem in the document tree and for URL redirectionStatus:BaseModule Identifier:alias_moduleSource File:mod_alias.cSummaryThe directives contained in this module allow for manipulation and control of URLs as requests arrive at the server. The Alias and ScriptAlias d..
[Apache] VirtualHost 설정 DirectiveDescription:Contains directives that apply only to a specific hostname or IP addressSyntax: ... Context:server configStatus:CoreModule:core and are used to enclose a group of directives that will apply only to a particular virtual host. Any directive that is allowed in a virtual host context may be used. When the server receives a request for a document on a particular virtual host, it ..
[Apache] Apache Http Header customizing(mod_headers) - Default Response header에서 Request, Response 처리 시간을 추가하기 위해서 사용============================================================================================ Apache Module mod_headers SummaryThis module provides directives to control and modify HTTP request and response headers. Headers can be merged, replaced or removed. Order of ProcessingThe directives provided by mod_headers can occur almost ..
[Apache] Apache log customizing하기(Apache Module mod_log_config) Apache Module mod_log_configSummaryThis module provides for flexible logging of client requests. Logs are written in a customizable format, and may be written directly to a file, or to an external program. Conditional logging is provided so that individual requests may be included or excluded from the logs based on characteristics of the request.Three directives are provided by this module: Tran..
[JAVA] String.split()와 StringTokenizer()의 차이(스크랩) 알고리즘 문제를 풀다가, String.split()와 StringTokenizer()이 어떤 차이점을 가지고 있을지 궁금해 검색을 하게 됐다. 요약 : 1. 속도면 : String.split()
[SPRINGBOOT]Elasicsearch(엘라스틱서치) 연동 =============업무 복습 ============== Elasticsearch와 spring 연동Nov 5, 2017Spring에서 Elasticsearch와 연동해보자. Elasticsearch는 기본적으로 http통신의 RestAPI이기 때문에 스프링에서 제공하는 RestTemplete를 이용해도 된다. 여기서는 Elasticsearch에서 제공하는 라이브러리를 이용해보도록 해보자.1. 엘라스틱서치 라이브러리 설치엘라스틱서치에서 제공하는 RestAPI 에는 공식적으로 두 가지 api가 존재한다.java Low Level REST Clientjava High Level REST Client기본적인 PUT, POST, GET, DELETE 등은 low level 버전으로 충분히 커버가 된다. hi..
[MYSQL] MYSQL ODBC Connector --------------------------------------------- 업무 복습 ------------------------------------------------ 주의: 3번 째 설정 중(odbcinst.ini 설정) - yum 사용시 기본적으로 libmyodbc82 버전이 깔림 . 버전에 맞게 변경 - [MYSQL]의 /usr/lib64/libmyodbc5w는 /usr/lib64/libmyodbc8w로 잡아야함 스크랩: http://pooh0928.tistory.com/10
[Centos & Ubuntu] 쌈바(samba) 설치 ======================업무 복습==================== 보충 설명: samba에 추가되는 계정은, 리눅스 자체에 존재하는 계정이어야 한다. 즉) 리눅스 계정과 samba 계정은 일관적이어야 한다. Centos7 : https://suwoni-codelab.com/linux/2017/05/23/Linux-CentOS-Samba/ Ubuntu : http://techlog.gurucat.net/290 -방화벽 포트를 올리는 과정이 없다. ufw를 사용하여 samba 포트를 열어줘야한다( 139, 445)