Google Search Within opentiss.net

2007-05-11

Install Bugzilla 3.0 on SLES 10

SLES 10 Eval请在Novell网站登录注册新用户登录后从SUSE Linux Enterprise Server 10上下载安装。
www.bugzilla.org上下载最新的Bugzilla 3.0,然后解压缩并更改解压缩后的目录名称为bugzilla:
tar -xjvf bugzilla-3.0.tar.gz
mv bugzilla-3.0/ bugzilla

首先检查相应的perl模块是否已经安装完毕:
./checksetup.pl --check-modules
检查结果的详细信息请参阅:bugzilla3.txt。其中,DBD-Pg(PostgreSQL database driver for the DBI module),如果选择MySQL数据库,则无需安装,此安装即采用SLES 10自带的MySQL 5.0.18。

以下缺少的模块已经由SLES 10提供了相应rpm安装包,直接添加即可(括号中为具体的rpm名称):
MIME-tools(perl-MIME-tools)
libwww-perl(perl-libwww-perl)
perl-ldap(perl-ldap)
HTML-Parser(perl-HTML-Parser)
mod_perl(apache2-mod_perl)

另外,还需要添加gd及gd-devel包,因为后面安装perl附加模块时需要用到,否则会报编译错误。截图如下:
添加gd、gd-devel
添加gd、gd-devel后由依赖关系而添加的相关rpm

安装完需要的rpm后,再执行命令./checksetup.pl --check-modules,得到一个新的需要安装的perl模块列表。详细列表参见:bugzilla3a.txt

安装必需的perl包:
/usr/bin/perl -MCPAN -e 'install Email::Send'
/usr/bin/perl -MCPAN -e 'install Template'
/usr/bin/perl -MCPAN -e 'install Email::MIME::Modifier'

安装可选的perl包:
/usr/bin/perl -MCPAN -e 'install GD::Graph'
/usr/bin/perl -MCPAN -e 'install Template::Plugin::GD::Image'
/usr/bin/perl -MCPAN -e 'install Email::Reply'
/usr/bin/perl -MCPAN -e 'install Email::MIME::Attachment::Stripper'
/usr/bin/perl -MCPAN -e 'install HTML::Scrubber'
/usr/bin/perl -MCPAN -e 'install XML::Twig'
/usr/bin/perl -MCPAN -e 'install Chart::Base'
/usr/bin/perl -MCPAN -e 'install Apache::DBI'

无法正常安装的可选perl包:
/usr/bin/perl -MCPAN -e 'install Image::Magick'

一切准备就绪后,将bugzilla目录的所有者及组进行更改:
chown -R wwwrun:www bugzilla/

生成localconfig文件,并更改默认设置:
./checksetup.pl

更改localconfig的以下设置(line 86):
$interdiffbin = '';

$interdiffbin = '/usr/bin/diff';

在/etc/my.cnf中添加如下选项
[mysqld]
# Allow small words in full-text indexes
ft_min_word_len=2

登录并创建数据库:
mysql> create database bugs DEFAULT CHARACTER SET utf8;
Query OK, 1 row affected (0.00 sec)
创建数据库用户并设置密码与相应的数据库权限:
mysql> GRANT SELECT, INSERT, UPDATE, DELETE, INDEX, ALTER, CREATE, LOCK TABLES, CREATE TEMPORARY TABLES, DROP, REFERENCES ON bugs.* TO bugs@localhost IDENTIFIED BY 'c6c2c8b3mz';
Query OK, 0 rows affected (0.03 sec)

更改localconfig的以下设置(line 46):
$db_pass = '';

$db_pass = 'c6c2c8b3mz';

更改localconfig的以下设置(line 25):
$webservergroup = 'apache';

$webservergroup = 'www';

以上步骤就绪后,执行以下命令完成安装过程:
./checksetup.pl
这一过程中,需要设置系统管理员的电子邮件及密码,如截图所示:
设置系统管理员的电子邮件及密码

最后,配置apache服务器,使Bugzilla 3.0可用。这一步只需添加以下文件即可:
/etc/apache2/conf.d/bugzilla.conf
文件/etc/apache2/conf.d/bugzilla.conf的内容如下:
#
# This configuration file is bugzilla.
#

Alias /bugzilla "/apache/bugzilla"

<Directory "/apache/bugzilla">
AddHandler cgi-script .cgi
Options +Indexes +ExecCGI
DirectoryIndex index.cgi
AllowOverride Limit
Order allow,deny
Allow from all
</Directory>

对文件/etc/apache2/conf.d/bugzilla.conf的说明:
目录/apache/bugzilla为Bugzilla 3.0的安装目录。
添加安apache配置文件后,需要重启apache2,如果重启后不能生效,可能需要重启一下服务器主机:
apache2ctl restart

安装完成后,通过Firefox 2.0直接访问Bugzilla 3.0,页面截图如下:
Bugzilla 3.0首页

