본문 바로가기

Dev/삽질 방지19

apache + mod_ssl 설치 최근 보안 서버 관련하여 apache + openssl + mod_ssl 설치 관련 질문들이 많다 내용 확인 결과 현재 보안 관련 문서나 기타 관련 내용을 보면 아파치1.x 대 버전 + opensssl + mod_ssl 이 버전이 맞아야 설치가 된다는 것이다. 아파치2.x 대 버전은 따로 존재 하지 않는다. 아파치2.x 버전에서는 mod_ssl 이 기본 포함 되어있으며 su_linux1.5 에서는 기본 옵션으로 들어가 있으므로 바로 사용이 가능하다. 다른 리눅스의 경우 openssl 은 설치 되어 있어야 하므로 패키지 설치나 소스 설치 확인 후 설치가 안되어 있으면 따로 설치 하도록 한다. mod_ssl은 설치 할 필요가 없다.. 다만 apache 컴파일 하실때 ssl 모듈을 설정해 주면 된다. 아파치 .. 2012. 9. 8.
리눅스 아파치 설치하기 아파치 설치http://httpd.apache.org/download.cgi 에서Unix Source: httpd-2.2.17.tar.gz 를 다운받는다./usr/local/etc에서 압축을 푼다.# tar xvzf httpd-2.2.17.tar.gzhttpd-2.2.17를 이름을 바꾸던지 아님 링크를 건다.# mv httpd-2.2.17 httpd 또는 #ln –s httpd-2.2.17 httpd디렉토리 생성#cd /#mkdir web#cd web#mkdir httpd2다시 httpd로 이동#mv /usr/local/etc/httpd#make#make install/etc/ld.so.conf 파일에 아래 두줄을 추가함./web/httpd2/lib/web/httpd2/modules ldconfig로 추.. 2012. 9. 8.
apache 설치시 에러 발생 collect2: ld returned 1 exit status modules/http/.libs/libmod_http.a(byterange_filter.o): In function `ap_set_byterange':byterange_filter.c:(.text+0x12c1): undefined reference to `apr_array_clear'collect2: ld returned 1 exit statusmake[1]: *** [httpd] 오류 1make[1]: Leaving directory `/root/install_1/httpd-2.2.22'make: *** [all-recursive] 오류 1 config 옵션 추가--with-included-apr 2012. 9. 8.