Install bugzilla4.4.10 on centos

Source: Internet
Author: User

Install bugzilla4.4.10 on centos
Install nginx

Find the installation tutorial from the Internet. The version used in this article is nginx/1.0.15.

Install mysql and create a bugzilla Library

Find the installation tutorial from the Internet. The version used in this article is Server version: 5.1.73

Install fcgi-devel fcgi nginx perl spawn-fcgi
$ yum install   fcgi-devel fcgi   perl spawn-fcgi  
Install bugzilla
  1. Download bugzilla
  2. Install$ Cd bugzilla-4.4.10 $ tar zvxf bugzilla-4.4.10.tar.gz $. /checksetup. pl -- check-modules // check whether there is a missing dependency $ perl install-module.pl -- all // if it is missing, perform this step until it is not missing
  3. Configure localconfig

    $ Cd bugzilla-4.4.10 $ vim localconfig // modify $ db_host $ db_name $ db_port $ db_pass $. /checksetup. pl // This step can be executed smoothly if it is not configured correctly. This step is to initialize the data tables required by bugzilla. $ so far, the installation of bugzilla is complete.
  4. Configure nginx

// The absolute path of the bugzilla-4.4.10 is/www/bugzilla-4.4.10server {listen 80; server_name www.bugzilla.com; index. cgi; root/www/bugzilla-4.4.10; location ~ . * \. (Gif | jpg | jpeg | png | bmp | swf) $ {expires 30d;} location ~ . * \. (Js | css )? $ {Expires 1 h;} location ~ . * \. Cgi? $ {Root/www/bugzilla-4.4.10; fastcgi_pass 127.0.0.1: 9003; fastcgi_index index. cgi; fastcgi_param SCRIPT_FILENAME $ document_root $ fastcgi_script_name; include fastcgi_params;} limit 5 m ;}
  1. Start
$ spawn-fcgi -f /usr/local/bin/fcgiwrap -a 127.0.0.1 -p 9003 -F 3 -P /var/run/fastcgi-c.pid  $ nginx -s reload
  • 1
  • 2
  1. Access www.bugzilla.com and the homepage appears. The installation is successful.
Localization
  1. Download the traditional Chinese package (because there is no simplified package)
  2. Convert traditional Chinese package into simplified installation cconv-0.6.2 unzip into bugzilla-tw-master/template/zh-TW/default write sh, and put it under bugzilla-tw-master/template/zh-TW/default.

    #!/bin/shfind ./ -name "*.tmpl" -o -name "*.xml"|while read line;doecho $linecconv -f utf8-tw -t utf8-cn $line -o ${line}.zh_cnmv $line ${line}.zh_twmv ${line}.zh_cn $linedonefind ./ -name "*.zh_tw" -o -name "*.xml"|while read line;dorm $linedone

    Run

    $ Cd bugzilla-tw-master/template/zh-TW/default $. /tw2cn $ copy the content under bugzilla-tw-master/template/zh-TW to/www/bugzilla-4.4.10/template, refresh again to see the simplified version of
    I have put the one I got into [here] (http://download.csdn.net/detail/sakurallj/9257227 ).

    Figure:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.