[ 永远的UNIX::UNIX技术资料的宝库 ]

首页 > 编程技术 > 其它 > 正文

bugzilla安装

作者:sudaobo dev.csdn.net (2005-04-20 17:46:43)

请以root身份安装。

1. 下载并解压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可选。

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服务器。


(http://www.fanqiang.com)

原文链接:http://dev.csdn.net/article/29/article/48/article/48/48150.shtm

 相关文章
Perl如何调试程序 2001-05-14 18:15:00
Solaris2.4 多线程编程指南6--编译和调试 2002-01-29 20:32:52
用GDB调试程序 2005-03-23 16:48:14
Samba3.0服务器实战调试 2005-03-25 10:55:22
关于调试 Linux 代码的有用技巧 2005-04-11 17:34:21
Bugzilla ON FreeBSD 4.9 HOWTO 2005-03-16 11:31:02

★  感谢所有的作者为我们学习技术知识提供了一条捷径  ★
www.fanqiang.com