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

六、配置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/

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

   然后設(shè)置文件目錄權(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

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

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

   至此,全部安裝完成!

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