1. 준비물
- TOW(Trac Of Window) – TOW-0.2.2a-Standard-ko.ZIP Mirror
http://sourceforge.net/projects/traconwindows/ - PHP – PHP 5.2.5 installer
http://www.php.net/ - MoniWiki – apmoni-setup-1.1.2.exe
http://kldp.net/projects/moniwiki/
2. Install TOW (C:\TOW)
- C:\TOW 에 압축을 푼다.
- 다른 폴더에 풀경운 apache의 http.conf파일에 경로명을 모두 수정해 주어야된다.
- CMD에서 c:\TOW> start-tow.bat를 실행후, http://localhost:8080/projects/HelloTOW
로 접속하여 잘되는지 테스트하자 (너무 간단함
) - Docutils – http://docutils.sourceforge.net/
[압축해제폴더]>python.exe setup.py install (설치후 폴더삭제가능) - GNU Diffutils – http://gnuwin32.sourceforge.net/packages.html
- GNU enscript – http://gnuwin32.sourceforge.net/packages.html
Diffutils, Enscript 설치후 Window Path 추가(C:\GnuWin32\bin)
Diffutils는 Windows에서 Test 실패 -> 대신 SilverCity 사용 - SilverCity – http://silvercity.sourceforge.net/
trac.ini 파일 수정
…
[mimeviewer]
silvercity_modes = cpp, …
…
3. PHP 설치
- php-5.2.5-win32-installer.msi를 실행
- 설치중간에 apache의 httpd.conf 파일이 있는 경로설정(C:\TOW\Apache\conf)
- C:\TOW\Apache\confhttpd.conf 파일에 다음 사항 추가
LoadModule php5_module “PHP_ROOT_DIR/php5apache2.dll”
AddType application/x-httpd-php .php .html .htm .inc .phtml - PHP_ROOT_DIR/php.ini 수정
error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR - C:\TOW\Apache\htdocs\php_test.php 를 만들어, http://localhost:8080/ 으로 테스트 해보자
[php_test.php]
<?php phpinfo() ?>
4. MoniWiki 설치
- apmoni-setup-1.1.2.exe 적당한 폴더에 설치
- HTTP_ROOT_DIR/MoniWiki 폴더로 이동 (C:\TOW\Apache\htdocs\MoniWiki)
- monisetup.php 실행하면 MoniWiki 설치 끝 http://localhost:8080/MoniWiki/monisetup.php
- 트릭(지저분한 경로 숨기기)
- index.html
<html><head><title>Test Wiki</title></head>
<frameset rows=”0%,100%” border=”0″>
<frame name=”top” src=”top.html” noresize scrolling=”no” marginwidth=”0″ marginheight=”0″>
<frame name=”main” src=”main.html” marginwidth=”0″ marginheight=”0″>
<noframes>
<body bgcolor=”white” text=”black” link=”blue” vlink=”blue” alink=”blue”>
<p> Test Wiki에 오신것을 환영합니다.</p>
</body>
</noframes>
</frameset></html> - main.html
<html>
<head>
<meta http-equiv=”refresh” content=”0;URL=./moniwiki/wiki.php”>
</head>
<body bgcolor=”#FFFFFF” text=”#000000″></body>
</html> - top.html
None - Active Perl – http://www.activestate.com/
설치후 apache의 httpd.conf 수정
<Directory “C:/TOW/Apache/htdocs”>
…
…
Options Indexes FollowSymLinks ExecCGI
AddHandler cgi-script .cgi .pl
…
…
</Directory> - GVim – http://www.vim.org/
1) GVim 설치후 VIMRUNTIME 이름으로 Window 환경변수를 추가
2) MoniWiki의 config.php 수정
$vim_options=’+”set expandtab” +”retab”‘;
$vim_options=’+”set encoding=UTF-8″‘;
$use_numbering=1;
$path=C:/gvim/vim71′ #설치 DIR Path 추가 - Gnuplot - http://www.gnuplot.info/
MONIWIKI_DIR/config.php 수정
$path=’c:/gnuplot/bin;C:\TOW\Apache\htdocs\moniwiki\bin’; - Minetex – http://www.forkosh.com/mimetex.html
window용으로 미리 컴파일된 Binary파일을 받아 적당히 path가 설정된 폴더에 넣는다
$myprocessors=array(‘latex’=>’mimetex’);
$inline_latex=’mimetex’;
$mimetex_path=’shell:mimetex.exe’; - login 사용자만 수정 가능
$security_class=”needtologin”;
5. start-tow.bat 서비스 등록하기
- 2003 Resource Kit 설치
http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&displaylang=en - 설치방법
http://support.microsoft.com/kb/193238
-설치Sample
1) Copy SRVANY.EXE and INSTSRV.EXE to your Windows\System32 directory
2) c:\>INSTSRV TracOfWindow C:\windows\system32\SRVANY.EXE
3) c:\>regedit
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TracOfWindow]
i. new key “Parameters”
ii. String Value. Set the name to “Application”
iii. Change the Value data : c:\TOW\start-tow.bat
iv. Modify start-tow.bat : call set-tow.bat -> call c:\TOW\set-tow.bat
4) cmd> services.msc 에서 TracOfWindow 이 등록되어 있는지 확인하자.
6. Subversion Client
- Tortoise SVN(Window 에서 최고의 SVN Client) – http://tortoisesvn.tigris.org/
- 설치후 URL of Repository 를 http://[TOW설치서버주소]:8080/svn/Projectname/
으로 Check out 하면 된다.
Trac을 설치하려면 보통 2~3일은 고생해야되는데, 이렇케 쉽게 설치할수 있어 너무 좋네요.
Jinwoo Min (yeoupooh@gmail.com) 님에게 감사드립니다.
TOW (TracOnWindows) 사용기 모음입니다….
이 포스트에 모아보겠습니다. 윈도우에서 프로젝트 관리툴 Trac 설치와 기타 Plugin 설치 Trac을 Windows에서 쉽게 설치하여 사용하기 TOW (Trac On Windows) 사용하기 [TRAC] 1장. Trac On Windows – 설치 파일 버전맞추기 TOW ( TracOnWindows ) 설치기 [펌]TracOnWindows 설치 Trac 설치하기 (Trac on Windows) Trac, Moniwiki, Subversion I…
트랙백 by TOW (TracOnWindows) — 4월 22, 2008 @ 12:50 오전 |