Version 15 (modified by admin, 20 months ago) (diff) |
---|
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
- Install MySQL Community Server
- Install Python 3.4.4 to c:\www\Python34
Mantis Installation
- Download MantisBT.zip and unzip it.
- Rename mantisbt from unzipped directory to mantisbt
- Move'mantisbt 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 directoryUnregister sc delete “Subversion”
- Subversion Port
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
Mantis Configuration
General Configuration
- Copy c;\www\mantisbt\config_inc.php.sample to c;\www\mantisbt\config_inc.php
- Open c;\www\mantisbt\config_inc.php and edit the following options:
- Database Configuration
- Email Configuration
- Open Open c:\www\apache\conf\extra\httpd-xampp.conf
- Add the following statements
Alias /mantis "C:/www/mantisbt/" <Directory "C:/www/mantisbt"> AllowOverride All Order allow,deny Allow from all </Directory>
- Run an internet browser
- Visit http://localhost/mantis/admin/install.php and
- Fill configuration options
- Submit them
- Remove (or rename) c:\www\mantisbt\admin
- Visit http://localhost/mantis to change administrator's password.
- ID: administrator
- Password: root
E-mail Configuration
- Create a G-Mail account
- Make it less secure (Reference: Allowing less secure apps to access your account)
- Open c:\www\php\PEAR\Mail.php
- Add static to function &factory($driver, $params = array())
static function &factory($driver, $params = array())
Twin IP Configuration
- Visit 192.168.0.1
- Login with admin
- Click 관리도구 > 고급설정 > NAT/라우터 관리 > 포트포워드 또는 고급설정 > NAT/라우터 관리 > DMZ / Twin IP 설정
- '외부IP에서 내 컴퓨터(내부 IP)로 접속하기' 참고
Attachments (4)
- Apache_SVN_Trac_Relation.png (34.3 KB) - added by admin 9 years ago.
- ez_setup.py (12.5 KB) - added by admin 9 years ago.
- Firewall_Inbound_Rule_Subversion.png (15.4 KB) - added by admin 9 years ago.
- iptime_twinip.png (35.8 KB) - added by admin 9 years ago.
Download all attachments as: .zip