본문 바로가기
IT와 꿍짝

[삽질끝] mantis설치 (이슈, Bug Tracker. with apache2.2, php5.4,mysql 5.5)

by 해피비(Happy plan B) 2012. 4. 24.
반응형

mantis설치 (이슈, Bug Tracker. with apache2.2, php5.4,mysql 5.5)

 

  이미지 출처: http://www.mantisbt.org/

2012년 4월 24일 기준으로 작성했습니다.

여기 저기 설치에 관련 자료가 있습니다.

일부는 문제가 되는 부분을 거쳐 정리합니다.

제가 나중에(최소 1년 이상^^) 설치할때 한방에 할 수 있게 정리된 문서입니다.

정리 내용은 순전히 저의 스타일식인 txt포맷으로 아래와 같습니다.

=====================================================================================

1.설치 및 압축 풀기
  1) apache 2.2 windows thread no ssl
  (http://httpd.apache.org/download.cgi)
 
  httpd-2.2.22-win32-x86-no_ssl.msi
 
 
 
  2) php-5.4 압축풀기
  (http://windows.php.net/download/ )
 
  php-5.4.0-Win32-VC9-x86.zip
 
  3) apache httpd.conf 추가
  %apache%\conf\httpd.conf 에 추가
 
 
  #START php 
  LoadModule php5_module "d:/php/php5apache2_2.dll"
  AddType application/x-httpd-php .php .html .htm .php3 .php4 .php5 .inc .phtml
  #END php
 
  #START mantisbt
  Alias /mantisbt "d:/mantisbt"
 
  <Directory "d:/mantisbt">
        Options FollowSymLinks
        AllowOverride None
        Order deny,allow
        Allow from all
  </Directory>
  
  #END mantisbt
 
  4) mysql 5.5 설치
  ( http://www.mysql.com/downloads/installer )
 
  기본 설치
 
  5) mantis 1.2.10 압축풀기
  (http://sourceforge.net/projects/mantisbt/files/mantis-stable/1.2.10/)
 
  mantisbt-1.2.10.zip
 
2.php  php.ini 변경
  1) phpinfo.php 아래 1줄 파일을 생성
  <?phpinfo();?>
  2)실행하여 php.ini 파일 위치 확인
  3) 해당 php.ini 추가 (Dynamic Extensions 아래)
   extension_dir = "d:/php/ext/"
   extension=php_mysql.dll
 
3.mysql 5.5설정
직접 MySQL Workbench 5.2 CE 실행 후,
  1)SQL Development에서 실행.
 
  create database mantis;
  use mysql;
  grant all privileges on mantis.* to mantis@localhost identified by '비밀번호’;
  insert into user values('localhost','mantis',password('비밀번호'),'y'
                 ,'y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y'
                 ,'y','y','y','y','y','y','y','y','y','y','y');
 
  2)직접 MySQL Workbench 5.2 CE 실행 후,
  Server Administrator에서 아래 실행 및 확인
               
              
4.mantisbt 설정
 1) http:\\localhost\admin\install.php 실행
   mysql 5.5를 선택
   db는 mantis
   user는 mantis
   기존
 
 2) %mantisbt%\config_ini.php 추가
  ################################
  # Mantis TimeZone Settings
  ################################
  date_default_timezone_set('Asia/Seoul');
 $g_language_choices_arr = array( 'korean','english'  );
 $g_default_language = 'korean';
 
 
 3) http://localhost/admin/install.php 실행

5.mantis 실행
http://localhost/mantisbt/login_page.php

 

=====================================================================================

 

감사합니다. subversion ( http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=0&expandFolder=0&folderID=91 ) 연동은 다음 번에 할 예정입니다.

반응형

댓글