Google Search Within opentiss.uk

2009-07-29

SLES 11之安装配置Bugzilla 3.4

昨天著名的Bug跟踪管理工具Bugzilla 3.4正式发布了,因为openJDiary项目管理的内部需要及其他一些必要的用途,我就在我的小机器上配置了一个bugzilla系统。
首先下载Bugzilla 3.4,解压缩到相应的虚拟主机目录:
dws:/srv/www/htdocs # tar xzf bugzilla-3.4.tar.gz
将目录bugzilla-3.4更改为需要的名称,如:
dws:/srv/www/htdocs # mv bugzilla-3.4 bugzilla
进行安装之前,需要检查一下是否具备了所有需要的模块及perl工具包:
dws:/srv/www/htdocs # cd bugzilla
dws:/srv/www/htdocs/bugzilla # ./checksetup.pl
一般情况下,是缺少一些软件包的,不过没有问题,按照提示,只需要运行以下命令自动下载安装所需的软件包即可,过程中可能需要若干次确认操作:
dws:/srv/www/htdocs/bugzilla # /usr/bin/perl install-module.pl --all
顺利完成后,再次执行以下命令:
dws:/srv/www/htdocs/bugzilla # ./checksetup.pl
此时如果安装条件均具备,会自动生成localconfig,提示您对MySQL数据库参数进行设置,如果建立全新的bugzilla数据库,可参考以下MySQL数据库脚本建立数据库并进行相应权限设置:
create database `bugzilla` default character set utf8 collate utf8_general_ci;
GRANT SELECT, INSERT,UPDATE, DELETE, INDEX, ALTER, CREATE, LOCK TABLES,CREATE TEMPORARY TABLES, DROP, REFERENCES ON bugzilla.* TO bugzilla@localhost IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
另外,因为SLES 11.0使用的Apache用户组名为www,还需要更改第25行的参数$webservergroup,由apache更改为www。
一切就绪后,再次执行以下命令,结束安装:
dws:/srv/www/htdocs/bugzilla # ./checksetup.pl
安装的最后阶段,会提示你输入系统管理员的Email,真实名字,以及登录密码。
Bugzilla 3.4安装结束后,就需要配置Apache的相应参数了,我采用了虚拟主机方式,配置文件(/etc/apache2/vhosts.d/yast2_vhosts.conf)参考如下:
<VirtualHost 10.15.76.105>
 DocumentRoot /srv/www/htdocs/bugzilla
 ServerName bugzilla.dws.cn
 ServerAdmin opentiss@gmail.com
 <Directory /srv/www/htdocs/bugzilla>
    AddHandler cgi-script .cgi
    Options +Indexes +ExecCGI
    DirectoryIndex index.cgi
    AllowOverride Limit
 </Directory>
</VirtualHost>
重启Apache,就可以使用刚才安装的Bugzilla了:
/etc/init.d/apache2 restart
Bugzilla的主页如下图所示:

以系统管理员账号登录后,请先在Parameters->Required Settings中将参数urlbase修改为正确的值。
最后,如果你想以gmail的smtp做为Bugzilla通知邮件服务器的话,可以参照BugZilla alerts using GMAIL进行如下配置:首先安装Perl模块Email::Send::SMTP::TLS,采用CPAN SHELL:
perl -MCPAN -e shell
cpan[1]> install Email::Send::SMTP::TLS
因为安装过程中需要两个模块perl-Test-Pod和perl-Test-Pod-Coverage,所以需要先在YaST中事先安装好。在安装过程中可能需要自动安装一些其他有依赖的包,直接确认安装即可。
安装完成后,备份Bugzilla/Mailer.pm,然后对其进行如下修改:
176a177,186
>     if ($method eq "SMTP::TLS") {
>         my ($smtp_server,$smtp_port) = split /:/,Bugzilla->params->{"smtpserver"};
>         push @args, Host  => $smtp_server,
>                     User => Bugzilla->params->{"smtp_username"},
>                     Password => Bugzilla->params->{"smtp_password"},
>                     Hello => $smtp_server,
>                     Port => $smtp_port,
>                     Debug => Bugzilla->params->{'smtp_debug'};
>     }
>
即添加针对SMTP::TLS的处理代码,然后以系统管理员账号登录,在Parameters->Email中修改如下设置:
mail_delivery_method > SMTP::TLS
mailfrom > username@gmail.com
smtpserver > smtp.gmail.com:587
smtp_username > username@gmail.com
smtp_password > userpassword
保存以上设置之后,您就可以通过gmail发送您的Bugzilla通知邮件了。
以上参考文章将会在维勘翻译中有中方参考译文发布(对原文perl代码错误有所修正),敬请关注。

