Linux下bugzilla安裝指南

來源:互聯網
上載者:User

在Linux下安裝bugzilla有以下幾個過程:

1.首先安裝mysql
我安裝的是mysql5.0
關於mysql5.0的rpm包網上有很多,主要安裝
MySQL-shared-compat-5.0.24a-0.rhel4.i386.rpm
MySQL-devel-standard-5.0.24a-0.rhel4.i386.rpm
MySQL-server-standard-5.0.24a-0.rhel4.i386.rpm
用戶端要安裝的話就安裝下面兩個
MySQL-client-standard-5.0.24a-0.rhel4.i386.rpm
MySQL-test-standard-5.0.24a-0.rhel4.i386.rpm
一般都會遇到socket(2)問題
解決方案如下:
先看看自己的linux系統有沒有設定selinux
修改 /etc/selinux/config
SELINUXTYPE=disabled
然後 看看自己安裝的mysql目錄是不是屬於mysql使用者和組
如果不是就
chown -R /var/lib/mysql
2.Apache的安裝,非常簡單
從網上下載rpm 包,直接安裝。如果本身系統內建,就不必安裝
一般會遇到的問題:
連接埠被佔用或者打不開網頁
解決方案:
修改httpd.conf
Listen 8089
連接埠號碼可以任意更改
然後檢查自己的系統是不是開啟了防火牆,如果開啟,關閉即可
3.bugzilla的安裝,去bugzilla的官方網站可以下載
我下載的是bugzilla-2.20.2.tar
接下來解壓
tar -xcvf bugzilla-2.20.2.tar
解壓後 進入 解壓的目錄
cd /bugzilla-2.20.2
執行
./checksetup.pl
會檢查bugzilla的哪些模組還沒有安裝
Checking perl modules ...
Checking for       AppConfig (v1.52)    not found
Checking for             CGI (v2.93)    not found
Checking for    Data::Dumper (any)     ok: found v2.12
Checking for    Date::Format (v2.21)    not found
Checking for             DBI (v1.38)   ok: found v1.601
Checking for      File::Spec (v0.84)    found v0.83
Checking for      File::Temp (any)     ok: found v0.13
Checking for        Template (v2.08)    not found
Checking for      Text::Wrap (v2001.0131) ok: found v2001.0929
Checking for    Mail::Mailer (v1.65)    not found
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::Parser (any)     ok: found v2.31
Checking for       GD::Graph (any)      not found
Checking for GD::Text::Align (any)      not found
Checking for     PatchReader (v0.9.4)   not found

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"'

If you want to see pretty HTML views of patches, you should install the
PatchReader module:
PatchReader: /usr/bin/perl -MCPAN -e 'install "PatchReader"'


Bugzilla requires some Perl modules which are either missing from
your system, or the version on your system is too old.
They can be installed by running (as root) the following:
   /usr/bin/perl -MCPAN -e 'install "Mail::Mailer"'
   Minimum version required: 1.65
   /usr/bin/perl -MCPAN -e 'install "File::Spec"'
   Minimum version required: 0.84
   /usr/bin/perl -MCPAN -e 'install "AppConfig"'
   Minimum version required: 1.52
   /usr/bin/perl -MCPAN -e 'install "Template"'
   Minimum version required: 2.08
   /usr/bin/perl -MCPAN -e 'install "Date::Format"'
   Minimum version required: 2.21
   /usr/bin/perl -MCPAN -e 'install "CGI"'
   Minimum version required: 2.93


發現有很多包都沒有安裝
接下來就按照它的提示線上安裝
perl -MCPAN -e 'install "GD"'
perl -MCPAN -e 'install "Chart::Base"'
。。。。。。。。。。。。。。。

  • 1
  • 2
  • 下一頁

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.