Fedora 16 安装 Bugzilla 4.2

84433568 2012-04-08

Fedora 16 安装 Bugzilla 4.2

1、下载bugzilla-4.2.tar.gz,解压缩到/var/www/html/目录下

2、进入/var/www/html/目录,执行
#./checksetup.pl --check-modules
如果提示Can't locate ExtUtils/MM.pm,可执行
#yum install mod_perl

#yum install perl-CPAN

3、对于没有安装的模块,执行
#./install-module.pl <module-name>
4、配置apache配置文件/etc/httpd/conf/httpd.conf,添加虚拟主机bugzilla.o2o.com
<VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot /var/www/html/bugzilla-4.2
    ServerName bugzilla.o2o.com
    ErrorLog logs/bugzilla.o2o.com-error_log
    CustomLog logs/bugzilla.o2o.com-access_log common
<Directory /var/www/html/bugzilla-4.2>
  AddHandler cgi-script .cgi
  Options +Indexes +ExecCGI +FollowSymLinks
  DirectoryIndex index.cgi index.html
  AllowOverride ALL
  #AllowOverride Limit Options FileInfo
  AddType application/vnd.mozilla.xul+xml .xul
  AddType application/rdf+xml .rdf
</Directory>
</VirtualHost>

6、因为访问的虚拟主机定义了域名,可以修改/etc/hosts文件,添加
127.0.0.1 bugzilla.o2o.com
  #AllowOverride Limit Options FileInfo
注:如果访问出现这样的提示.htaccess: ExpiresActive not allowed
here,将AllowOverride Limit Options FileInfo,修改为AllowOverride ALL

相关推荐