# Linux - Apache 2.4.6 & Tomcat 8.0.0-RC3 설치및 연동


> 주의
: Spring 프레임워크에 Sitemesh(sitemesh-2.4.2.jar) 페이지 레이아웃 프레임워크를 연동하여 사용할 경우,
         Tomcat 8.0.0-RC3 버전에서는 Sitemesh 필터가 처리되지 않는 증상 발생하여,
         하위 버전 사용(Tomcat 7.0.42)함.


# Tomcat 8.0.0-RC3 설치

> 바이너리 파일 다운로드
   다운로드후 특정 위치에 압축 풀어놓음.
http://mirror.apache-kr.org/tomcat/tomcat-8/v8.0.0-RC3/bin/apache-tomcat-8.0.0-RC3.tar.gz

# Apache 2.4.6 설치 진행

> apache_2.4.6 다운로드후 특정 위치에 압축 풀어놓음.
http://mirror.apache-kr.org/httpd/httpd-2.4.6.tar.gz

>configure 명령 실행
Configure Option Documentation
./configure \
--prefix=/usr/local/apache_2.4.6 \
--with-apr=/usr/local/apr \
--with-apr-util=/usr/local/apr-util \
--with-pcre=/usr/local/pcre \
--enable-mods-shared=all \
--enable-rewrite \
--enable-so \
--enable-headers \
--enable-cache \
--enable-file-cache \
--enable-disk-cache \
--enable-mem-cache

[root@web httpd-2.4.6]# make & make install

# Apache 설치 진행중에 arp 패키지 오류 발생시, 관련 패키지를 다운로드 받아서 개별로 설치 진행

>  패키지(apr, pcre) 다운로드
http://apache.mirror.cdnetworks.com/apr/
http://apache.mirror.cdnetworks.com/apr/apr-1.4.8.tar.gz
http://apache.mirror.cdnetworks.com/apr/apr-util-1.5.2.tar.gz
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.33.tar.gz

# pcre 설치
./configure --prefix=/usr/local/pcre

[root@web pcre-8.33]# make && make install

> gcc에러 발생시, rpm 설치 필요
[root@web apr-1.4.8]# yum install gcc

[root@web apr-1.4.8]# yum install gcc-c++

# apr(Apache Portable Runtime) 설치
APR Documentation
./configure --prefix=/usr/local/apr

[root@web apr-1.4.8]# make & make install

> 에러 발생시, libtool 파일 복사후 다시 진행
rm: cannot remove `libtoolT': No such file or directory

[root@web apr-1.4.8]# cp -arp libtool libtoolT

# apr-util 설치
./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr

[root@web apr-util-1.5.2]# make & make install

# Tomcat Connector 설치

> 다운로드
http://mirror.apache-kr.org/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.37-src.tar.gz

# cd /data/Install/tomcat-connectors-1.2.37-src/native

./configure --with-apxs=/usr/local/apache_2.4.6/bin/apxs

[root@web native]# make && make install

# Apache httpd.conf에 mod_jk 정보 추가
# vi /usr/local/apache_2.4.6/conf/httpd.conf

# Modjk Setting
LoadModule jk_module /usr/local/apache_2.4.6/modules/mod_jk.so
JkWorkersFile /usr/local/apache_2.4.6/conf/workers.properties
JkLogFile /usr/local/apache_2.4.6/logs/mod_jk.log

# workers.properties 파일 생성및 설정 추가
Reference Guide workers.properties configuration
# vi /usr/local/apache_2.4.6/conf/workers.properties

worker.list=worker1
worker.worker1.port=8009
worker.worker1.host=localhost
worker.worker1.type=ajp13
worker.worker1.lbfactor=1


# Apapche & Tomcat 연동후, 웹 페이지 접근 에러시 참고
http://develop.sunshiny.co.kr/960


※ 위 내용은, 여러 자료를 참고하거나 제가 주관적으로 정리한 것입니다.
   잘못된 정보나 보완이 필요한 부분을, 댓글 또는 메일로 보내주시면 많은 도움이 되겠습니다.
09 30, 2013 10:47 09 30, 2013 10:47


Trackback URL : http://develop.sunshiny.co.kr/trackback/961

  1. host protection insurance

    Tracked from host protection insurance 02 11, 2020 04:53 Delete

    Get started today with the very best vacation rental by owner currently currently available additionally at a great value today only!

  2. check it out here

    Tracked from check it out here 02 11, 2020 21:03 Delete

    Procure now the top school bell system that's this week and available plus in stock in addition installed by professionals now only!

  3. Ruff Rollin wheelchairs

    Tracked from Ruff Rollin wheelchairs 02 15, 2020 01:22 Delete

    Get moving now with with custom wheels for dogs that's currently available additionally at a great value today only!

Leave a comment

« Previous : 1 : ... 74 : 75 : 76 : 77 : 78 : 79 : 80 : 81 : 82 : ... 648 : Next »

Recent Posts

  1. HDFS - Python Encoding 오류 처리
  2. HP - Vertica ROS Container 관련 오류...
  3. HDFS - Hive 실행시 System Time 오류
  4. HP - Vertica 사용자 쿼리 이력 테이블...
  5. Client에서 HDFS 환경의 데이터 처리시...

Recent Comments

  1. Article writing is also a exciteme... 레깅스룸 02 16,
  2. I like reading an article that can... 부산고구려 02 16,
  3. Asking questions are truly nice th... 해운대룸싸롱 02 15,
  4. Pretty! This was an extremely wond... 분당셔츠룸 02 15,
  5. Wonderful beat ! I would like to a... 레깅스룸가격 02 14,

Recent Trackbacks

  1. london relocation ltd london relocation ltd 16 02
  2. extract your knowledge extract your knowledge 16 02
  3. dog cart dog cart 15 02
  4. This Site This Site 15 02
  5. massive action massive action 15 02

Calendar

«   02 2020   »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29

Bookmarks

  1. 위키피디아
  2. MysqlKorea
  3. 오라클 클럽
  4. API - Java
  5. Apache Hadoop API
  6. Apache Software Foundation
  7. HDFS 생태계 솔루션
  8. DNSBL - Spam Database Lookup
  9. Ready System
  10. Solaris Freeware
  11. Linux-Site
  12. 윈디하나의 솔라나라

Site Stats

TOTAL 2846534 HIT
TODAY 96 HIT
YESTERDAY 544 HIT