20 条评论:

匿名 说...

I tеnd not to leave many reѕponses, howeѵeг I bгοwsed
a fеw οf the rеmarkѕ
on "SLES 11之安装配置Bugzilla 3.4".
I dо have a few questions for yоu if you ԁo nоt mind.
Is it only mе οг dο a few of the гesρonses look like they arе ωгitten by brаin ԁeаd
individuals? :-P Αnd, if you are writing on аdԁitional online
ѕіtes, I'd like to keep up with you. Could you make a list of all of all your shared pages like your Facebook page, twitter feed, or linkedin profile? where to find raspberry ketones max - raspberry ketone side effects - raspberry ketones maximum dosage

my blog post ... raspberry ketone scam

oakleyses 说...

burberry, abercrombie and fitch, oakley pas cher, ferragamo shoes, mulberry, air max, birkin bag, roshe run, mac cosmetics, mont blanc, abercrombie and fitch, wedding dresses, hollister, vans, supra shoes, ralph lauren, rolex watches, giuseppe zanotti, nike air max, hollister, nike huarache, louboutin, beats by dre, lancel, montre pas cher, longchamp, louis vuitton, michael kors, louis vuitton, lululemon, nike free, louis vuitton, nike roshe, hermes, juicy couture outlet, hogan, north face outlet, timberland, instyler ionic styler, ray ban pas cher, new balance shoes, ralph lauren, converse shoes, reebok outlet, juicy couture outlet, north face jackets, yoga pants, nfl jerseys, nike trainers, karen millen

匿名 说...

ugg boots clearance
furla handbags
uggs outlet
ugg sale
ugg boots clearance sale
cheap uggs
uggs black friday 2014
ugg boots outlet
cheap uggs
ugg outlet
cheap uggs for sale
ugg boots outlet
tory burch black friday sale 2014
jordan 11
ugg sale
uggs on sale
ugg outlet online
uggs sale
pandora jewellery
mcm backpack
discount uggs
ugg outlet
guess outlet store
cheap beats by dre
cheap ugg boots
kobe bryant shoes
nike shoes
tods shoes
nike kd 6
louboutin shoes
uggs sale

Unknown 说...

oakley sunglasses
coach outlet
michael kors outlet
ray ban sunglasses
true religion jeans
beats headphones
kate spade outlet
chanel outlet
burberry outlet
tory burch outlet
air jordan shoes
canada goose outlet
moncler coats
the north face jackets
the north face outlet
north face outlet
the north face clearance
north face jackets
the north face uk
the north face outlet store
ugg boots
mbt shoes
air jordan 13
bottega veneta outlet
hermes outlet
hermes birkin
hermes belt
mulberry outlet
tommy hilfiger outlet
juicy couture outlet
cheap wedding dresses
evening dresses
ysl outlet
mizuno running
stuart weitzman boots
dansko outlet
soccer shoes
surpa sneakers
vans shoes
nike outlet store
hang0616

Unknown 说...

