전체 글 (113) 썸네일형 리스트형 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.. centOS7-Apache2.2.x checking whether to enable mod_deflate... configure: error: mod_deflate has been requested but can not be built due to prerequisite failures 아차피 컴파일 설치 중 아래와 같은 메세지와 나온다면... checking whether to enable mod_deflate... configure: error: mod_deflate has been requested but can not be built due to prerequisite failures 해결 방법은 yum -y install zlib-devel 라이브러리 문제였다 설치 후 다시 설치하면 해결 [spring-maven]외부라이브러리 설정[Feat.kmc 라이브러리] maven을 통해서 라이브러리를 다운 로드 받다 보면 maven 저장소에서 제공하지 않는 라이브러리를 사용해야 하는 경우가 있다. 그때 개발툴에서는 add jar를 통해서 하면 쉽지만 배포시엔 사용할수 없는 방법이다. 배포시에 메이븐을 통해서 라이브러를 사용한다면 아래와 같이 설정하면 된다. 외부라이브러인 ICERTSecu_JDK18.jar 라이브러리를 추가하였다. pom.xml com.icert.comm.secu IcertSecuManager 1.8 system ${project.lib.path}/ICERTSecu_JDK18.jar 위의 systemPath를 보면 project.lib.path가 보인다. 이건 pom.xml에서 프로퍼티 설정한 값이다. 1.8 ${project.basedir}/src/m.. [JAVA] URL 파라메터 분리(Feat.get) 요즘 파이썬을 통해서 크롤링을 하지만. 자바로 만들어진 로직을 사용할때도 있다. 자바에서 URL중에서 해당 값만 가지고 오기 사용한 메서드 입니다. 값은 스트링으로 처리하여 메서드에서 스트링 값을 가지고 처리 하게 함. // 맵을 통해서 값을 저장 HashMap url_map = (HashMap) getQueryParam(link); // query값은 파라메터 값입니다. ?이후에 있는 값들을 처리 public Map getQueryParam(String query){ String[] params = query.split("&"); Map map = new HashMap(); for (String param : params){ String name = param.split("=")[0]; String v.. [Python]URL 파라메터 추출(feat.urlparse) 크롤링을 하면서 파라메터에 따른 주소 창의 값들을 분석해야 하는 경우가 있다. 어떤키에 값이 있는지 체크를 할때 방법으로는 정규식으로 처리 또는 python 라이브러리인 urlparse를 사용하는 방법이다. urlparse를 사용하면 간단히 파라메터 값을 구할수 있다. 단 여기서 파라메터를 구하기 위해서는 get방식의 주소 값으로 되어 있어야 한다. http://example.com/test?id=xxx 이런식의 주소여야 한다. #URL 주소를 넣어줘야 한다. url_check = urlparse('http://www.example.com/test?id=1235') # parse_qsl 라이브러리르 통해서 분리 하고 dict로 저장 qs = dict(parse_qsl(url_check.query)) #q.. [flutter - 환경구축오류] Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema flutter 환경 구축을 해야 하는 상황이 왔다. flutter 구축된 환경을 확인하기 위해서 flutter doctor를 입력 후 확인해보니 X Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/windows#android-setup for more details. 위의 내용은 run에 입력된 내용을 처리하면 된다. 안드로이드 사용 로그를 입력해달라는거다. flutter 환경 세팅을 하고 그런데.. 못 보던 오류인.. flutter doctor --android-licenses 입력 후 .. Let's Encrypt manual 갱신[Feat. apache] Let's Encrypt SSL을 발급받으면서 수동으로 만든것이 있어서 자동으로 갱신이 안되는 부분이 생긴다.. 매번 DNS 레코드를 수정해야 하는 상황이 발생하는데;; 난 그 귀찮은걸 그냥 한다.. 암튼 수동 업데이트시 업데이트 오류가 나는 경우 갱신 방법이다. 위의 이미지는 크롬에서 SSL로 적용이 안되어 있는 경우 발생한다. 이경우 SSL을 교체 해야 한다. 이유는 날짜 만료... 1. TXT로 갱신 방법 1) certbot을 실행할때 manual 옵션과 preferred-chaaenges dns 를 입력해서 실행 certbot certonly -d [갱신도메인] --manual --preferred-challenges dns certbot certonly -d hasiki.tistory.com -.. 이전 1 2 3 4 5 6 7 8 ··· 15 다음