1. Install Perl (5.8.0 or above)
Perl-V check whether installation is successful
2. Install MySQL
Mysql-V
3. install Apache
4. Download the bugzilla http://www.bugzilla.org/download/
Put it in the web server directory so that Web Server users can have write permissions
5. Install Perl modules
Su Root
Go to the bugzilla directory./checksetup. pl -- check-modules to check the installation of the Perl module.
If some modules are not installed, install: Perl-mcpan-e 'Install <module-Name>'
6. install an MTA (sendmail8.7 or later or compatible MTA)
7. Create a database user
Grant all privileges on bugs. * To 'buckets' @ '% 'identified by 'Password ';
8. Generate the bugzilla parameter file localconfig
Run./checksetup. pl again
Modify the database configuration information in the file, Apache users and groups, etc.
9. Generate database tables
Run./checksetup. pl again to generate the database. After the database is generated, a prompt will be prompted to enter the Administrator email address, real user name, and password.
10. Modify the Apache configuration and the httpd. conf file.
Install in/usr/local/apache2/htdocs/Bugzilla) and add:
<Directory/usr/local/apache2/htdocs/Bugzilla>
Addhandler CGI-script. cgi
Options + indexes + execcgi
Directoryindex index. cgi
AllowOverride limit
</Directory>
If the directory is just a symbolic link, you must add + followsymlinks and run./checksetup. pl again. You can set the minimal permission on the bugzilla file and directory.
11. Check http: // localhost/Bugzilla in the browser