cleveland cavaliers jersey
nike roshe
links of london uk
oakley sunglasses
karen millen uk
louboutin shoes
oakley sunglasses
lululemon outlet
indianapolis colts jerseys
oakley sunglasses
seattle seahawks jerseys
abercrombie and fitch
adidas wings
adidas shoes
coach outlet online
minnesota vikings jerseys
michael kors canada, http://www.michaelkorsoutletcanada.in.net
abercrombie
louis vuitton outlet
lacoste shirts
nike air max uk
pandora jewelry
tory burch outlet
chelsea jersey
hollister shirts
cheap oakley sunglasses, http://www.oakleysunglasses-outlet.us.com
basketball shoes,basketball sneakers,lebron james shoes,sports shoes,kobe bryant shoes,kobe sneakers,nike basketball shoes,running shoes,mens sport shoes,nike shoes
ugg boots, http://www.uggbootsclearance.in.net
north face outlet
coach outlet store
nfl jerseys
louis vuitton outlet
ed hardy t-shirts
ugg uk
nike running shoes
kate spade handbags
michael kors outlet
0827maoqiuyun

Unknown 说...

louis vuitton handbags outlet
nba jerseys
green bay packers
michael kors handbags sale
adidas outlet
the north face outlet
nike trainers
lebron shoes
cheap nike shoes
ralph lauren outlet
ghd uk
ugg boots
coach outlet store
louis vuitton outlet online
cheap jordan shoes
air jordan shoes for sale
swarovski outlet
mulberry uk
black friday 2015
1105minko

Unknown 说...

ninest123 12.23
nike free pas cher, hogan outlet, nike trainers, north face, hollister, mulberry, vans pas cher, air jordan, nike blazer, vanessa bruno, louboutin, nike air force, polo lacoste, air max, timberland, abercrombie and fitch, true religion jeans, michael kors outlet, sac longchamp pas cher, polo ralph lauren, longchamp, true religion jeans, nike tn, lululemon outlet online, nike roshe run pas cher, michael kors pas cher, oakley pas cher, nike free, michael kors uk, air max pas cher, true religion outlet, sac hermes, ray ban sunglasses, hollister, ralph lauren, ray ban pas cher, coach purses, michael kors, true religion outlet, air max, nike roshe, new balance pas cher, north face, sac guess, sac burberry, coach outlet store online, converse pas cher, replica handbags, nike air max, nike huaraches

Unknown 说...

louis vuitton, air max, ray ban sunglasses, oakley sunglasses, burberry outlet, uggs, cheap uggs, michael kors outlet, christian louboutin, tiffany and co, prada outlet, louis vuitton outlet stores, ray ban sunglasses, cheap oakley sunglasses, longchamp handbags, uggs outlet, tiffany and co, nike shoes, tory burch outlet, ray ban sunglasses, longchamp handbags, oakley sunglasses, polo ralph lauren outlet, michael kors outlet, michael kors outlet online sale, chanel handbags, michael kors outlet, louis vuitton handbags, air max, louboutin outlet, burberry outlet, oakley sunglasses cheap, ugg outlet, louboutin, michael kors outlet, prada handbags, louis vuitton outlet, polo ralph lauren, nike free, replica watches, ugg boots clearance, michael kors outlet, louboutin shoes, jordan shoes, rolex watches, oakley sunglasses, louis vuitton outlet, gucci outlet, longchamp outlet

Unknown 说...

wedding dresses, moncler, ugg, louis vuitton, ugg, moncler, canada goose jackets, canada goose uk, supra shoes, pandora jewelry, swarovski, ugg pas cher, sac louis vuitton, swarovski crystal, canada goose, barbour, ugg, converse shoes, toms shoes, louis vuitton uk, sac louis vuitton, sac lancel, links of london, juicy couture outlet, canada goose, rolex watches, hollister, pandora jewelry, canada goose, thomas sabo, canada goose outlet, moncler, moncler, barbour, pandora charms, montre homme, doke gabbana, louis vuitton, canada goose, ugg boots, moncler outlet, moncler, pandora charms, moncler, juicy couture, karen millen, marc jacobs, moncler, canada goose, coach outlet store online
ninest123 12.23

Unknown 说...

