Linux下安装Bugzilla——完整版!!!!!!!

三、配置启动apache
  httpd -v
  # vi /etc/httpd/conf/httpd.conf(修改ServerName这行后面部分为本机IP地址,如: ServerName 192.168.1.105:80)
  # /usr/sbin/apachectl start (启动apache)
  测试APACHE2是否服务启动成功
  打开IE输入:
   http://ip
  四、安装perl模块
  由于默认的perl安装包缺少一些bugzilla需要的模块,所以需要补充一些模块,最好是在线进行,不要一个一个的自己安装。以root身份运行在联网情况下用以下命令安装所需的最少perl模块:
  perl -MCPAN -e 'install "Bundle::Bugzilla"'
  Are you ready for manual configuration? [yes] no
  of modules we are processing right now? [yes] 敲回车,以后都敲回车!
  五、配置apache
  在大部分基本的 Apache 安装中,httpd.conf 文件位于 /etc/httpd/conf/ 目录。一定要检查您的安装,确保从正确的目录中打开 Apache 配置文件。使用下面的命令打开它:$ vi /etc/httpd/conf/httpd.conf。
  您需要编辑这个文件中的一些行,令 Apache 能够利用 Bugzilla。首先,您需要允许 Apache 运行 cgi-bin 目录之外的 CGI 脚本。为此,必须在 httpd.conf 中添加(或者去除注释)以下这一行: AddHandler cgi-scrīpt .cgi 。
  然后,您需要允许 Bugzilla 的 .cgi 文件能够在 Bugzilla 目录中运行。将下面这两行添加到 <Directory /var/www/html > 指示符中:

   <Directory /var/www/html>
   ......
   Options ExecCGI FollowSymLinks        <---- add this line.
   AllowOverride Limit                     <---- add this line.
   </Directory>

  最后一个步骤,通过将下面的内容添加到 httpd.conf 中 DirectoryIndex 那一行的最后,您必须配置 Apache,以便在进入 Bugzilla 目录时查找 index.cgi 文件: DirectoryIndex index.html index.html.var index.cgi 。
  就是这样!现在您应该能够访问 http://<your-server-name>/bugzilla 的 Bugzilla 页。记着使用本文前面通过 checksetup.pl Perl 脚本创建的管理员帐号/口令进行登录。
  六、进入bugzilla目录,修改localconfig
  cd /var/www/html/bugzilla
  ./checksetup.pl(检查模块的安装情况)
  vi localconfig
  把$db_pass=’  ’;中填入一个数据库的密码(自己一定要记住,如这里输入123456)
  七、进入bugzilla页面
  http://192.168.1.105/bugzilla

作者: jie071218   发布时间: 2011-08-04

呵呵,LZ你这是完整版???从第三步开始说啊。。。。

作者: dn833   发布时间: 2011-08-04