NAS

DS213+ apache 설치

I장군T 2022. 3. 22. 10:04
반응형

기본적으로 bootstrap이 설치되어 있다는 가정

 

1. ipkg로 apache를 설치한다.

ipkg install apache

 

2. port 관련 파일

vi /opt/etc/apache2/httpd.conf

 

 3. apache 시작

/opt/sbin/apachectl start

 

오류 관련 :

오류 1: 

    bash-3.2#] apachectl start

    httpd: Syntax error on line 74 of /opt/etc/apache2/httpd.conf: Cannot load /opt/libexec/mod_ext_filter.so into server:      /opt/libexec/mod_ext_filter.so: undefined symbol: apr_procattr_limit_set

 

 해당 오류가 발생하면 httpd.conf에 오류부분(mod_ext_filter.so)를 주석처리한다.(svn 기동엔 필요치 않음...)

 

오류 2:

    bash-3.2#] apachectl start

    httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.0.xx for ServerName

 이런 메시지가 뜨면 httpd.conf에 ServerName이 어떻게 설정되어 있는지 확인하고 적당하게 수정한다.

 ex> ServerName localhost

 다시 해보면 오류가 안날것임

반응형

'NAS' 카테고리의 다른 글

DS213+ bootstrap 설치  (0) 2022.03.22
DS213+ gcc bash 설치  (0) 2022.03.22
DS213+ NginX 설치  (0) 2022.03.22
DS213+ SVN 설치  (0) 2022.03.22
DS213+ SVN 계정 추가 및 저장소 생성  (0) 2022.03.22