Google Search Within opentiss.net

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代码错误有所修正),敬请关注。

29 条评论:

匿名 说...

[url=http://buyonlineaccutanenow.com/#zfqcc]buy cheap accutane[/url] - accutane 20 mg , http://buyonlineaccutanenow.com/#jlxjy buy accutane online

匿名 说...

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

Coach Factory 说...

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

Coach Factory 说...

gucci, canada goose, oakley outlet, soccer jerseys, ralph lauren, insanity, ray ban, ugg boots, moncler, chi flat iron, oakley, moncler, canada goose, oakley vault, oakley sunglasses outlet, ugg, soccer shoes, ghd, tn pas cher, canada goose, herve leger, valentino shoes, canada goose outlet, canada goose, cheap oakley sunglasses, oakley vault, canada goose outlet, babyliss pro, jimmy choo, oakley sunglasses cheap, cheap sunglasses, celine handbags, moncler, asics, moncler outlet, oakley sunglasses outlet, ugg boots, ugg boots, oakley outlet, cheap oakley sunglasses, mcm handbags, marc jacobs, oakley sunglasses cheap, louboutin, cheap sunglasses, ugg, bottega veneta, p90x, uggs on sale

Coach Factory 说...

louis vuitton outlet online, michael kors, true religion outlet, kate spade handbags, michael kors, ray ban sunglasses, oakley sunglasses, nike air max, louis vuitton handbags, oakley sunglasses, coach outlet, nike free, longchamp handbags, michael kors outlet online, longchamp outlet, prada outlet, air jordan, gucci outlet, toms shoes, louboutin, jordan shoes, nike air max, polo ralph lauren outlet, michael kors handbags clearance, kate spade outlet, coach purses, true religion, nike free, coach outlet store, polo ralph lauren outlet, ray ban sunglasses, michael kors outlet online, true religion jeans, longchamp handbags, burberry outlet online, air max, ray ban, chanel handbags, louboutin, prada handbags, coach factory, cheap michael kors, tory burch outlet, air max, oakley sunglasses, michael kors outlet, nike shoes, tiffany and co

匿名 说...

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

Shijun Lin 说...

shijun 3.17
converse all star
mcm backpack
longchamp handbags
nba jerseys
gucci handbags
insanity workout
replica watches
beats by dre
cheap soccer jerseys
coach outlet online
michael kors handbags
herve leger sale
cheap oakley sunglasses
abercrombie
ray ban sunglasses
kate spade handbags
mac makeup
louis vuitton handbags
tods outlet
tiffany jewelry
salomon shoes
salomon speedcross 3
toms shoes outlet online
marc jacobs
jordan shoes
links of london uk
michael kors outlet online
m a c cosmetics
abercrombie and fitch
oakley sunglasses
coach factory outlet
adidas outlet
fitflop shoes
prada handbags
replica rolex watches
karen millen dresses
michael kors outlet online sale
fitflop sandals
thomas sabo
karen millen sale
ferragamo shoes

Lin Huang 说...

caihuanglin20150603
jordan 11 gamma blue
tod's shoes
christian louboutin
prada outlet
louis vuitton handbags
lebron james shoes
tod's shoes
nike air max
louis vuitton outlet
true religion jeans
ray ban sungalsses
ray ban sunglasses
ray ban uk
louis vuitton handbags
christian louboutin sale
jordan 11s
gucci
coach factory outlet
louis vuitton handbags
tory burch outlet
lebron james shoes 2015
michael kors
jordan retro
michael kors purse
michael kors outlet
jordan 11 concord
pandara jewelry
ray ban sunglasses outlet
ray ban sunglass
kate spade outlet
ghd hair strighteners
jordan concords
celine
oakley sunglasses cheap
jeremy scott adidas
gucci handbags
mont blanc
ray bans
michael kors outlet online
kevin durant shoes

xiaohang lin 说...

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

mao qiuyun 说...

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

Minko Chen 说...

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

方松腾 说...

ugg outlet store
michael kors outlet store
cyber monday
lacoste polo
uggs outlet
fitflops sale
cheap oakley sunglasses
north face jackets
michael kors outlet
gucci
wellensteyn coats
celine outlet
adidas outlet store
asics
juicy couture sale
ugg boots
tiffany jewelry
coach outlet store
oakley sunglasses
ed hardy outlet

ninest123 Ninest 说...

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

ninest123 Ninest 说...

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

ninest123 Ninest 说...

converse, mcm handbags, reebok outlet, bottega veneta, p90x, chi flat iron, hollister clothing store, ray ban, jimmy choo outlet, lululemon outlet, nfl jerseys, iphone 6s cases, soccer jerseys, wedding dresses, louboutin, babyliss pro, beats by dre, north face outlet, ferragamo shoes, gucci, abercrombie, instyler, iphone 6s plus cases, asics running shoes, celine handbags, abercrombie and fitch, iphone 5s cases, ghd, vans, valentino shoes, air max, oakley, ipad cases, giuseppe zanotti, new balance shoes, herve leger, timberland boots, air max, baseball bats, iphone 6 cases, birkin bag, s6 case, ralph lauren, nike roshe run, north face jackets, insanity workout, iphone cases, mont blanc, iphone 6 plus cases, vans shoes, soccer shoes, mac cosmetics

ninest123 Ninest 说...

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

林磊 说...

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

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
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

Unknown 说...

ecco shoes
coach
chiefs jersey
michael kors outlet
michael kors uk
omega watches
chaussure louboutin pas cher
valentino shoes
adidas nmd runner
denver broncos jerseys

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

xumeiqing 说...

michael kors handbags
true religion outlet
tommy hilfiger
texas rangers jerseys
air max 95
cheap mlb jerseys
oakley sunglasses
coach outlet store online
yeezy boost
pandora outlet
20170315huazhen

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

郑佳颖 说...

nike air zoom pegasus 32
light up shoes
nike air max95
michael kors outlet
tory burch shoes
nike air max 90
longchamp bags
adidas outlet
true religion jeans
michael kors outlet online

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

吥離吥棄 说...

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