wiki:SvrInstall

Version 11 (modified by admin, 9 years ago) (diff)

--

SDE

Server Installation

Introduction

This page describe server installation which contains Apache, Subversion, Trac, MySQL, and Mantis.

Please be sure that Apache, Subversion, and Trac are connected each others with independent components so that it is necessary to choose correct software version to make them working together.

The following figure illustrates the dependency:

Reference: https://code.google.com/archive/p/easytrac/wikis/EasyTracGuide.wiki

XAMPP Installation

  • Install XAMPP (v1.7.7) to c:\www
  • XAMPP contains the following servers:
    • Apache 2.2.21
    • MySQL 5.5.16 (Community Server)
    • PHP 5.3.8 (VC9 X86 32bit Thread Safe) + PEAR
    • XAMPP Control Panel
    • XAMPP Security
    • OpenSSL 1.0.0e
    • phpMyAdmin 3.4.5
    • ADOdb 5.14.2016 Mecury Mail Transport System 4.62
    • FleZilla FTP Server 0.9.39
    • Webalizer 2.23-04
    • Perl 5.10.1
    • Mod_perl 2.0.4
    • Tomcat 7.0.21

Subversion Installation

  • Download Subversion 1.6.6
  • Unzip it and move to c:\www with name svn
  • Add c:\www\svn\bin to PATH system environment variables

Trac Installation

  • Install Python 2.7.1 to c:\www\Python27
  • Add c:\www\Python27 and c:\www\Python27\Scripts to PATH system environment variables
  • Download ez_setup.py to c:\www\Python27
  • Run cmd.exe
  • Change directory to c:\www\Puthon27
  • Run Python ez_setup.py
  • Run easy_install Genshi
  • Install Babel 0.9.5
  • Run easy_install trac==1.0
  • Run easy_install https://trac-hacks.org/svn/accountmanagerplugin/tags/acct_mgr-0.4.4

MySQL Installation

Mantis Installation

  • Download MantisBT.zip and unzip it.
  • Rename mantisbt from unzipped directory to mantis
  • Move'mantis directory to c:\www

Apache Configuration

  • Copy the following two modules to 'c:\www\apache\modules`
    • c:\www\svn\bin\mod_dav_svn.so
    • c:\www\svn\bin\mod_authz_svn.so
  • Download mod_wsgi.so and copy it to c:\www\apache\modules
  • Open c:\www\apache\conf\httpd.conf
  • Add or uncomment the following options:
    LoadModule dav_module modules/mod_dav.so 
    LoadModule dav_fs_module modules/mod_dav_fs.so 
    LoadModule dav_svn_module modules/mod_dav_svn.so 
    LoadModule authz_svn_module modules/mod_authz_svn.so  
    LoadModule wsgi_module modules/mod_wsgi-win32-ap22py27-3.3.so 
    
  • Windows Service
Register httpd.exe -k install
Start httpd.exe -k start
Unregister httpd.exe -k uninstall

Python Configuration

  • Download libsvn.zip and unzip it.
  • Copy libsvn and svn directories from unzipped directory to c:\www\Python27\Lib\site-packages directory.

Subversion Configuration

  • Windows Service
Register sc create “Subversion” binpath= “C:\www\svn\bin\svnserve.exe --service --root “D:\svn”” displayname= “Subversion Repository” depend= Tcpip start= auto
Start net start Subversion
Create a batch which contains net start Subversion and copy it to C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp directory
Unregister sc delete “Subversion”
  • Subversion Port
    • 제어판 > 시스템 및 보안 > Windows 방화벽 > 고급설정 > 인바운드 규칙 > 우클릭 > 새규칙 > 포트 > TCP 특정포트 3690 > 연결허용 > 이름지정

!MySQL Configuration

  • Open 'C:\ProgramData\!MySQL\!MySQL Server 5.7\my.ini`
  • Edit (or Add) the following options:
      datadir=D:/mysql57\Data
    
  • Add Mantis database
  • Add Mantis database administrator

Attachments (4)

Download all attachments as: .zip