Salsudan’s Blog

4월 20, 2008

Trac, Moniwiki, Subversion Install of Window

밑에 신청: Project — salsudan @ 5:43 오전

1. 준비물

2. Install TOW (C:\TOW)

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 서비스 등록하기

6. Subversion Client

Trac을 설치하려면 보통 2~3일은 고생해야되는데, 이렇케 쉽게 설치할수 있어 너무 좋네요.

Jinwoo Min (yeoupooh@gmail.com)  님에게 감사드립니다.

 

Blog at WordPress.com.