>> Edit article
이름
제목
패스워드
: 안녕 하세요 : 처음으로 아파치를 설치할려고 합니다. : 근데 뭐가 어찌 돌아가는지 전혀 감을 못잡겠내여. : 리눅스를 설치할때 : 웹서버를 빼고 모두 설치를 하고 : 그리고 아파치 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 />' : : 제가 아파치를 설치하는것은 이번이 처음이라 아마 : 설치 과정중에 뭔가가 빠진것이 있는지 모르겠습니다. : 그렇다면 어떻게 수정을 해야 하는지 : 많은 선배님들의 도움 바랍니다. 음.. 위 방법으로 설치는 저는 처음 봅니다.. 그렇게 하시지 마시고.. 간단하게.. 소스 풀고 (보통 apache소스를 풀면 apache-1.3.12 이런식으로 디렉토리가 생성되죠.) 풀은 디렉토리로 이동한다음( 일일이 디렉토리명을 바꿀실 필요 없습니다) 거기서 그냥(더도 말고) "./configure" 만 치시면 됩니다. 그리고 "make" , "make install" 이렇게 하면 설치는 끝났니다. 위 대로 하면 기본 설정으로 설치가 되기 때문에.. 자신이 원하는 디렉토리로 설치를 하시고 싶다면 "./configure --prefix=/원하는 위치" 하시면 됩니다. 그외에 옵션이 많이 있죠. mysql는 나중에 설치하죠도 됩니다. php같은 경우에는 아파치보다 먼저 설치를 해주셔야 합니다. /configure 는 소문자로 시작합니다.
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved