아파치 TLSv1.3 적용(feat. openssl)
# Web&WAS/Apache2022. 5. 4. 20:05아파치 TLSv1.3 적용(feat. openssl)

설치환경 $ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) $ ./apachectl -V Server version: Apache/2.4.53 (Unix) Server built: Apr 27 2022 14:08:18 Server's Module Magic Number: 20120211:124 Server loaded: APR 1.7.0, APR-UTIL 1.6.1, PCRE 8.32 2012-11-30 Compiled using: APR 1.7.0, APR-UTIL 1.6.1, PCRE 8.32 2012-11-30 Architecture: 64-bit Server MPM: worker threaded: yes (fixed thread cou..

tomcat loadbalance
# Web&WAS/Tomcat2022. 4. 7. 08:48tomcat loadbalance

종류 1. 라운드로빈 2. 가중치 라운드로빈 3. 라스트 컨넥션 4. IP HASH 아래는 가중치 라운드로빈 설정(Weighted Round Robin) httpd.conf in virtualhost settingJkMount /* [loadbalance name] worker.propertiesworker.list=[loadbalancer name] worker.template.type=ajp13 worker.template.lbfactor=1 worker.template.host=localhost worker.template.socket_timeout=600 worker.template.socket_keepalive=1 worker.template.retries=0 worker.tomcat1.refe..

[자바]jar파일 안 class파일 찾기
# Web&WAS/Tomcat2022. 1. 26. 11:50[자바]jar파일 안 class파일 찾기

JAR 파일 안에 CLASS 파일 찾기 명령 (FIND) [darksharavim]find . -type f -name '*.jar' | while read LINE; do echo $LINE;jar tvf $LINE | grep "찾고자하는 클래스 이름";done Linux에서 grep 로 jar파일 안에 있는 class파일을 찾는 유용한 명령어 [darksharavim]grep 'org.apache.log4j.Logger' `find ./ -name "*.jar"` => org.apache.log4j.Logger 클래스 파일 앞뒤는 '' 표시 => find 앞 뒤는 ` ` 표시 [darksharavim]find [경로] -name "파일명" | xargs grep "찾을 내용" 예제 : find . ..

아파치 v2.0 to v2.2(only tls1.2) 업그레이드(centos5x)
# Web&WAS/Apache2021. 12. 2. 13:53아파치 v2.0 to v2.2(only tls1.2) 업그레이드(centos5x)

기존 운영중인 서버 환경 $ cat /etc/redhat-release CentOS release 5.11 (Final) $ /usr/local/apache-2.0.65/bin/apachectl -v Server version: Apache/2.0.65 Server built: Nov 19 2019 22:31:55 $ /usr/local/php-4.4.9/bin/php -v PHP 4.4.9 (cli) (built: Nov 19 2019 22:43:13) Copyright (c) 1997-2008 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Optimizer v2.6.2, Copyright (c)..

아파치 메소드(method) 제한 및 확인
# Web&WAS/Apache2021. 11. 4. 20:03아파치 메소드(method) 제한 및 확인

메소드 확인방법 $ curl -v -X OPTIONS http://localhost httpd.conf 설정 사이에 설정 해당경로만 메소드 제한걸리는 단점 하위폴더는 안됨! 아래처럼 으로 url pattern으로 차단해야함 Order deny,allow Deny from all

image