What is Bugzilla?
Bugzilla is a "Defect Tracking System" or "Bug-Tracking System". Defect Tracking Systems allow individual or groups of developers to keep track of outstanding bugs in their product effectively. Most commercial defect-tracking software vendors charge enormous licensing fees. Despite being "free", Bugzilla has many features its expensive counterparts lack. Consequently, Bugzilla has quickly become a favorite of thousands of organizations across the globe.
----------------------------
第一步:
安装mysql :sudo apt-get install mysql-server
安装bugzilla :sudo apt-get install bugzilla 按照需要输入管理员帐号,密码,一定要记住,不然登陆时候就惨了
ubuntu提示找不到bugzilla ,换成sudo apt-get install bugzilla3
安装apache2:
sudo apt-get install apache2
http://wiki.ubuntu.org.cn/Apache#.E5.AE.89.E8.A3.85phpmyadmin
第二步:
开始配置bugzilla
配置apache2 :
sudo gedit /etc/apache2/httpd.conf 添加
ServerNmae localhost:80
重启apache2:
sudo /etc/init.d/apache2 restart
配置bugzilla
vi /etc/bugzilla/localconfig
修改相应的配置:
$webservergroup = "www-data";
#
# How to access the SQL database:
#
$db_host = "localhost"; # where is the database?
$db_port = 3306; # which port to use
$db_name = "bugzilla3"; # name of the MySQL database
$db_user = "root"; # user to attach to the MySQL database
#
# Some people actually use passwords with their MySQL database ...
#
$db_pass = "root";
#
# Should checksetup.pl try to check if your MySQL setup is correct?
# (with some combinations of MySQL/Msql-mysql/Perl/moonphase this doesn't work)
#
$db_check = 1;
$index_html = 1;
-----此处注意:不知道什么时候mysql里面自动有了一个bugzilla3的数据库,改成它就行,可能提前搞第三步了
第三步:
重新生成bugzilla数据库;
cd /usr/share/bugzilla/lib/
sudo perl checksetup.pl
-----此处注意:如果说/usr/share/perl5没权限,应该chmod -R 777 /usr/share/perl5
第四步:
启动
记得用邮箱登陆。