티스토리 뷰

root 계정이 아닌 일반계정으로 apache를 설치한 경우 well known port(0~1023) 를 LISTEN 할 수 없다.

80 포트로 서비스를 하고자 할 경우 아래와 같이 설정하면 된다.


설정법

# apache bin 디렉토리로 이동
$ cd $APACHE_HOME/bin
 
# httpd 파일의 소유자를 root 로 변경 및 sticky bit 추가
$ chown root:root httpd
$ chmod +s httpd

아래와 같이 나오면 성공
-rwsr-sr-x  1 root     root 1469025 Sep 27  2012 httpd


댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/04   »
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 30
글 보관함