Installation of Bugzilla-2.4.3
For software process management, install the software that tracks the bug generation and solves the detailed process. Select the open-source bugzilla. The installation process is as follows:
1. Install Perl
Perl-v
Thisis perl, v5.8.8 build forx86_64-linux-thread-multi
At least 5.8.1 or the latest stable version.
Ii. Install Mysql
Mysql-V
Mysql Ver 14.12 Distrib 5.0.95, forredhat-linux-gnu (x86_64) using readline 5.1
At least 5.0.15 or the latest stable version.
Check whether mysqld is started: psaux | grep mysqld
Start myslqd:/etc/rc. d/init. d/mysqldstart (you can write this PATH to PATH)
Set the secret for the root user: mysqladmin-u root password yourpasswd
Log on as the root user: mysql-uroot-p
View the database: mysql> show databases;
+ -------------------- +
| Database |
+ -------------------- +
| Information_schema |
| Mysql |
| Test |
+ -------------------- +
Create a database for bugzilla: mysql> createdatabase bugzilla;
Check the database: mysql> show databases;
+ -------------------- +
| Database |
+ -------------------- +
| Information_schema |
| Bugzilla |
| Mysql |
| Test |
+ -------------------- +
Create a user and authorize grantselect, insert, update, delete, index, alter, create, lock tables, drop, references onbugzilla. * to bugzilla @ localhost identified by 'bugzilla ';
3. Install PostgreSQL (optional)
Psql-V
Psql (PostgreSQL) 8.1.23
At least 8.03.0000 or the latest stable version.
4. Install httpd
Yuminstall httpd. x86_64
Yuminstall httpd-devel.x86_64
Test whether the installation is successful: httpd start/stop/restart
5. Install Web Server
This article selects apche
Required software packages: apr, apr-util, and pcre
./Configure-prefix =/opt/apache/apr-1.4.6
./Configure -- prefix =/opt/apache/apr-util-1.5.1 -- with-apr =/opt/apache/apr-1.4.6/
Yuminstall pcre-devel.x86_64
Yumisntall pcer. x86_64
. /Configure -- prefix =/opt/apache-2.4.3 -- with-apr =/root/mydownloads/firefox-downloads/apr-1.4.6 -- with-apr-util =/root/mydownloads/ firefox-downloads/apr-util-1.5.1 -- with-pcre =/opt/pcre-8.30 -- enable-modules = all
-- Enable-ssl -- with-ssl =/usr/bin/openssl -- enable-mod-shared = all -- enable-so -- enable-mod-shared = most -- with-mpm = worker -- with-include-apr
Note that apr and apr-util must specify the source code package location, while prce must specify the installation directory. Remember !!!
Test whether the installation is successful: Open the web browser and enter http: // local ip address. If the apache test page appears, the installation is successful. 6. bugzilla-2.4.3 installation./checksetup. pl
// View which modules are not installed./install-module.pl-all
// Install all the modules and modify the localconfig file: Set the database, user name, and password the same as that set during data creation, and change $ index_html = 0 to $ index_html = 1; 7. Modify the apache configuration file vim/opt/apache-2.4.3/conf/httpd. modify the following items in conf: ServerAdmin root @ localhostServerName 192.168.168.254: 8011 ServerRoot "/opt/apache-2.4.3" opt/apache your apache installation directory Listen 8011 DocumentRoot "/var/www/bugzilla-4.2.4"
<Directory "/var/www/bugzilla-4.2.4"> AllowOverride all
Order allow, deny
Allow from all
Satisfy all Require all granted
</Directory> <Directory "/opt/apache-2.4.3/cgi-bin">
/// Opt/apache: Your apache installation directory. Now, bugzilla has been installed. you can log on to your server ip to use bugzilla!