15. [JBCS] 설치
설치 가이드
Chapter 2. Installing JBoss Core Services Apache HTTP Server on Red Hat Enterprise Linux | Apache HTTP Server Installation Gui
형식멀티 페이지단일 페이지모든 문서를 PDF로 표시
docs.redhat.com
1. 설치 파일 다운로드
The world's open source leader
Red Hat is the world’s leading provider of open source solutions, using a community-powered approach to provide reliable and high-performing cloud, virtualization, storage, Linux, and middleware technologies. Red Hat also offers award-winning support, tr
www.redhat.com
2. 압축 해제 후 소유권 변경
3. jbcs 아파치의 home 디렉토리 및 하위 디렉토리 확인
apache home : /sw/web/jbcs-httpd24-2.4
4. postinstall 실행
압축 해제 후 apache 유저로 .postinstall 실행
(실행 실패 시 httpd.conf 파일의 User, Group 계정 확인)
./.postinstall
서버 home directory 등을 설정해 줌
root 권한으로 실행되어야 할 것들은 실행되지 않고, 경로 관련된 것들만 세팅됨
※ 경로가 변경이 안되었을 경우 수동으로 변경
sed -i 's/변경 전 내용/변경할 내용/g' 파일명
sed -i "s#@@@HTTPD_HOME@@@#/sw/web/jbcs-httpd24-2.4/httpd#g" httpd.conf
5. httpd.conf 파일 수정
- ServerRoot
- Listen
- User
- Group
- ServerName
6. conf.d, conf.modules.d 디렉토리의 파일 수정
jbcs는 기본적으로 httpd.conf 파일에서 conf.d, conf.modules.d 디렉토리의 *conf 파일을 include 하도록 설정되어 있음
해당 파일을 사용하지 않기 위해서는 파일명을 *.conf에서 다른 이름으로 수정
ex) ssl.conf -> ssl.conf.disable
conf.modules.d/00-base.conf 파일의 DefaultRuntimeDir 경로 확인
7. 서버 기동 후 페이지 확인
cd /sw/web/jbcs-httpd24-2.4/httpd/sbin
./apachectl start