主要步驟:
【1】安裝mysql
# aptitude install mysql
【2】安裝perl
#aptitude install perl
【3】安裝bugzilla
#tar vxfz bugzilla-3.6.tar.gz -C /xx/bugzilla
【4】配置buzilla
# vi localconfig
把里面數(shù)據(jù)庫(kù)的配置修改正確
比如mysql的用戶名和密碼等
# ./checksetup.pl
根據(jù)系統(tǒng)的提示,查找缺少的包,然后安裝,不過(guò)perl的包需要用cpan安裝。
#aptitude install cpan
最難裝的可能是GD
#cpan GD
如果
#./checksetup.pl
提示所有的包都安裝了,那么,bugzilla會(huì)提示你輸入bugzilla的管理員郵箱和密碼。一定要記住。
【5】配置apache
#cp /xx/bugzilla-3.6/*.cgi /usr/lib/cgi-bin/
#cp /etc/apache2/sites-available/default
/etc/apache2/sites-available/bugzilla
#ln -s /etc/apache2/sites-available/bugzilla
/etc/apache2/sites-enabled/bugzilla
#vim /etc/apache2/sites-available/bugzilla
內(nèi)容:
<VirtualHost *:8081>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/bugzilla
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/html/bugzilla/>
AddHandler cgi-script .cgi
Options +Indexes +ExecCGI
DirectoryIndex index.cgi
AllowOverride Limit
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory /usr/lib/cgi-bin>
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error,
crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
</VirtualHost>
虛擬機(jī)的端口需要提前配置:
#vim /etc/apache/ports.conf
內(nèi)容:
# bugzilla
NameVirtualHost *:8081
Listen 8081
<IfModule mod_ssl.c>
# SSL name based virtual hosts are not yet supported, therefore no
# NameVirtualHost statement here
Listen 443
</IfModule>
【6】重啟apache
#/etc/init.d/apache2 restart
【7】測(cè)試
http://localhost:8081/
如果出現(xiàn)bugzilla的頁(yè)面,就說(shuō)明你配置成功了。
【8】郵件配置
用管理員的帳號(hào)登錄進(jìn)去
在“管理”頁(yè)面,配置“參數(shù)”,然后配置“郵件”,就和你配置outlook一樣,配置smtp服務(wù)器,用戶名,密碼,確定,重啟apache.
就可以了。
【9】郵件配置成功驗(yàn)證
在首頁(yè),創(chuàng)建新用戶,如果提示發(fā)郵件到用戶郵箱,并能收到郵件,就說(shuō)明郵件配置正卻。
|----------------------------------------------------------------------------------------|
版權(quán)聲明 版權(quán)所有 @zhyiwww
引用請(qǐng)注明來(lái)源 http://www.tkk7.com/zhyiwww
|----------------------------------------------------------------------------------------|
posted on 2010-06-03 16:19
zhyiwww 閱讀(2702)
評(píng)論(0) 編輯 收藏 所屬分類:
軟件測(cè)試 、
linux