2016-3-1 leilei
coach factory outlet online
uggs sale
michael kors bag
kate spade outlet
michael kors outlet online
canada goose uk
instyler max
adidas superstar
michael kors handbags
cheap soccer jerseys
air jordan 8
coach factory outlet
coach outlet
hermes outlet
louboutin shoes
michael kors uk
coach outlet online
michael kors outlet
louis vuitton handbags
mont blanc pens
louis vuitton outlet stores
retro jordans 13
ugg outlet
michael kors outlet
air jordan femme
nike running shoes
ralph lauren
louis vuitton
christian louboutin sale
micahel kors
michael kors bags
true religion jeans
true religion outlet
ray ban sunglasses
oakley sunglasses
toms outlet
toms outlet store
gucci handbags
christian louboutin outlet
nike uk

柯云 说...

2016-05-07keyun
nike air max uk
cheap ray ban sunglasses
timberlands
nike sb dunks
air max 90
longchamp le pliage
coach outlet online
fitflop sandals
ralph lauren
michael kors handbags
nike blazers uk
michael kors outlet
michael kors handbags
louis vuitton outlet
jordan 3s
oakley outlet
tiffany rings
polo ralph lauren outlet
jordan retro 8
louis vuitton purses
coach factory outlet online
fitflop clearance
adidas factory outlet
vans sneakers
nfl jerseys wholesale
coach outlet
longchamp outlet
louis vuitton outlet
oakley sunglasses wholesale
hollister clearance
nike uk
jordan 3 powder blue
toms shoes
ralph lauren outlet
michael kors handbags
ray ban sunglasses
louis vuitton outlet stores
cheap rolex watches
louboutin femme

Unknown 说...

20160922qiujie
hermes bags
polo ralph lauren outlet online
louis vuitton outlet online
nike free flyknit
ugg boots clearance
jordan retro
cheap jordan shoes
burberry outlet online
canada goose outlet
hugo boss suits

chenmeinv0 说...

ralph lauren outlet
ralph lauren polo outlet
michael kors outlet
nike air max
birkenstock outlet
nike air max 2016
true religion
tory burch outlet
pandora charms
adidas shoes
2017.3.13xukaimin

chenmeinv0 说...

air jordan 14
louis vuitton outlet
louis vuitton outlet online
columbia sportswear
michael kors outlet
ralph lauren outlet
los angeles clippers jerseys
oakley canada
manolo blahnik
salvatore ferragamo
20175.26chenjinyan

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

Unknown 说...

air max 90
michael kors outlet handbags
nike zoom
vans store
adidas stan smith
golden goose outlet
jordan retro
yeezys
jordan 4
cartier love bracelet

raybanoutlet001 说...

christian louboutin shoes
dallas cowboys jerseys
ray ban sunglasses outlet
cheap ray bans
longchamp outlet
jordan shoes
coach outlet store online
oakley sunglasses
true religion outlet store
coach outlet

Unknown 说...

cheap nhl jerseys
true religion outlet
cardinals jersey
oakley sunglasses
ralph lauren outlet
polo ralph lauren
nike huarache
michael kors handbags
jets jersey
ecco shoes

Unknown 说...

qzz0414
ravens jerseys
boston celtics jersey
jordan 8
polo ralph lauren
tennessee titans jersey
ralph lauren outlet
oakley sunglasses wholesale
fitflops sale clearance
ray ban sunglasses outlet
ray ban sunglasses

jeje 说...

Offre d'approvisionnement: nike air jordan 11 retro femme Reyes est certainement un écrivain spécialiste. Nike annonce qu'elle lancera une Nike Hyperdunk basket homme nike air max 2017 + en juillet 2012. Outre qu'elles sont vendues à l'intérieur chaussure adidas zx 500 des rues, ces guirlandes sont également offertes aux touristes, aux chaussure adidas zx flux femme rose nouveaux diplômés et aux lauréats des concours, soit en air jordan 11 blanche et bleu tant qu'offrandes d'accueil traditionnelles, soit en tant que symboles honorifiques de leurs asics kayano femme soldes réalisations.