zhyiwww
          用平實(shí)的筆,記錄編程路上的點(diǎn)點(diǎn)滴滴………
          posts - 536,comments - 394,trackbacks - 0

          主要步驟:
          【1】安裝mysql
          # aptitude install mysql
          【2】安裝perl
          #aptitude install perl
          【3】安裝bugzilla
          #tar vxfz bugzilla-3.6.tar.gz -C /xx/bugzilla
          【4】配置buzilla
          # vi localconfig
          把里面數(shù)據(jù)庫的配置修改正確
          比如mysql的用戶名和密碼等
          # ./checksetup.pl
          根據(jù)系統(tǒng)的提示,查找缺少的包,然后安裝,不過perl的包需要用cpan安裝。
          #aptitude install cpan
          最難裝的可能是GD
          #cpan GD
          如果
          #./checksetup.pl
          提示所有的包都安裝了,那么,bugzilla會(huì)提示你輸入bugzilla的管理員郵箱和密碼。一定要記住。
          【5】配置apache
          #cp /xx/bugzilla-3.6/*.cgi /usr/lib/cgi-bin/
          #cp /etc/apache2/sites-available/default /etc/apache2/sites-available/bugzilla
          #ln -s /etc/apache2/sites-available/bugzilla /etc/apache2/sites-enabled/bugzilla
          #vim /etc/apache2/sites-available/bugzilla
          內(nèi)容:

          <VirtualHost *:8081>
                  ServerAdmin webmaster@localhost

                  DocumentRoot /var/www/html/bugzilla
                  <Directory />
                          Options FollowSymLinks
                          AllowOverride None
                  </Directory>
                  <Directory /var/www/html/bugzilla/>
                          AddHandler cgi-script .cgi
                          Options +Indexes +ExecCGI
                          DirectoryIndex index.cgi
                          AllowOverride Limit
                  </Directory>

                  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
                  <Directory /usr/lib/cgi-bin>
                          AllowOverride None
                          Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                          Order allow,deny
                          Allow from all
                  </Directory>


                  ErrorLog /var/log/apache2/error.log

                  # Possible values include: debug, info, notice, warn, error, crit,
                  # alert, emerg.
                  LogLevel warn

                  CustomLog /var/log/apache2/access.log combined


          </VirtualHost>

          虛擬機(jī)的端口需要提前配置:
          #vim /etc/apache/ports.conf
          內(nèi)容:

          # bugzilla
          NameVirtualHost *:8081
          Listen 8081

          <IfModule mod_ssl.c>
              # SSL name based virtual hosts are not yet supported, therefore no
              # NameVirtualHost statement here
              Listen 443
          </IfModule>

          【6】重啟apache
          #/etc/init.d/apache2 restart
           
          【7】測(cè)試
          http://localhost:8081/
          如果出現(xiàn)bugzilla的頁面,就說明你配置成功了。

          【8】郵件配置
          用管理員的帳號(hào)登錄進(jìn)去
          在“管理”頁面,配置“參數(shù)”,然后配置“郵件”,就和你配置outlook一樣,配置smtp服務(wù)器,用戶名,密碼,確定,重啟apache.
          就可以了。

          【9】郵件配置成功驗(yàn)證
          在首頁,創(chuàng)建新用戶,如果提示發(fā)郵件到用戶郵箱,并能收到郵件,就說明郵件配置正卻。









          |----------------------------------------------------------------------------------------|
                                     版權(quán)聲明  版權(quán)所有 @zhyiwww
                      引用請(qǐng)注明來源 http://www.aygfsteel.com/zhyiwww   
          |----------------------------------------------------------------------------------------|
          posted on 2010-06-03 16:19 zhyiwww 閱讀(2713) 評(píng)論(0)  編輯  收藏 所屬分類: 軟件測(cè)試linux
          主站蜘蛛池模板: 宽甸| 札达县| 平武县| 绥德县| 安泽县| 洛宁县| 秦安县| 宁海县| 扶风县| 旬阳县| 夏河县| 福海县| 铜川市| 琼海市| 衡阳县| 甘孜县| 玉林市| 星子县| 勃利县| 怀安县| 台江县| 高州市| 石家庄市| 安康市| 清丰县| 财经| 武宣县| 邮箱| 洪湖市| 吉木乃县| 竹山县| 威信县| 西乌珠穆沁旗| 东兴市| 泽库县| 平陆县| 六安市| 十堰市| 平舆县| 周宁县| 辉县市|