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
更多Fedora相關信息見Fedora 專題頁面 http://www.linuxidc.com/topicnews.aspx?tid=5