David's Technical Note

[WebServer Installation] Installing and configuring iPlanet Web Server 7.0.9 본문

Product Engineering/1. WebServer

[WebServer Installation] Installing and configuring iPlanet Web Server 7.0.9

David Joo 2012. 5. 15. 19:35

Installing and configuring iPlanet Web Server 7.0.9

 

1. 설치 환경

OS: Linux 2.6.18-194.32.1.el5 x86_64 x86_64 x86_64 GNU/Linux

Web Server: Oracle iPlanet Web Server 7.0.9

 

2. 설치하기

2.1     설치 모듈 압축해제 한 후 ./setup --console을 입력한다.

 

2.2     <Press ENTER to Continue>에서 엔터 입력하고 아래 화면 처럼 Web Server 엔진이 설치될 home 디렉터리를 지정한다.

 

2.3  2번 선택하여 Custom 설치를 수행한다.

 

 

2.4  1, 2 번 선택

 

2.5  관리 서버와 Web 서버 인스턴스 생성

 

2.6  Host Name에 따라 Web Server Instance의 디렉터리 이름이 지정된다. Ex) https-mwtech

 

2.7  Administration Server의 필수정보를 입력한다.

 

2.8  Web Server의 필수정보를 입력한다.

 

2.9  설치 완료가 되었을 때 Admin Server 기동여부를 입력하고 1. Install now를 선택한다.

 

2.10 설치가 완료

 

2.11   완료 되면 https://설치서버IP:adminport/ 접속한 후 Continue to this website (not recommended) 클릭

2.12   WebServer 관리 콘솔 화면

 

2.13   Telnet창 접속한 후 Web_HOME/https-mwtech/bin/startserv를 실행하여 Web Server Instance를 기동시킨다.

2.14   http://설치서버IP주소:Webserverport/ 입력 하여 welcome-page를 띄운다.

 

3. Plug-In 설정하기

3.1 WeblogicServer에서 제공하는 plug-In 라이브러리 모듈을 임의의 공간에 둔다. iPlanet이 설치된 공간과 WeblogicServer가 설치된 공간이 장비 상 분리되어 있는 경우 iPlanet이 설치된 장비의 공간에 라이브러리 모듈을 둔다.

 - Weblogic Server 버전별 제공하는 라이브러리 모듈의 위치가 다를 수 있으며 Weblogic Server 11g 경우 /{WL_HOME}/wlserver_10.3/server/plugin/{uname -r}/에 존재한다.

 

3.2 /웹서버홈디렉터리/https-{호스트이름}/config 디렉터리 위치에 magnus.conf, obj.conf, mime.types 파일을 수정한다.

 

3.2.1 magnus.conf 수정사항

##########################################################

Init fn="load-modules" funcs="wl_proxy,wl_init" shlib="/home/jooyh/web/webserver7/libproxy_61.so"

Init fn="wl_init"

##########################################################

 

 

3.2.2 obj.conf 수정사항

         3.2.2.1 j2ee 주석처리하기

##############################

#NameTrans fn="ntrans-j2ee" name="j2ee"

################################

 

3.2.2.2 type 따라 요청 보내기

#####추가부분#####

Service method="(GET|HEAD|POST|PUT)" type="text/jsp" fn="wl_proxy" WebLogicHost="127.0.0.1" WebLogicPort="11789"

##################

 

3.2.2.3 ppath 따라 요청 보내기

#######추가부분#######

<Object name="weblogic" ppath="/*">

Service fn="wl_proxy" WebLogicHost="127.0.0.1" WebLogicPort="11789"

</Object>

######################

 

 

 

3.2.3 mime.types 추가 내용

type=text/jsp                      exts=jsp