1, 下載bugzilla
運(yùn)行./checksetup.pl
2, 根據(jù)提示安裝perl模塊
位置:http://search.cpan.org/search?query=IO%3A%3AScalarArray&mode=all
下載后:
perl Makefile.pl
make
make test
make install
(過(guò)程如果有依整性錯(cuò)誤,請(qǐng)安裝相應(yīng)模塊)
3,配置mysql
mysql -u root
create database bugs
grant all on bugs.* to bugzilla@'localhost' identified by 'bugs'
4,配置vi ./localconfig設(shè)置數(shù)據(jù)庫(kù)
5, 再次運(yùn)行./checksetup.pl會(huì)創(chuàng)建數(shù)據(jù)庫(kù)和設(shè)置bugzilla管理員(以mail作為登錄名)
6, 將bugzilla目錄拷到/www/html/下
7, 在/etc/httpd/conf.d/下增加bugzilla.conf內(nèi)容如下:
AddHandler cgi-script .cgi .pl
<Directory "/var/www/html/bugzilla">
AllowOverride None
Options +ExecCGI
Order allow,deny
Allow from all
</Directory>
8,運(yùn)行apachectl restart
9,訪問(wèn):http://hostname/bugzilla/index.cgi