Recently, the company's servers have been migrated from physical machines to virtual machines, which is some of my notes during the migration of Bugzilla. I hope to be of help to our friends.
Bugzilla is an open source defect tracker (bug-tracking system) that manages the entire lifecycle of defects in software development (new), repair (resolve), shutdown (close), and so on.
It has the following characteristics:
⒈ Powerful search function
⒉ User-Configurable email posting of bug changes
⒊ History Change Record
⒋ handling bugs by tracking and describing
⒌ Attachment Management
⒍ Complete product Classification scheme and meticulous security strategy
Audit mechanism of ⒎ security
⒏ powerful back-end database support
⒐web,xml,email and Control Interface
⒑-friendly Web user interface
⒒ rich and varied configuration settings
Backwards compatibility between ⒓ versions
Installation of Bugzilla
Prepare the Environment
Installing the Web server and database
# Yum Install mysql-server httpd
Database-related Operations
Mysql>grant all on * * to ' root ' @localhost ' identified by ' 123456 ';
Mysql>grant all on * * to ' root ' @127.0.0.1 ' identified by ' 123456 ';
Mysql>grant all on bugs.* to ' bugs ' @ ' localhost ' identified by ' Bugzila ';
Mysql>create DATABASE Bugs;
Mysql>flush privileges;
Installing Bugzilla
#cd/var/www/html
#wget https://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-4.4.8.tar.gz
#tar XF bugzilla-4.4.8.tar.gz
#mv bugzilla-4.4.8 Bugzilla
#cd bugzilla-4.4.8
Run checksetup.pl Check Perl module, note to install CPAN and GCC compilers in advance
#yum Install CPAN gcc
#perl checksetup.pl
A module that is not installed will be prompted at the end to manually install the module
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/59/F3/wKiom1TwPOCTZyOFAAHH_ujE0uM566.jpg "title=" Qq20150227174541.png "alt=" Wkiom1twpoctzyofaahh_uje0um566.jpg "/>
can also add Epel source after the manual installation, recommended Ali Epel Source
Wget-o/etc/yum.repos.d/epel.repo Http://mirrors.aliyun.com/repo/epel-6.repo
After the installation is complete, run Perl checksetup.pl again
You will be prompted not to connect to the database: Edit Localconfig later
#vim Localconfig
Edit Database Related
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/59/F3/wKiom1TwOU_BR9JkAAGWeWS-Yh0056.jpg "title=" QQ picture 20150227173018.png "alt=" Wkiom1twou_br9jkaagwews-yh0056.jpg "/>
Run Perl checksetup.pl again
Will print the relevant information, and finally follow the prompts to enter the administrator information
Edit/etc/httpd/conf/httpd.conf after completion
Vim/etc/httpd/conf/httpd.conf
Modify DocumentRoot
Add Bugzilla After
vi/usr/local/apache2/conf/httpd.conf
added in the end:
<directory "/var/www/html/bugzilla/" >&NBSP;
options execcgi
AllowOverride all &NBSP;&NBSP;
</directory>
remove AddHandler Cgi-script .cgi comments
Add index.cgi after index.html
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/59/F3/wKiom1TwOcHDZjfIAAAsLcmM9g8469.jpg "title=" Qq20150227173237.png "alt=" Wkiom1twochdzjfiaaaslcmm9g8469.jpg "/>
#service httpd Reload
To this bugzilla installation is complete
Migration of Bugzilla
After the installation completes Bugzilla, enter the database execution
mysql> drop database bugs;
Mysql> CREATE DATABASE bugs;
Then back up the bugs data on the original server
#mysqldump-uname-p Password bugs > Bugsdata.sql
Perform data recovery on the target server
# MySQL Bugs < Bugsdata.sql
After completion, the Bugzilla directory executes
#perl checksetup.pl reinitialization, the installation completes the original params file copied to data under overwrite complete
This time, you can either log in or verify
This article is from the "Wind Died" blog, please be sure to keep this source http://fengshi.blog.51cto.com/8914310/1615777
Installation and migration of Bugzilla