Installation requires environment
Perl 5.8 version or above
MySQLServer
Nginx
SendMail Mail ( can also be sent with your own SMPT )
Bugzilla installation Package
First check that perl version is not supported by Bugzilla perl-v to view perl version
If updates are not supported or the latest perl packages are downloaded for installation apt-get Install Perl
Installing webserver MySQLServer sendmail
When you are done
Installing Bugzilla
Refer to the following website for installation
Http://www.cnblogs.com/kyrios/p/3973875.html
/usr/bin/perl install-module.pl--all
This command is used to install all dependent packages
If there is no installation on the You can use the manual installation
Problem induction
First install perl version too low
The second page appears the layout disorderly click css style to return a 502 Error
Workaround error when loading CSS style and js when configuring domain name
Check in the/etc/nginx/sites-available/bugzilla file to be aware that there are many configuration files on the Web now that are not written correctly
You have to check it again or you're prone to 502 errors.
Check that the path is correct
Check whether the file is loaded on
Encountered these problems in the English version additional in nginx to load a data folder Otherwise there will be a problem with the layout
server {
Listen 80; # Listening Port
server_name www.bugzilla.com; # server Name
Root/var/www/bugzilla; # Installation Path
location/skins/{
}
location/js/{
}
location/data/{
}
Location/{
Include Fastcgi_params;
Fastcgi_pass Unix:/tmp/perl-fcgi.sock;
Fastcgi_index index.cgi;
Fastcgi_param script_filename $document _root$fastcgi_script_name;
}
}
Third: The mail system cannot be used successfully
Modify the configuration of the mailbox in the data/params file using Smpt
in the.. \data\paramsset the following parameters:
Maintainer:[email protected]
MAIL_DELIVERY_METHOD:SMTP
Mailfrom:[email protected]
sendmailnow : on
smtpserver : smtp.163.com smtp_username: [email Protected]
Smtp_password: **********
Note: Maintainer , Mailfrom must be the same! smtp_username mailbox must be the real mailbox that exists,Smtp_password must be the real password of your real mailbox (the same as the password you logged in the mailbox)!
Chinese
Download the Chinese package corresponding to the version
Unzip him and put it under the bugzilla/template/. Corresponds to En folder
Modify bugzilla/enter_bug.cgi to the third line
Print "Content-type: $format->{' contenttype '}; Charset=gb2312\n\n ";
Refresh the page to
This article is from "the forefront of the Times" blog, please be sure to keep this source http://xinghenlg.blog.51cto.com/10054541/1653992
Ubuntu nginx bugzilla Configuration and some errors