liunx系统bugzilla搭建问题&teskllink配置bugzilla

来源:互联网 发布:淘宝代运营排名 编辑:程序博客网 时间:2024/05/22 14:07
1、apache 启动后 修改httpd.conf servicename 为本机ip http:ip 查看是否安装成功

2、perl库 perl -MCPAN -e 'install "Bundle::Bugzilla"'  在线利用perl库进行所需库资源

问题

1)Can't locate CPAN.pm in @INC

CPANComprehensive Perl Archive Network的缩写.。它是一个巨大的Perl软件收藏库 

yum install perl-CPAN 安装perl库

安装后:

perl -e 'use Module::Build' 检查模块是否安装 如果报Can't locate mod/perl2.pm in @INC说明没有安装

#cpan  cpan[1]> install mod::perl2 利用perl库进行模块的perl模块的安装

     2)安装DBD::mysql模块是提示没有mysql_config文件

mysql没有完全安装:安装mysql yum list myql*

3、在bugzilla目录下

检查依赖包是否安装完成  ./checksetup.pl

错误:

初始化模板错误 去掉中文模板

4、修改bugzilla配置文件

./checksetup.pl执行成功后会生成localconfig文件,修改文件中的数据库地址、用户名、密码配置(通windows系统中安装)

5、在apache中配置bugzilla

1)在apache配置文件httpd.conf文件中配置bugzilla目录

2)在direction目录中添加Options ExecCGI FollowSymLinks 添加apache解析cgi文件

3) 设置默认首页 DirectoryIndex index.html index.html.var index.cgi 添加index.cgi文件

访问:http://ip:port/bugzilla-5.0.2/

错误:

1)var/www/html/bugzilla-5.0.2/.htaccess: Options not allowed here

direction目录权限AllowOverride Limit 修改为 AllowOverridde all

============自此已经可以正常访问bugzilla系统了

6、配置tesklink中链接bugzilla

testlink首页-》system-》Issue Tracker Management

bugzilla(Interface:db)

<!-- Template bugzilladbInterface -->
<issuetracker>
<dbhost>ip</dbhost>
<dbname>bugs</dbname>
<dbtype>mysql</dbtype>
<dbuser>bugs</dbuser>
<dbpassword>bugs</dbpassword>
<uricreate>bugzilla访问地址</uricreate>
<uriview>bugzilla访问地址/show_bug.cgi?id=</uriview>
</issuetracker>
7、tesklink项目中链接bugzilla
建立项目时需要关联bug关联系统


0 0