본문 바로가기

나는개발자다/기타

window에 trac 설치하기.

  • 필요한 파일
    • trac관련 파일
  • 그외 준비 사항
    • 없다.

 1. trac 파일 다운 받기
 http://sourceforge.net/projects/traconwindows/  에서  standard 버전을 다운 받는다.
 2. 압축풀기
     - c:\TOW 압축푼다.

 3. 실행하기
     - start-tow 실행한다.

     - 에러
다음과 같은 메시지가 보일 경우가 있다.

[TOW] 테스트용 Trac은 http://localhost:8080/projects/HelloTOW 로 접속하세요.
[TOW] 테스트용 Subversion은 http://localhost:8080/svn/HelloTOW 로 접속하세요.


다음과 같은 메세지가 나오면 에러 발생한거다.
httpd: Syntax error on line 493 of C:/TOW/Apache/conf/httpd.conf: Cannot load C:

/TOW/Apache/modules/mod_python.so into server: \xc1\xf6\xc1\xa4\xb5\xc8 \xb8\xf0
\xb5\xe2\xc0\xbb \xc3\xa3\xc0\xbb \xbc\xf6 \xbe\xf8\xbd\xc0\xb4\xcf\xb4\xd9.

- 해결

1. 원인 -  msvcr71.dll 파일이 없어서 발생하는 문제 
2.  해결  -
  windows\system32 폴더에   msvcr71.dll  을 다운받고 복사한다.

3. 밑에 클릭

msvcr71.dll

 

 


 4. 확인하기

 - http://localhost:8080/projects/HelloTOW 

    


- 에러

1.  http://localhost:8080/projects/ 실행할 때  아래와 같은 메세지가 나올 경우가 있다. 

((5, 'RegCreateKey', '\xbe\xd7\xbc\xbc\xbd\xba\xb0\xa1 xb0\xc5\xba\xce\xb5\xc7\xbe\xfa\xbd\xc0\xb4\xcf\xb4\xd9.'))


2.  http://localhost:8080/projects/HelloTOW 로 실행할 때 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


- 해결

1. 원인 - 로그 기록 문제

2.해결 - HelloTOW의 경우 C:\TOW\TracRepo\Projects\HelloTOW\conf\trac.ini 파일에서 log_type=eventlog 부분을 찾아 none으로 변경해준다.

  

5. proejct 생성하기

 - add-project.bat project_name