Bugzilla-2.4.3安装
软件过程管理需要安装追踪bug产生和解决详细过程的的软件,选取开源的bugzilla,安装过程如下:
一、安装Perl
perl-v
Thisis perl, v5.8.8 built forx86_64-linux-thread-multi
至少5.8.1版本,或者最新的稳定版。
二、安装Mysql
mysql-V
mysql Ver 14.12 Distrib 5.0.95, forredhat-linux-gnu (x86_64) using readline 5.1
至少5.0.15版本,或者最新的稳定版。
查看mysqld是否启动:psaux|grep mysqld
启动myslqd:/etc/rc.d/init.d/mysqldstart(可以把这个路径写到PATH里面)
为root用户设置秘密:mysqladmin-u root password yourpasswd
用root用户登录:mysql -uroot -p
查看数据库:mysql> show databases;
+--------------------+
|Database |
+--------------------+
|information_schema |
|mysql |
|test |
+--------------------+
为bugzilla创建数据库:mysql>createdatabase bugzilla;
再查看数据库:mysql> show databases;
+--------------------+
|Database |
+--------------------+
|information_schema |
|bugzilla |
|mysql |
|test |
+--------------------+
创建用户并授权grantselect,insert,update,delete,index,alter,create,lock tables,drop,references onbugzilla.* to bugzilla@localhost identified by 'bugzilla';
三、安装PostgreSQL (可选)
psql-V
psql(PostgreSQL) 8.1.23
至少8.03.0000版本,或者最新的稳定版。
四、安装httpd
yuminstall httpd.x86_64
yuminstall httpd-devel.x86_64
测试是否安装成功: httpd start/stop/restart
五、安装Web Server
本文选择apche
需要软件包:apr、apr-util、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/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-mods-shared=all --enable-so --enable-mods-shared=most--with-mpm=worker --with-include-apr
需要注意的是:apr和apr-util需要指定的是源码包位置,而prce需要制定的是安装目录,切记!!!
测试是否安装成功:打开浏览器输入网址:http://本机ip, 如果出现apache的测试页,则说明已经安装成功。<Directory "/var/www/bugzilla-4.2.4">
Order allow,deny
Allow from all
satisfy all
</Directory>