1. 설 치1.1. OpenSSL*** Installing development filesinstall ./include/openssl/aes.h -> /sw/web/apache/openssl/include/openssl/aes.hcp: './include/openssl/aes.h' and '/sw/web/apache/openssl/include/openssl/aes.h' are the same filemake: *** [Makefile:324: install_dev] Error 1설명OpenSSL 압축 해제한 디렉터리와 ./Configure설정 시 지정한 --prefix에 OpenSSL 홈 디렉터리가 일치할 때 발생대응 방법설치 파일 디렉터리(Install)와 설치 대상 디렉터리(Working) 분리..
Apache 설정1. mod_jk를 사용한 연동1.1. Apache mod_jk 설치 mod_jk는 Apache와 Tomcat을 연동하기 위한 모듈mod_jk는 https://tomcat.apache.org/download-connectors.cgi에서 다운로드 가능하다다운로드한 파일은 ${APACHE_HOME}/modules/ 디렉터리에 업로드1.2. httpd.conf 파일 설정mod_jk 모듈을 사용하기 위하여 LoadModule 추가LoadModule jk_module modules/mod_jk.somod_jk 세부 설정JkWorkersFile /home/hfapache/apach2.4/conf/workers.properties # worker.propertis 설정 파일 경로JkLo..
Apache Default Config Apache 기본 설정 정리 참고 사이트 : https://httpd.apache.org/docs/2.4/ko/mod/core.html 1. ServerTokens Response Header에 서버 정보 및 OS 정보를 포함해서 응답을 보낼지 결정하는 옵션 메 뉴 내 용 사용 예시 ServerTokens Major 기본 값 ServerTokens Full 설정 범위 Server Config(httpd.conf) ■ 설정 값 설정 값 내 용 Full Server: Apache/2.4.2 (Unix) PHP/4.2.2 MyMod/1.2 Prod Server: Apache Major Server: Apache/2 Minor Server: Apache/2.4 Min Se..
Nginx ${NGINXDIR}/sbin 디렉토리가 $PATH에 잡혀있어야 한다. 1. nginx 기동 $ nginx -p ${NGINXDIR} 2. 기동 후 프로세스 확인 $ ps -ef | grep nginx #아래와 같이 프로세스 기동 확인됨 root 287789 1 0 17:08 ? 00:00:00 nginx: master process nginx web 287790 287789 0 17:08 ? 00:00:00 nginx: worker process 3. nginx 다운 # 즉시종료 $ nginx -k stop # 요청 처리후 종료 $ nginx -s quit 기동 시 문제상황 1. 포트 바인딩 문제 nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permi..