bugzilla安装
请以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服务器。

|