[OHS] OHS 12.2.1.4 - 80/443 포트 설정
ohs 웹서버에서 1024 이하의 포트를 사용할 때에는 root 권한이 필요하다.
이번 글에서는 80/443 포트 설정 방법을 소개하려고 한다.
https://docs.oracle.com/middleware/12213/webtier/administer-ohs/getstart.htm#HSADM849
Running Oracle HTTP Server
You can stop Oracle HTTP Server by using WLST. From within the scripting tool, use one of the following commands: nmKill() will also work in a WebLogic domain. WARNING: If you run shutdown() without specifying any parameters, WebLogic Server will terminate
docs.oracle.com
우선 위 오라클 공식문서를 보면 설정 방법이 자세히 나와 있다.
> Starting Oracle HTTP Server Instances on a Privileged Port (UNIX Only)
1. ${WT_HOME}/ohs/bin/launch 파일 권한 변경
chown root ./launch
chmod 4750 ./launch
2. httpd.conf 사용자 그룹 정의
User <user>
Group <group>
이후 httpd.conf 와 ssl.conf에서 Listen Port를 1024 이하로 주고 기동하면 정상적으로 기동 된다.