一份相向的感情 ,在相背的回忆里,寻找瞬间那失落的感动。

发布新日志

  • bugzilla安装

    2008-04-21 12:42:45

    对于bugzilla的安装,第一次安装总是遇上很多小问题,下面记录一下自己的安装过程。。。。

    (1) 安装 ActivePerl,bugzilla-3.1.3,mysql

    (2)运行一下ActivePerl更新PPM

    (3)检查一下 bugzilla还有那模块没发现,在命令行下运行bugzilla目录下的checksetup.pl

     

     

    那些not found就是需要下载的模块了,下载后,在运行checksetup.pl 如果所需模块都下载(下载模块地址:ppm repo add theory58S http://theoryx5.uwinnipeg.ca/ppms)安装成功后,命令行下会提示在bugzilla目录下生成localconfig,然后修改这个文件

     

    # The DNS name of the host that the database server runs on.
    $db_host = 'localhost';

    # The name of the database
    $db_name = 'bugs';(创建的数据库)

    # Who we connect to the database as.
    $db_user = 'root';(mysql的登陆名)

    # Enter your database password here. It's normally advisable to specify
    # a password for your bugzilla database user.
    # If you use apostrophe (') or a backslash (\) in your password, you'll
    # need to escape it by preceding it with a '\' character. (\') or (\)
    # (Far simpler just not to use those characters.)
    $db_pass = '123456';(mysql的登陆密码)

     

    保存成功后,打开浏览器输入http://localhost/bugzilla/ 呵呵,是否已经打开bugzilla主页了

    接下来设置 必需设置

    maintainer
    维护者。
    维护此Bugzilla系统的人的电子邮件地址

    比如:bugzilla@bug.com 

     

    urlbase
    The URL that is the common initial leading part of all Bugzilla URLs. 
    比如:http://xxx.xxx.xxx.xxx/bugzilla/(xxx.xxx.xxx.xxx是安装bugzilla这部机的ip地址)

     

    sslbase
    The URL that is the common initial leading part of all HTTPS (SSL) Bugzilla URLs. 
     

     

    比如https://xxx.xxx.xxx.xxx/  (xxx.xxx.xxx.xxx是安装bugzilla这部机的ip地址)

     

     

    以上必需设置的三个参数设置对了 就可以了 其他的默认(其他的没怎么研究,研究过的,可以留言,呵呵 大家互相学习)

     

    然后就这只mail了

     

    mail_delivery_method

    这个选择我选择SMTP 因为我只用这个做试验的

    sendmailnow

    我是选择 off

    smtpserver

    这个写邮件服务器的的地址

    到这里 mail设置 其他的都可以默认了

     

    然后提交保存成功就可以了。

     

    然后试试发邮件是否成功。。。。呵呵,到这个时候我当时也以为成功了,可是报错

    “There was an error sending mail from 'bugzilla-daemon@' to 'sunhao66@gmail.com':Can't call method "address" on an undefined value at C:/Perl/site b/Email nd/SMTP.pm line 24.

    这时候你看看刚才设置的参数是否提交保存有消,呵呵 是否发现什么都没有修改好呢。

    这个时候就要设置文件夹的权限了

    bugzilla文件夹 右键 属性 安全 然后把Users 设置完全控制

     

     

    然后在重新设置一下参数 呵呵

    这个时候应该没问题了

    写到这里 为自己以后重新安装的时候提供帮助,以免走弯路。。。

    大家有什么新的研究 也可以留言讨论。。呵呵

     


     

Open Toolbar