Install Bugzilla 3.6.10 on Federa 14

 

1,yum install bugzilla

2,cd /usr/share/bugzilla

3,./checksetup.pl --check-modules

4,./install-module.pl --all #install all modules

5 ./checksetup.pl #generate /etc/bugzilla/localconfig

6 modify database items in localconfig, such as $db_pass

7 modify mysql with /etc/my.cnf

[mysqld]

# Allow packets up to 4MB

max_allowed_packet=4M

# Allow small words in full-text indexes

ft_min_word_len=2

8 start mysql & add user

mysql> GRANT SELECT, INSERT, UPDATE, DELETE, INDEX, ALTER, CREATE, LOCK TABLES, CREATE TEMPORARY TABLES, DROP, REFERENCES ON bugs.* TO bugs@localhost IDENTIFIED BY 'unitcc123'; #passwd is unitcc123

mysql> FLUSH PRIVILEGES;

9 ./checksetup.pl #again, with root@localhost.localdomain unitcc123

10 modify table attachments

mysql> use bugs

mysql> ALTER TABLE attachments AVG_ROW_LENGTH=1000000, MAX_ROWS=20000;

11,set web server, modify /etc/httpd/conf/httpd.conf

1) insert the following lines after "Group apache"

PerlSwitches -I/usr/share/bugzilla -w -T

PerlConfigRequire /usr/share/bugzilla/mod_perl.pl

2) disabled KeepAlive support

12, yum install mod_perl.i686 #perl module for apache

13,download bugzilla.zh-TW.3.6.4.20110213.tar.gz and replace /usr/share/bugzilla/template/en

14, start httpd service 

 

--------------------------------------------------------------------------

修改bugzilla的IP地址:

 

机器IP地址改变后,用户登陆时会跳到老的地址上去。没找到修改urlbase参数的办法,也没找到urlbase的存储位置;最后直接输入参数设置页面的地址http://192.5.1.237/bugzilla/editparams.cgi?section=core#urlbase,直接修改,此时会提示登陆,使用root登陆后保存urlbase修改,成功。

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值