如果能看到以上页面,则基本可以确定Bugzilla 3.0安装正常,可以正常使用了。如果需要定制Bugzilla 3.0,请以系统管理员登录Bugzilla 3.0,进行相应定制设置即可。

8 条评论:

匿名 说...

ugg boots outlet
ugg uk
ugg boots uk
genuine ugg boots
genuine uggs
ugg boots cheap
pandora charms
cheap ugg boots
ralph lauren outlet
ugg boots sale
north face jackets
discount ugg boots
chloe bags
ugg outlet online
air max pas cher
ugg boots sale
fendi handbags
genuine ugg boots
nike outlet
cheap uggs
ugg uk
uggs on sale
nike shox
cheap uggs uk
uggs sale
cheap ugg boots
ugg boots sale
ugg black friday
discount uggs
uggs black friday 2014
dansko clearance
ugg boots clearance

林磊 说...

2016-3-1 leilei
louis vuitton outlet
nike store
nike trainers
louis vuitton outlet
louis vuitton pas cher
chi flat iron
coach factory outlet
christian louboutin outlet
ugg outlet
toms shoes
abercrombie and fitch
michael kors handbags
polo ralph lauren
gucci belt
ed hardy
polo ralph lauren
longchamp le pliage
cheap jordans
nike sb janoski
nike tn pas cher
coach factory online
cheap ray ban sunglasses
toms shoes
adidas uk
christian louboutin
polo outlet
nike force 1
louis vuitton handbags
nike air max 90
air jordan shoes
mcm handbags
adidas superstars
adidas trainers
uggs on sale
nike blazers uk
louboutin pas cher
toms outlet
jordan 3 white cenment
ray ban sunglasses
jordan retro 4

柯云 说...

2016-05-07keyun
ralph lauren home
ray ban eyeglasses
hollister clothing store
coach outlet clearance
louis vuitton outlet online
ghd hair straighteners
concords 11
coach outlet store
instyler
louis vuitton handbags
ray ban sunglasses wholesale
ray ban sunglasses
reb christian louboutin
air jordan shoes
adidas originals store
louis vuitton bags
coach outlet
ray bans
air max 95
louboutin shoes
coach outlet
ray ban sunglasses
polo ralph lauren
christian louboutin outlet
coach factory outlet online
christian louboutin shoes
hollister shirts
kd 8
michael kors handbags
kobe 8
ray ban outlet
louis vuitton handbags
michael kors bags
air jordan homme
louis vuitton outlet online
hollister clothing
fitflop shoes
cheap ray ban sunglasses
michael kors outlet online

Hua Cai 说...

michael kors wallet sale
fitflop sale
sac louis vuitton pas cher
fitflops sale
polo outlet
michael kors outlet uk
louis vuitton bags
cheap soccer jerseys
polo ralph lauren
calvin klein underwear
oakley sunglasses wholesale
prada sneakers
cheap replica watches
ferragamo outlet
ralph lauren outlet
asics,asics israel,asics shoes,asics running shoes,asics israel,asics gel,asics running,asics gel nimbus,asics gel kayano
ferragamo outlet
longchamp outlet
swarovski crystal
hollister clothing
rolex watches
nfl jerseys
fitflops sale
reebok trainers
cheap football shirts
ray ban sunglasses
toms shoes
polo ralph lauren
soccer jerseys wholesale
fitflops outlet
cheap oakley sunglasses
mulberry bags
hollister sale
louboutin pas cher
michael kors outlet
20160625caihuali

chenlina 说...

adidas yeezy
louis vuitton handbags
ralph lauren clearance
jordan 13
hollister clothing
oakley sunglasses
coach outlet
instyler curling iron
fitflops uk
ray ban sunglasses
ugg sale
ugg slippers
coach outlet store online
gucci outlet
canada goose
coach factory outlet
oakley sunglasses
adidas outlet
adidas shoes
cheap jordans
ralph lauren uk
louis vuitton outlet stores
polo ralph lauren
uggs outlet
ralph lauren polo outlet
louis vuitton outlet
celine bags
adidas nmd
nike roshe run
coach factory outlet
ray-ban sunglasses
nike basketball shoes
nhl jerseys
kate spade handbags
ray ban sunglasses uk
toms shoes sale
louboutin sale clearance
louis vuitton
coach outlet
uggs on sale
chenlina20160831

Qinan Chen 说...

20160922qiujie
uggs
polo ralph lauren outlet
adidas nmd r1
mlb jerseys
cheap ray bans
fitflops
michael kors
canada goose outlet
michael kors outlet store
red bottom shoes for women

郑佳颖 说...

nike air max
http://www.nikedunks.us.org
adidas online shop
kobe shoes
hogan outlet
yeezy boost 350
kobe 9
cheap jordans
yeezy boost 350 v2
adidas tubular UK

raybanoutlet001 说...

nike air force 1
michael kors outlet
ray ban sunglasses
jordan shoes
christian louboutin shoes
coach outlet online
fitflops sale
cheap nfl jerseys
nike factory outlet
green bay packers jerseys