您的位置:軟件測試 > 開源軟件測試 > 開源Bug管理工具 > BugFree
Bugfree+testlink在Linux下的安裝
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時間:[ 2013/1/24 15:24:56 ] 推薦標簽:

Bugfree+testlink的安裝筆記
首先下載XAMPP:
XAMPP Linux 1.6.8a:
http://jaist.dl.sourceforge.net/ ... linux-1.6.8a.tar.gz
相關(guān)Linux下安裝和配置XAMPP請參考官網(wǎng):
http://www.apachefriends.org/zh_cn/xampp-linux.html
安裝之前首先確認你服務(wù)器的80端口有沒被占用
netstat -an|grep -w 80
如果被占用了請先關(guān)閉相關(guān)服務(wù),XAMPP啟動要用到80端口.
安裝XAMPP:
[root@localhost ~]#wget -c http://jaist.dl.sourceforge.net/ ... linux-1.6.8a.tar.gz
[root@localhost ~]#tar xvfz xampp-linux-1.6.8a.tar.gz -C /opt
然后啟動(命令參數(shù)見XAMPP官網(wǎng)):
opt/lampp/lampp start
您應(yīng)該能在屏幕上看到類似下面的提示信息:
Starting XAMPP 1.6.8a...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
LAMPP started.
好了。Apache 和 MySQL 正在運行中
只需在您的瀏覽器中輸入下面的鏈接即可: http://localhost
看到一些示例程序的 XAMPP 開始頁面表示XAMPP安裝成功了。
接下來我們要配置XAMPP的安全性。
配置XAMPP安全性:
[root@localhost ~]# /opt/lampp/lampp security
XAMPP: Quick security check...
XAMPP: Your XAMPP pages are NOT secured by a password.
XAMPP: Do you want to set a password? [yes] XAMPP: Do you want to set a password? [yes] yes
XAMPP: Do you want to set a password? [yes] yes
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Password protection active. Please use 'lampp' as user name!
XAMPP: MySQL is aclearcase/" target="_blank" >ccessable via network.
XAMPP: Normaly that's not recommended. Do you want me to turn it off? [yes] yes
XAMPP: Turned off.
XAMPP: Stopping MySQL...
XAMPP: Starting MySQL...
XAMPP: The MySQL/phpMyAdmin user pma has no password set!!!
XAMPP: Do you want to set a password? [yes] yes
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Setting new MySQL pma password.
XAMPP: Setting phpMyAdmin's pma password to the new one.
XAMPP: MySQL has no root passwort set!!!
XAMPP: Do you want to set a password? [yes] yes
XAMPP: Write the password somewhere down to make sure you won't forget it!!!
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Setting new MySQL root password.
XAMPP: Change phpMyAdmin's authentication method.
XAMPP: The FTP password is still set to 'lampp'.
XAMPP: Do you want to change the password? [yes] yes
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Reload ProFTPD...
XAMPP: Done.
并設(shè)置 XAMPP 隨系統(tǒng)自動啟動
[root@localhost ~]# ln -s /opt/lampp/lampp /etc/rc.d/rc3.d/S99lampp
[root@localhost ~]# ln -s /opt/lampp/lampp /etc/rc.d/rc4.d/S99lampp
[root@localhost ~]# ln -s /opt/lampp/lampp /etc/rc.d/rc5.d/S99lampp
自此,XAMPP已經(jīng)配置好了!下面我們來配置BugFree:
下載BugFree2:
[root@localhost ~]# wget -c http://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ù)庫鏈接地址:
(復(fù)制命令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ù)庫服務(wù)器地址
$_CFG['DB']['Database']    = 'bugfree';       // 指定BugFree數(shù)據(jù)庫名稱
$_CFG['DB']['TablePrefix'] = 'bf_';           // 數(shù)據(jù)庫表前綴,默認為bf_。除非有沖突,不建議修改或為空
$_CFG['DBCharset']         = 'UTF8';          // 數(shù)據(jù)庫編碼設(shè)置,保留默認值

然后設(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

全部配置好可以訪問BugFree了:
http://localhost/bugfree/設(shè)置新的數(shù)據(jù)庫
安裝bugfree:
wget -c http://www.bugfree.org.cn/download/bugfree2.tar.gz

tar xvfz bugfree2.tar.gz -C /opt/lampp/htdocs/

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