Install Perl
Bugzilla 4.0.2 requires Perl version 5.8.1 or higher. Check with the following.
perl -v
If perl is not installed, then:
yum install perl
Before accepting, check if version is 5.8.1 or higher.
Install MySQL
Bugzilla 4.0.2 requires MySQL version 4.1.2 or higher. Check with the following.
mysqladmin version
If mysqld is not installed, then:
yum install mysql-server
Before accepting, check if version is 4.1.2 or higher.
Configure the MySQL server with the following.
chkconfig mysqld on
service mysqld start
mysqladmin password root-password
Install Apache Web Server
yum install httpd mod_ssl
Make sure apache starts when system boots.
chkconfig httpd on
All web transactions will be through port 443 over https. Run the following program to open the https port:
system-config-securitylevel-tui
Start the web server (or reboot the host).
service httpd start
Install Bugzilla
Get the most recent stable release of Bugzilla. I did this with the following.
yum install wget
cd /var/www/html
wget http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-4.0.2.tar.gz
tar -zxvf bugzilla-4.0.2.tar.gz
rm bugzilla-4.0.2.tar.gz
Make the apache user owner of the bugzilla folder.
chown -R apache:apache bugzilla-4.0.2
Install prerequisites needed for perl package installation.
yum install make gcc-c++ libtool mysql-devel
Run script to check for required perl packages.
cd bugzilla-4.0.2
./checksetup.pl --check-modules
The above command provides commands to install missing packages. I then ran the following.
/usr/bin/perl install-module.pl DBD::mysql
/usr/bin/perl install-module.pl Digest::SHA
/usr/bin/perl install-module.pl Date::Format
/usr/bin/perl install-module.pl DateTime
/usr/bin/perl install-module.pl DateTime::TimeZone
/usr/bin/perl install-module.pl Template
/usr/bin/perl install-module.pl Email::Send
/usr/bin/perl install-module.pl Email::MIME
/usr/bin/perl install-module.pl URI
/usr/bin/perl install-module.pl List::MoreUtils
After this completed, I ran the checksetup again as follows.
./checksetup.pl --check-modules
Configure Mail Transfer Agent
I intend to turn off mail completely.
Configure Bugzilla
Have checksetup.pl generate localconfig file. Edit this file to set the database username and password. The default username is bugs and the default password is an empty string.
Configure Apache Web Server
Create file /etc/httpd/conf.d/bugzilla.conf with the following contents. After generating localconfig, start reading through its contents to find out what more needs to get done. Based on the contents of localconfig, I did the following.
<Directory "/var/www/html/bugzilla-4.0.2">
AddHandler cgi-script .cgi
Options +Indexes +ExecCGI
DirectoryIndex index.cgi
AllowOverride Limit FileInfo Indexes
</Directory>
Restart Apache.
service httpd restart
Configure MySQL
To increase security, delete the test database and the anonymous user.
mysql -u root -p
mysql> drop database test;
mysql> drop user @'localhost';
mysql> drop user @'<hostname>';
Modify /etc/my.cnf by adding the following to the [mysql]] section. (These settings are explained in the Bugzilla documentation.)
max_allowed_packet=4M
ft_min_word_len=2
Create a user named bugs as follows.
mysql -u root -p
mysql>create database bugs;
mysql>grant all privileges on bugs.* to 'bugs' identified by '<bugs password>';
mysql> flush privileges;
Run checksetup.pl to generate the database tables.
Allow larger attachments as directed by the Bugzilla documentation.
mysql -u bugs -p
mysql> use bugs
mysql> ALTER TABLE attachments AVG_ROW_LENGTH=1000000, MAX_ROWS=20000;
refer to:
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/#more-4417 http://cse.csusb.edu/turner/wiki/CentOS_Server_Bugzilla_Setup
如果提示Can't locate ExtUtils/MM.pm,可执行
#yum install mod_perl
和
#yum install perl-CPAN
http://blog.163.com/liu_qishan/blog/static/812422620104136273585/
/etc/init.d/postfix stop
/etc/init.d/sendmail restart
chkconfig postfix off
chkconfig sendmail on
$ $BUGZILLA_HOME/jobqueue.pl check
$ $BUGZILLA_HOME/jobqueue.pl -f -d restart
收不到邮件参考:http://guoh.org/lifelog/2011/04/sending-emails-with-smtp-in-bugzilla/
汉化:
下载附件, 解压, 将其放在%bugzilla_set_up_home%/template/en目录下(如/var/www/html/buzilla/template/en/)。
注意:下载后的文件夹名称为custom.
分享到:
相关推荐
GRANT ALL PRIVILEGES ON bugzilla.* TO 'bugzillauser'@'localhost' IDENTIFIED BY 'yourpassword'; FLUSH PRIVILEGES; EXIT; ``` 记住设置的用户名和密码。 5. **下载并安装Bugzilla**:从官方GitHub仓库...
Bugzilla for CentOS是一款在CentOS操作系统上部署的开源错误跟踪系统,主要用于软件开发中的缺陷管理和追踪。本指南基于CentOS 5.4版本,由陈浩于2014年4月25日编写,旨在提供详尽的手动安装与配置步骤。 一、装...
在本文中,我们将深入探讨如何在CentOS 6.1系统上安装和配置Bugzilla,这是一个广泛使用的开源错误跟踪系统。首先,我们要确保系统中已经安装了必要的软件组件,包括Vsftpd、Apache httpd、Mysql、Bugzilla和Perl。...
CentOS 6.4安装Bugzilla文档主要涉及在CentOS 6.4系统上安装和配置Bugzilla 4.2.5的过程。文档详细介绍了安装前的准备工作、安装MySQL数据库、配置MySQL、安装Bugzilla、配置Apache服务器以及最终连接和使用Bugzilla...
grant all on bugs.* to bugs@'localhost'; flush privileges; quit ``` 这将创建名为bugs的数据库,用户bugs,以及为其赋予所有权限。 4. **安装ActivePerl** 下载并安装ActivePerl,按照提示进行安装。 ...
3. `GRANT ALL PRIVILEGES ON bugs.* TO 'bugzilla_user'@'localhost' IDENTIFIED BY 'your_password';` 给予新用户权限 4. `FLUSH PRIVILEGES;` 应用更改 5. `exit` 退出MySQL **8. 安装Bugzilla** 现在,可以从...
适用于bugzilla3.6.13 4.0.11 4.2.7 4.4.1版本。 使用方法:将解压后的zh-CN文件夹拷贝到bugzillan安装目录中的template文件夹中,比如我的安装目录为/var/www/html/bugzilla,则将zh-CN文件夹拷贝到/var/...
Bugzilla是一款开源的缺陷跟踪系统,广泛用于软件开发团队中管理错误报告和修复过程。Bugzilla5.0中文语言包的出现,使得国内用户在使用这个强大的工具时,可以更加方便地理解界面和功能,避免了语言障碍带来的困扰...
grant all privileges on bugs.* to bugs@localhost identified by 'abc'; -- 替换'abc'为实际密码 flush privileges; ``` ##### 4. 安装ActivePerl - **默认安装**:运行ActivePerl安装程序,默认安装即可。 #...
官方离线安装包,亲测可用
GRANT ALL PRIVILEGES ON bugs.* TO 'bugs'@'localhost' IDENTIFIED BY 'password'; FLUSH PRIVILEGES; ``` - 设置MySQL使用旧的验证方式以兼容某些程序: ```sql SET PASSWORD FOR 'bugs'@'localhost' = OLD_...
描述中提到"bugzilla-5.0.3 linux 版本 在centos7 上测试可用",这暗示了该版本的Bugzilla已经过与CentOS 7兼容性的验证,用户可以在该操作系统上顺利安装和运行。这对于那些使用CentOS 7作为基础架构的开发团队来说...
Bugzilla是一款开源的缺陷跟踪系统,常用于软件开发过程中管理错误报告和修复进度。这个"bugzilla-5.0.2汉化包亲测有效.zip"文件是专门为Bugzilla 5.0.2版本设计的中文语言包,使得国内用户在使用时可以更加便捷地...
打开此文件,添加`default-character-set=utf8`,确保数据库使用UTF8字符集。 - **启动**:使用`chkconfig`命令将mysqld设置为开机启动,并用`/etc/rc.d/init.d/mysqld start`启动MySQL服务。 - **管理**:初始...
### Bugzilla 使用指南 #### 关于本指南 本文档为《Bugzilla Guide-3.0.5 Release》的中文解析,旨在提供关于Bugzilla——一个来自mozilla.org的成熟且广泛使用的缺陷跟踪系统的全面介绍。本指南由Bugzilla团队...
Bugzilla 是一个开源的错误跟踪系统,常用于软件开发过程中的缺陷管理。它是一个基于Web的应用程序,由Perl编写,并且通常与Apache web服务器和MySQL数据库结合使用。这个"bugzilla 繁体中文包"是为了让使用繁体中文...