bugfree配置和使用

1.BUGFREE linux 安装

安装命令:
[root@localhost htdocs]# sudo mkdir BugFile
[root@localhost htdocs]# sudo chmod 777 BugFile
[root@localhost htdocs]# sudo chmod 777 /opt/lampp/htdocs/bugfree3.0.3/assets
[root@localhost htdocs]# sudo chmod 777 /opt/lampp/htdocs/bugfree3.0.3/protected/runtime
[root@localhost htdocs]# sudo chmod 777 /opt/lampp/htdocs/bugfree3.0.3/protected/config
[root@localhost htdocs]# sudo chmod 777 /opt/lampp/htdocs/bugfree3.0.3/install
[root@localhost htdocs]# 

[root@localhost bugfree3.0.3]# sudo chmod 777 assets/
[root@localhost bugfree3.0.3]# sudo chmod 777 install/
[root@localhost bugfree3.0.3]# cd ..
[root@localhost htdocs]# sudo chmod -R 777 bugfree3.0.3/


LINUX 下载xampp:


注:
mac : http://mengsir.blog.51cto.com/2992083/1106415/

win7安装http://www.cnblogs.com/EddyPeng/archive/2013/04/26/3044482.html
http://gsqls.blog.163.com/blog/static/45971218201442812437534/

说明:


1) XAMPP will be installed to /opt/lampp
2) 
 linux下面装xampp 如何修改apache的端口

  我也遇到这个问题,你修改了etc/httpd.conf 后,还要编辑根目录下的xampp文件,打开里面有句这样的话:
if testport 80
then
$GETTEXT -s "fail."
echo "XAMPP: " $($GETTEXT 'Another web server is already running.')
return 1
fi

if testport 80 写死了,把80改成你要的端口一样

例如改成8081:
http://IP:8081/bugfree3.0.3/index.php/bug/2
3)  报错
Access to the requested object is only available from the local network
解决:
在文件末尾
#Require local    <---将这个注释掉,取消只允许本地访问

4) 重启
linux下:
重启xammp服务
/opt/lampp/lampp restart

登录: http://IP:8081/bugfree3.0.3/index.php/bug/list/1

admin 123456 

mac下:
cd /Applications/XAMPP/xamppfiles
sudo ./xampp restart


5) 配置XAMPP安全性

/opt/lampp/lampp security


 Your XAMPP pages are NOT secured by a password.  

Please use 'xampp' as user name
123

 Setting phpMyAdmin's pma password to the new one
123



 The FTP password for user 'daemon' is still set to 'xampp'.

123

2.  win7 xampp 

1) MySQL命令行客户端打不开(闪一下后关闭)的解决办法
解决:
2) access denied for user 'root@localhost'(using password: YES)

1.关闭正在运行的MySQL。
2.打开DOS窗口,转到mysql\bin目录。
3.输入mysqld --skip-grant-tables回车。如果没有出现提示信息,那就对了。
4.再开一个DOS窗口(因为刚才那个DOS窗口已经不能动了),转到mysql\bin目录


3. 网络文档应该放在哪里

所有网络文档都放在 htdocs 主文件夹中(./xampp/htdocs)。如果您将 test.html 文件放在这里,您可以通过http://localhost/test.html 来访问它。

php 或 cgi 文件也同样放在这里。 其他的 WWW 子文件夹可以在 htdocs 目录下创建。例如将 test.html 放在 ./xampp/htdocs/new 路径下,您就可以在浏览器的地址栏中输入http://localhost/new/test.html 来访问这个文件。

4. 禅道 安装

重要点:
]   case导出后 ,csv、html、xml;

]   相比redmine 好处: 项目管理平台

一个项目的bug/case上下查找。   只能回到所有bug页重新找; 其他项目的查找;

1) 下载:


安装:

http://127.0.0.1/zentaopms/www/install.php

解压到的目录:
D:\xampp\htdocs\zentaopms

<?php
$config->installed       = true;
$config->debug           = false;
$config->requestType     = 'PATH_INFO';
$config->db->host        = '127.0.0.1';
$config->db->port        = '3306';
$config->db->name        = 'zentao';
$config->db->user        = 'root';
$config->db->password    = '123';
$config->db->prefix      = 'zt_';
$config->webRoot         = getWebRoot();
$config->default->lang   = 'zh-cn';
$config->mysqldump       = 'd:\xampp\mysql\bin\mysqldump.exe';

配置信息已经成功保存到" D:\xampp\htdocs\zentaopms\config\my.php "中。您后面还可继续修改此文件。

2) 登录

http://localhost/zentaopms/www/user-login.html

3) 禅道使用


基本流程如下:

1. 产品经理创建产品

