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
- Download bugzilla
- 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
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.
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 ;}
- 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
- Access www.bugzilla.com and the homepage appears. The installation is successful.
Localization
- Download the traditional Chinese package (because there is no simplified package)
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: