First, preface
the new small team needs to build a tool for defect management that has been used before Bugfree , it feels more appropriate, but
Zen Road is not suitable, give up, so Baidu recommended:
Defect Management Tools:
1. Bugzilla
2. Bugfree
3. TestDirector (Quality Center)
4. ClearQuest
5. JIRA
6. Mantis
7. Bugzero
8. BugTracker
9. Urtracker
10.KisTracker
11.TestLink
A, Jtrac
-,Bugnet
-, Bugonline
the,Etraxis
Finally, we chose the open sourceMantis, before the project has been used, but not personally built, this side has not tested the responsible person, that only I on the, toss2days, eventuallyOK, haven't written in a long timeBlog, feel it is necessary to write down the pit, convenient for other students, SoThis article focuses on writing the pits course, normal installation details I also refer to other friends, written very well, onWampthe architecture of familiar friends can be skipped.
Second, download
https://www.mantisbt.org/
Almost let the company buy a private version:
Are playing the technology, or like the original good, so there is the following story, or accident occurred (tossing for 2 days).
Third, installation
1. Install MySQL
Please refer to
Http://jingyan.baidu.com/article/ff42efa93580c4c19e2202b6.html
Http://jingyan.baidu.com/article/8cdccae946133f315513cd6a.html
Installing MySQL is mostly about digging a hole for yourself:
Forgot to delete "#", causing the MySQL service to fail to start, default service executable path in C drive
Only modify the registry to the correct deployment path:
[hkey_local_machine\system\currentcontrolset\services\mysql]
2. Let IIS support PHP
Because IIS supports PHP, you do not want to install Apache, and you want to configure PHP separately, so you intend to use IIS.
Experiment on your personal PC first, WIN10 Enterprise Edition 64-bit, add PHP support with Microsoft Web Platform Installer:
IIS add site, Access Mantis Installation page, all the way green, quite comfortable ~
Then start on the server with the same idea, walk up:
Visit the Mantis Installation page, Next, PHP can not operate MySQL, this one red reminder, can't walk, what ghost?
Fortunately before the installation success, a comparison, found the trick:
Server on the cheap installed Php7,iis site PHP version is also used PHP7, Mantis does not support PHP7?
I found out that PHP7 didn't have any information.
Using the object-oriented MySQL, not familiar with PHP, do not expand.
But good luck, the wall has been successfully installed Phpmanager in IIS, re-select PHP version, the sadness of the egg, ah, the same one shows red, unable to install, time waits for no one, no time to reinstall the system, only a change of ideas, the use of wamp build, continue to toss it.
3. Install and configure PHP
Official website Download 5.6 x64
http://php.net/downloads.php
after extracting the php.ini-development renamed to php.ini , as PHP 's configuration file. Modify php.ini
( 1 ) Set PHP the specific directory of the expansion pack, locate
; On Windows:
; Extension_dir = "ext"
instead ( value is The directory of the Ext folder )
; On Windows:
Extension_dir = "d:/php/ext"
( 2 ) Open the appropriate library function to find the row of the library you want to open
; Extension=php_curl.dll
; Extension=php_gd2.dll
; Extension=php_mbstring.dll
; Extension=php_mysql.dll
; Extension=php_xmlrpc.dll
Remove the preceding semicolon ( note ) , the change is
Extension=php_curl.dll
Extension=php_gd2.dll
Extension=php_mbstring.dll
Extension=php_mysql.dll
Extension=php_xmlrpc.dll
( 3 ) set the time zone to find
;d Ate.timezone =
instead
Date.timezone = Asia/shanghai
4. Install Apache Service
Reference http://jingyan.baidu.com/article/d8072ac47baf0eec95cefdca.html
Official website http://httpd.apache.org/
first Modify apache config file, let apache support parsing php file. apache config file in apache install directory conf httpd.conf
( 1 ) Let Apache can parse PHP files, found in the configuration file
#LoadModule Vhost_alias_module modules/mod_vhost_alias.so
on the next line add ( the Green location is based on the directory where PHP is located . )
LoadModule php5_module "d:/php/php5apache2_2.dll"
Phpinidir "d:/php"
AddType application/x-httpd-php. php. html. htm
( 2 ) found in the configuration file
DirectoryIndex index.html
Switch
DirectoryIndex index.php index.html
( 3 ) Modify Apache Site Directory, found in the configuration file (Apache installs a different directory, the values shown are not the same )
#DocumentRoot "C:/Program Files/apache software Foundation/apache2.2/htdocs"
Switch
DocumentRoot "d:/php"
Find it again.
#<directory "C:/Program Files/apache software Foundation/apache2.2/htdocs" >
Switch
<directory "d:/php" >
Registering the Apache Master Service
Open the cmd window, enter: "D:\Apache\bin\httpd.exe"-K install-n Apache
Actually reported syntax error, said LoadModule php that line syntax error, this is what ghost ah?
think of the newly installed server, estimated to be missing what runtime. So again toss a bit: Install vc++2015 Run the same error, and then installed the vc++2012 Run, finally good.
5 , installation Mantis
The installation was successful.
Iv. Configuration Mantis
I am referring to: http://www.cnblogs.com/yangxia-test/p/4459235.html
He spoke very carefully, and I added the practical:
Default time zone settings:
Modify the config_defaults_inc.php file in the Mantis directory to find $g_default_timezone = "; Modified to $g_default_timezone = ' Asia/shanghai ';
Defect assigned to name
Mantis the default allocation is the account number, the account can only be English and numbers, the name can be Chinese characters, but the allocation of time is assigned to the account by default, which is difficult to identify, the following changes can be assigned to the name:
config_inc.php Add:
$g _show_realname = on;
Or
config_defaults_inc.php file
Modify $g _show_realname = on;
V. Other
1. Create a database when installing Mantis
I use Navicat Premium connection Mysql,root cannot remote link, native installation navicat Premium connection no problem, shut down the firewall, remote also can't connect, originally need to authorize the connection of IP
Execute commands in the cmd console mysql-u root-p
Authorizing remote Links
GRANT all privileges on * * to ' root ' @ '% ' identified by ' root ' with GRANT OPTION;
2. Self-brought chart plugin Chinese garbled
Reference http://www.51testing.com/html/00/130600-832401.html
It can't be solved.
The use of jpgraph has not been tested, it is necessary to do it again.
Mantis 1.2.19 on Windows Server R2 Datacenter Installation and configuration essays