Server

Linux에 아파치 서버 설치하기

Storyerp 2013. 9. 10. 08:35
반응형

오늘은 linux에서 apache 설치하는 방법을 알려 드리겠습니다.


Apache Httpd (2.2.3) 설치 
1. gcc compiler 설치 
    1.1 gcc compiler 설치 - System Administrator에 부탁해서 CD설치를 권장합니다. 
    1.2 gcc PATH에 등록 

2. apache httpd 소스 다운로드(http://www.apache.org)&Compile(httpd-2.2.3 다운 받은 directory로 이동후 실시) 

    2.1 ./configure <enter> 
    2.2 make <enter> 
    2.3 make install <enter> - root 권한 필요함 
    2.4 sh buildconf - 수행하기전 autoconf, libtool 등 유틸이 설치되었는지 확인 
        2.4.1 autoconf 설치 
            2.4.1.1 autoconf download (http://ftp.gnu.org/gnu/autoconf/) 
            2.4.1.2 ./configure <enter> 
            2.4.1.3 make <enter> 
            2.4.1.4 make install <enter> - root 권한 필요함 
        2.4.2 libtool 설치 
            2.4.2.1 libtool download (ftp://ftp.gnu.org/gnu/libtool/) 
            2.4.2.2 ./configure <enter> 
            2.4.2.3 make <enter> 
            2.4.2.4 make install <enter> - root 권한 필요함 
    2.5 ./configure --with-mod_jk <enter> 
    2.6 make <enter> 
    2.7 make install <enter> 

* 2.5 부분은 tomcat과 ajp connector를 연결하기 위해서 새로 컴파일하는 과정 


반응형