您的位置:軟件測試 > 開源軟件測試 > 開源Bug管理工具 > Mantis
Mantis安裝手冊
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時(shí)間:[ 2013/12/31 11:43:06 ] 推薦標(biāo)簽:Mantis 管理 bug

2)      mantis安裝

將mantis-1.1.2.tar.gz上傳至服務(wù)器,并將其展開:

$tar xvfz mantis-1.1.2.tar.gz

Root用戶下將其copy到/var/www目錄

$cp –R mantis-1.1.2 /var/www/.

修改/etc/httpd/conf/httpd.conf文件

將其中的DocumentRoot   修改為"/var/www

3)mantis配置

       將/var/wwwmantis/config_inc.sample.php拷貝一份成為config_inc.php

        $cp config_inc.sample.php config_inc.php.

   編輯config_inc.php

       增加修改如下項(xiàng):

$g_hostname                            = 'localhost';

        $g_db_username                      = 'root';

        $g_db_password                      = '';

        $g_database_name           = 'mantis';

        $g_db_schema                 = ''; // used in the case of db2

        $g_db_type                              = 'mysql';

重啟httpd

$service httpd restart

五、在客戶端IE登陸,輸入

           ①訪問 http://localhost:8080/mantis/admin/install.php為Mantis創(chuàng)建表、數(shù)據(jù) 不用修改/填寫任何值,直接點(diǎn)擊頁面下方的“Install/Upgrade Database”按鈕              [點(diǎn)擊圖片可在新窗口打開] 

成功后可看到如下頁面:
[點(diǎn)擊圖片可在新窗口打開]

到此為止,Mantis系統(tǒng)已經(jīng)搭建成功了。下面立刻驗(yàn)證一下是否已配置成功!

訪問http://192.168.2.59/mantis(默認(rèn)用戶名:administrator;密碼:root)
             [點(diǎn)擊圖片可在新窗口打開]

六、修改中文界面

/var/www/mantis目錄下找到文件config_defaults_inc.php,在該文件中找到語言設(shè)置的地方(language settings),修改這行:

$g_default_language  = 'english';

為:

$g_default_language  = 'chinese_simplified';

即可。

這樣可以顯示中文了。

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