bugzilla安装

bugzilla安装

sudaobo [email:sudaobo@163.com]

请以root身份安装。

1. 下载并解压bugzilla

到 http://www.bugzilla.org/ 网站,下载最新版本的bugzilla。

2. 在bugzilla目录下,运行./checksetup.pl。./checksetup.pl会提示你安装相应的CPAN模块。
也可以到网址http://www.cpan.org/,查找所需的模块,手工安装.

手工安装步骤:
    perl Makefile.PL
    make
    make test
    make demo
    make install
make test和make demo可选。

bugzilla目录中有一个localconf文件,可以修改数据库相关的配置。

3. 修改bugzilla目录及目录下的文件的所有人和权限

4. 修改apache配置文件httpd.conf
DocumentRoot "/home/www"
apache的DocumentRoot是"/home/www"。

4.1
[You'll want to make sure that your web server will run any file with the .cgi extension as a CGI and not just display it. If you're using Apache that means uncommenting the following line in the httpd.conf file:]

AddHandler cgi-script .cgi
增加上面的指令,使apache可以运行cgi脚本。

4.2
<Directory "/home/www/bugzilla">
    Options All
    AllowOverride None
       
    Order deny,allow
    deny from all
    allow from 127.0.0.1 218.106.185.50
</Directory>
增加上面这些指令。Options All使bugzilla目录中具有执行脚本的权限。后面3条指令是用来限制访问主机地址的。

5. restart apache服务器。
 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值