您的位置:軟件測試 > 開源軟件測試 > 開源Bug管理工具 > BugFree
Linux+XAMPP+BugFree配置(二)
作者:網(wǎng)絡轉(zhuǎn)載 發(fā)布時間:[ 2013/12/24 11:08:39 ] 推薦標簽:

六、配置BUGFREE
     下載BugFree2:
      [root@localhost ~]# wget -chttp://www.bugfree.org.cn/download/bugfree2.tar.gz
     解壓到Xampp下的htdocs文檔下:
     [root@localhost ~]#tar xvfz bugfree2.tar.gz -C /opt/lampp/htdocs/

    然后復制Include/Config.inc.Sample.php為Include/Config.inc.php,編輯并修改數(shù)據(jù)庫鏈接地址:
   (復制命令CP和修改命令VI,這里不多介紹了)
    /* 3. Define the username and password of the BugFree database. */
   $_CFG['DB']['User']        = 'root';          // 數(shù)據(jù)庫登錄用戶名
   $_CFG['DB']['Password']    = 'password';      // 數(shù)據(jù)庫登錄用戶密碼
   $_CFG['DB']['Host']        = 'localhost';     // 數(shù)據(jù)庫服務器地址
   $_CFG['DB']['Database']    = 'bugfree';       // 指定BugFree數(shù)據(jù)庫名稱
   $_CFG['DB']['TablePrefix'] = 'bf_';           // 數(shù)據(jù)庫表前綴,默認為bf_。除非有沖突,不建議修改或為空
   $_CFG['DBCharset']         = 'UTF8';          // 數(shù)據(jù)庫編碼設置,保留默認值

   然后設置文件目錄權(quán)限:
   [root@localhost ~]# cd /opt/lampp/htdocs/bugfree
   [root@localhost bugfree]# chmod 777 Data/TplCompile/
   [root@localhost bugfree]# chmod 777 BugFile/
   [root@localhost bugfree]# chmod 777 Include/Config.inc.php

   全部配置好可以訪問BugFree了:
   http://localhost/bugfree/設置新的數(shù)據(jù)庫

   phpsql在線:
   http://localhost/phpmyadmin/
   可用PHPSQL操作Mysql數(shù)據(jù)或linux終端登錄mysql
   [root@ASP-WEB root]# /opt/lampp/bin/mysql -u root -p

   至此,全部安裝完成!

相關(guān)鏈接:
軟件測試工具 | 聯(lián)系我們 | 投訴建議 | 誠聘英才 | 申請使用列表 | 網(wǎng)站地圖
滬ICP備07036474 2003-2017 版權(quán)所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd