<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    DANCE WITH JAVA

    開(kāi)發(fā)出高質(zhì)量的系統(tǒng)

    常用鏈接

    統(tǒng)計(jì)

    積分與排名

    好友之家

    最新評(píng)論

    安裝bugzilla

    準(zhǔn)備工作:

    核實(shí)版本

    perl(5.6 or above) mysql(3.23.41 or above) sendmail(8.7 or above)

    運(yùn)行如下命令看版本

    perl –version

    mysql –version

    /etc/mail/sendmail.cf 文件

    ?

    一, ???????????? 安裝 mysql

    1, 卸載舊版本 mysql

    rpm –qa|grep mysql 得到現(xiàn)有版本是 3.23

    rpm -e mysql-3.23.58-16.RHEL3.1

    提示錯(cuò)誤消息

    Failed dependencies:

    ??????? libmysqlclient.so.10 is needed by (installed) perl-DBD-MySQL-2.1021-3

    ??????? libmysqlclient.so.10 is needed by (installed) mod_auth_mysql-20030510-2.ent

    ??????? libmysqlclient.so.10 is needed by (installed) php-mysql-4.3.2-23.ent

    ??????? libmysqlclient.so.10 is needed by (installed) libdbi-dbd-mysql-0.6.5-5

    ??????? libmysqlclient.so.10 is needed by (installed) MySQL-python-0.9.1-6

    ??????? libmysqlclient.so.10 is needed by (installed) MyODBC-2.50.39-12.1

    ??????? libmysqlclient.so.10 is needed by (installed) qt-MySQL-3.1.2-13.4

    ??????? mysql = 3.23.58 is needed by (installed) mysql-bench-3.23.58-16.RHEL3.1

    ??????? mysql = 3.23.58 is needed by (installed) mysql-devel-3.23.58-16.RHEL3.1

    ??????? mysql is needed by (installed) MySQL-python-0.9.1-6

    ?

    須要同時(shí)卸載這些依賴文件,使用如下辦法:

    rpm -e mysql-3.23.58-16.RHEL3.1 perl-DBD-MySQL-2.1021-3 mod_auth_mysql-20030510-2.ent php-mysql-4.3.2-23.ent libdbi-dbd-mysql-0.6.5-5 MySQL-python-0.9.1-6 MyODBC-2.50.39-12.1? qt-MySQL-3.1.2-13.4? mysql-devel-3.23.58-16.RHEL3.1? MySQL-python-0.9.1-6 mysql-bench-3.23.58-16.RHEL3.1

    ?

    2 ,下載安裝 mysql

    登陸 www.mysql.com/downloads/

    選擇一個(gè) mysql 版本下載,這里選擇 4.1

    http://dev.mysql.com/downloads/mysql/4.1.html

    選擇 Red Hat Enterprise Linux 4 RPM (x86) downloads

    下載 server client

    MySQL-server-standard-4.1.21-0.rhel4.i386.rpm

    MySQL-server-standard-4.1.21-0.rhel4.i386.rpm

    Rpm –ivh MySQL-server-standard-4.1.21-0.rhel4.i386.rpm

    Rpm –ivhMySQL-server-standard-4.1.21-0.rhel4.i386.rpm

    ?

    ?

    3, 設(shè)置 mysql

    設(shè)置 root 密碼 :

    mysqladmin -u root password aa:

    登陸 mysql server:

    mysql –u root –p , 回車

    然後輸入密碼 aa

    建立新數(shù)據(jù)庫(kù) :bugs, 建立用戶,并授權(quán)操做

    mysql>create database bugs;
    mysql> GRANT SELECT, INSERT,UPDATE, DELETE, INDEX, ALTER, CREATE, LOCK TABLES,CREATE TEMPORARY TABLES, DROP, REFERENCES ON bugs.* TO bugs@localhost IDENTIFIED BY '$db_pass';
    mysql> FLUSH PRIVILEGES;
    mysql>quit

    ?

    , 安裝 bugzilla

    http://www.bugzilla.org/download/ ? 下載 bugzilla

    選擇 2 22 版本。

    下載相關(guān)文件,如 2.22 漢化

    解壓縮 :

    tar –zxvf bugzilla-2.22.tar.gz

    cd bugzilla-2.22

    ./checksetup.pl

    得到類似的消息,須要安裝 perl modules

    -----------------------------------------------------------------------------------

    Checking perl modules ...

    Checking for?????? AppConfig (v1.52)?? ok: found v1.56

    Checking for???????????? CGI (v2.93)?? ok: found v3.20

    Checking for??? Data::Dumper (any)???? ok: found v2.12

    Checking for??? Date::Format (v2.21)?? ok: found v2.22

    Checking for???????????? DBI (v1.38)?? ok: found v1.51

    Checking for????? File::Spec (v0.84)?? ok: found v3.19

    Checking for????? File::Temp (any)???? ok: found v0.13

    Checking for??????? Template (v2.08)?? ok: found v2.15

    Checking for????? Text::Wrap (v2001.0131) ok: found v2001.0929

    Checking for??? Mail::Mailer (v1.67)?? ok: found v1.74

    Checking for??? MIME::Base64 (v3.01)?? ok: found v3.07

    Checking for??? MIME::Parser (v5.406)? ok: found v5.420

    Checking for??????? Storable (any)???? ok: found v2.06

    ?

    The following Perl modules are optional:

    Checking for????????????? GD (v1.20)??? not found

    Checking for???? Chart::Base (v1.0)???? not found

    Checking for?????? XML::Twig (any)???? ok: found v3.09

    Checking for?????? GD::Graph (any)????? not found

    Checking for GD::Text::Align (any)????? not found

    Checking for???? PatchReader (v0.9.4)? ok: found v0.9.5

    Checking for?? Image::Magick (any)???? ok: found v5.56

    ?

    If you you want to see graphical bug charts (plotting historical data over

    time), you should install libgd and the following Perl modules:

    ?

    GD:????????? /usr/bin/perl -MCPAN -e 'install "GD"'

    Chart:?????? /usr/bin/perl -MCPAN -e 'install "Chart::Base"'

    ?

    If you you want to see graphical bug reports (bar, pie and line charts of

    current data), you should install libgd and the following Perl modules:

    ?

    GD:????????????? /usr/bin/perl -MCPAN -e 'install "GD"'

    GD::Graph:?????? /usr/bin/perl -MCPAN -e 'install "GD::Graph"'

    GD::Text::Align: /usr/bin/perl -MCPAN -e 'install "GD::Text::Align"'

    ?

    Checking user setup ...

    Removing existing compiled templates ...

    Precompiling templates ...

    Bugzilla requires that perl's DBD::mysql be installed.

    To install this module, you can do:

    ??? /usr/bin/perl -MCPAN -e 'install "DBD::mysql"'

    下載相關(guān)的 moduels

    -----------------------------------------------------------------------------------------------------------------------------

    并按照上邊的順序安裝 , 安裝方法:

    tar –zxvf xxxx

    cd xxxx

    perl Makefile.PL

    make

    make test

    make install

    再次運(yùn)行 ./checksetup.pl

    直到所有的 moduels 都是 found ok 為止

    模塊到這里下載 http://search.cpan.org/~mverb/GDTextUtil-0.86/Text/Align.pm

    輸入須要的名字 , 查詢就可以

    最后會(huì)出現(xiàn)要求安裝:

    Chart::Base? ,GD ,GD::Graph? ,GD::Text::Align 三個(gè)文件

    按照上邊的順序安裝,安裝提示須要 libgd 2.0.28

    這個(gè)時(shí)候去 http://www.boutell.com/gd/ 下載 libgd

    ./configure ,make ,make install

    然後再次嘗試, ok ,完成

    再次到 bugzilla 的目錄 . ./checksetup.pl

    只剩下一個(gè) moduels 須要安裝 :

    DBD-mysql

    安裝的時(shí)候提示須要 mysql_config

    經(jīng)過(guò)尋找發(fā)現(xiàn)是 mysql 少安裝了一個(gè)這個(gè),補(bǔ)充安裝

    MySQL-devel-standard-4.1.21-0.rhel4.i386.rpm

    安裝后,繼續(xù) perl Makefile.PL

    提示錯(cuò)誤,原來(lái)這個(gè) perl Makefile.Pl 時(shí)候須要參數(shù),格式大概是這樣

    perl Makefile.PL --testuser=bugs testpassword=aa testhost=localhost testport=3306

    make 的時(shí)候保正 mysql 服務(wù)器是啟動(dòng)著的。

    ?????????????

    ( 注: 有的 perl 程序中 perl 的路徑是 /usr/local/bin/perl, 帽系 統(tǒng) 認(rèn) /usr/bin/perl, 所以最好做一個(gè) , 兼容性 #?ln?-s?/usr/bin/perl?/usr/local/bin/perl)

    ?

    繼續(xù) make?
    出現(xiàn)錯(cuò)誤
    invalid option tune=’ pentium4’

    uname –a? 取得 athlon 改為 athlon 仍然錯(cuò)誤
    找到原因是因?yàn)?/span>??? gcc????? 不接收這個(gè)參數(shù) 打開(kāi) Makefile 文件,刪除這個(gè)參數(shù)
    make
    通過(guò)
    繼續(xù)
    make test
    不能通過(guò),查看錯(cuò)誤,發(fā)現(xiàn)是
    test 的時(shí)候設(shè)置了數(shù)據(jù)庫(kù)用戶名,但沒(méi)設(shè)置密碼
    cd t ?
    vi mysql.mtest
    更改密碼 ??????
    make test
    通過(guò)
    make install
    完成 modules 安裝
    2 ,安裝 bugzilla
    ./checksetup.pl
    Can't connect to the database
    設(shè)置
    localconfig??
    設(shè)置
    apache
    /var/www? ???? bugzilla

    # ln -s /usr/local/bugzilla-xxx /var/www/bugzilla?

    ??設(shè)apache 找到httpd.conf 文件先在其中:
    AddHandler cgi-script .cgi

    把注
    去掉.
    :
    AddDefaultCharset

    ISO-8859-1 改成
    GB2312 增加:
    Alias /bugzilla/ "/var/www/bugzilla/"
    Options ExecCGI
    AllowOverride Limit

    好了以后

    開(kāi)apache務(wù)
    漢化
    ????
    ??????? css
    ?????

    posted on 2006-09-20 21:27 dreamstone 閱讀(889) 評(píng)論(0)  編輯  收藏 所屬分類: 利器

    主站蜘蛛池模板: 久久亚洲AV无码西西人体| 国产精品亚洲片在线花蝴蝶| 亚洲一区二区三区高清视频| 亚洲一区二区三区夜色| 亚洲综合精品第一页| 亚洲色爱图小说专区| 国产青草视频免费观看97| 在线免费观看国产| 国产2021精品视频免费播放| 成年女人18级毛片毛片免费 | 67194在线午夜亚洲| 亚洲国产精品ⅴa在线观看| 一级毛片正片免费视频手机看| 中文字幕无码亚洲欧洲日韩| 国产成人精品亚洲一区| 伊人免费在线观看高清版| 亚洲av无码一区二区三区四区 | 免费看黄网站在线看| 免费在线观看一级片| 好吊妞在线新免费视频| 在线v片免费观看视频| 亚洲v国产v天堂a无码久久| 亚洲影院在线观看| 国产综合成人亚洲区| 小草在线看片免费人成视久网| 你是我的城池营垒免费看 | 国产香蕉免费精品视频| 亚洲第一黄色网址| 亚洲成年人免费网站| 无码日韩人妻AV一区免费l| 亚洲视频在线观看免费视频| 一本色道久久88亚洲综合| 国产免费爽爽视频免费可以看| 日韩在线a视频免费播放| 国产亚洲精品自在久久| 亚洲熟伦熟女专区hd高清| A级毛片高清免费视频在线播放| 在线精品免费视频无码的| 亚洲AV日韩AV天堂久久| 亚洲成人黄色在线观看| 一级毛片免费播放男男|