2. 产品经理创建需求

产品经理可能都习惯了写需求设计文档,或者规格说明书,通过一个非常完整的word文档将某一个产品的需求都定义出来。但在禅道里面,我们提倡按照功能点的方式来写需求。简单来讲,就是将原来需求设计文档中的每一个功能点摘出来,录在禅道里面,作为一个个独立的功能点。

3. 项目经理创建项目

4. 项目经理确定项目要做的需求

5. 项目经理分解任务,指派到人。

6. 测试人员测试,提交bug。


4) 集成禅道和git

5) 个人使用禅道来做事务跟踪管理--一个人

其实个人使用禅道,还可以借鉴项目管理的概念,把自己要处理的事情放在项目里面进行跟踪管理,也是非常方便的。比如买房,考研,复习考试等等。

6) 禅道维护


禅道底层的zentaoPHP框架提供了命令行的操作入口,通过这个功能,可以通过命令行实现对禅道的各种配置或者维护工作

配置匿名登录;

禅道支持邮件提醒,当需求、任务、bug等发生变化的时候,可以发邮件提醒。

bugfree导入禅道:http://www.zentao.net/book//154.html

禅道目录及二次开发:http://www.zentao.net/book/zentaopmshelp/155.html

5. bugfree使用


 1) 登录链接:


http://localhost/bugfree3.0.3/index.php/site/login


注:https://localhost/xampp/index.php

2) . 配置文件(win7为例)


D:\\xampp\\htdocs\\bugfree3.0.3\\protected\\config\\..

'db' => 
    array (
      'pdoClass' => 'NestedPDO',
      'connectionString' => 'mysql:host=localhost;dbname=bugfree;port=3306',
      'emulatePrepare' => true,
      'username' => 'root',
      'password' => '123',
      'charset' => 'utf8',
      'tablePrefix' => 'bf_',
    ),

3) 增加系统管理员帐号

全新安装BugFree之后,会自动创建一个默认的系统管理员帐号admin。你可以通过编辑BugFree目录下的Include/Config.inc.php文件,增加其他系统管理员帐号。
例如,假设要将user1设置为系统管理员。编辑Include/Config.inc.php文件,将user1添加到下面的行。
/* 2. Define admin user list. Like this: array('admin','test1') */
$_CFG['AdminUser'] = array('admin','user1');


4) 登录mysql方法
方法一:
方法二:
cd D:\xampp\mysql\bin
mysql -u root -p
123
5) mac下
http://wodingdong.com/archives/335.html

http://www.linuxidc.com/Linux/2011-05/36045.htm

bugfree 2002 - #2002 - Connection refused 服务器没有响应(或本地服务器的套接
解决:
ps aux | grep mysqld
cd /usr/local/mysql/bin

启动mysql服务器:sudo ./mysqld_safe --defaults-file=/etc/my.cnf --user=root &

sudo ./mysql -u root -p

输入密码:123

http://IP/phpmyadmin/ 测试报错

MySQL 返回: 文档

#1045 - Access denied for user 'root'@'localhost' (using password: NO)

解决: 安装输入密码

6) bugfree优点

     
     
邮件自动通知
当邮件发生变化的时候,会自动发信给相关人员。
强大、方便的查询功能
可以非常方便的指定各种查询条件,功能强大。并可将查询结果方便的导入到Microsoft Excel中,利用Excel强大的统计能力对Bug进行分析。   
详细的历史记录
对Bug的每一步操作都有非常详细的记录。

7) 环境

除了xampp可以安装bugfree,禅道外, EasyPHP同样可以安装;

8) bugfree 邮件通知设置

 'mail' =>   
    array (  
      'on' => '1',  
      'from_address' => 'xxxx@126.com', //发送邮件的邮箱地址。  
      'from_name' => 'BugFree',//<span class="comment">发送邮件名,不一定是邮箱地址的用户名</span>  
      'send_method' => 'SMTP',  
      'send_params' =>   
      array (  
        'host' => 'smtp.126.com',  
    <span class="comment">// The server to connect. Default is localhost。  
    //这里是指的邮件服务器,如果你安装bugfree上没有邮件服务器,  
    //可以使用其他邮件服务器,比如126,地址即为stmp.126.com</span>  
        'smtp_auth' => true,  
    //<span class="comment">Whether or not to use SMTP authentication.   
    //Default is FALSE。这里要改成true</span>  
        'username' => 'xxxx@126.com',  
    //<span class="comment">The username to use for SMTP authentication.//用户名</span>  
        'password' => '123',    
    //<span class="comment">The password to use for SMTP authentication.//密码</span>  
      ),  
    ),  
  ),  


  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

多则惑少则明

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值