안녕 하세요
처음으로 아파치를 설치할려고 합니다.
근데 뭐가 어찌 돌아가는지 전혀 감을 못잡겠내여.
리눅스를 설치할때
웹서버를 빼고 모두 설치를 하고
그리고 아파치 apache_1_3_12_tar.gz을 다운받아서
/usr/local라는 디렉토리에 아축을 풀었습니다.
/usr/local/apache_1.3.12를
pwd
/usr/local
mv apache_1.3.12 apache로 디렉토리를 바꾸어주었습니다.
글고 /usr/local/apache/src 디렉토리에서
mv Configuration Configuration.orig
mv Configuration.tmpl Configuration
으로 바꾸어 주었습니다.
./Configure 실행을 했구여
다음으로
make 실행을 하여 실행파일을 만들었습니다.
근데 이상하게 make 끝에서
make: *** Warning: Clock skew detected. Your build may be incomplete.
라는 찝찝한 메세지가 발생을 합니다
다음으로
/usr/local/conf
mv access.conf-dist accessl.conf
mv highperformance.conf-dist highperformance.conf
mv httpd.conf-dist httpd.conf
mv srm.conf-dist srm.conf
로 바꾸고
httpd.conf 파일을 수정을 약간했습니다.
ServerRoot '/usr/local/apache'
DocumentRoot '/usr/local/apache/htdocs'
<Directory '/usr/local/apache/htdocs'>
Alias /icons/ '/usr/local/apache/icons'
<Directory '/usr/local/apache/icons'>
Options Indexes MultiViews
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ '/usr/local/apache/cgi-bin'
<Directory '/usr/local/apache/icons'>
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
이상 제가 약간 변경한것만 적었습니다 나머지는
그냥 디폴트로 두었습니다.
그리고 아파치를 설치할려면
php나 mysql도 설치가 되어있어야 하는지.쩝 ~`
마지막으로
/usr/local/apache/conf 디렉토리에서
./httpd.conf
좌르르 에러 발생 ....
역시 리눅스는 뭐든지 접하기 어려운 존재입니다.
./httpd.conf: ServerType: command not found
./httpd.conf: ServerRoot: command not found
./httpd.conf: PidFile: command not found
./httpd.conf: ScoreBoardFile: command not found
./httpd.conf: Timeout: command not found
./httpd.conf: KeepAlive: command not found
./httpd.conf: MaxKeepAliveRequests: command not found
./httpd.conf: KeepAliveTimeout: command not found
./httpd.conf: MinSpareServers: command not found
./httpd.conf: MaxSpareServers: command not found
./httpd.conf: Port: command not found
./httpd.conf: User: command not found
./httpd.conf: Group: command not found
./httpd.conf: ServerAdmin: command not found
./httpd.conf: DocumentRoot: command not found
./httpd.conf: syntax error near unexpected token `/>'
./httpd.conf: ./httpd.conf: line 288: '<Directory />'
제가 아파치를 설치하는것은 이번이 처음이라 아마
설치 과정중에 뭔가가 빠진것이 있는지 모르겠습니다.
그렇다면 어떻게 수정을 해야 하는지
많은 선배님들의 도움 바랍니다.