最近在做Bugzilla一些增强应用,Bugzilla是perl语言编写的,就想着先装一套Bugzilla的运行环境起来,这个安装起来还真费工夫,特别是里面的perl module的一些依赖关系,让人挺崩溃的,于是记录整个过程如下:
Overview:
1. Install Perl (5.8.1 or above)
2. Install a Database Engine
3. Install a Webserver
4. Install Bugzilla
5. Install Perl modules
6. Install a Mail Transfer Agent (Sendmail
8.7 or above, or an MTA that is Sendmail-compatible with at least this version)
7. Configure all of the above.
8. Create localconfig file using
checksetup.pl
9. Modify the localconfig file.
10. Database Server (Oracle)
11. Bugzilla using Apache
12. Login Bugzilla
13. Create a new bugzilla project
14. Upgrading to New Release using tarball
15. Issues and Troubleshooting
[@more@]
Steps:
[Section 1~4]
1.
Perl
[root@centos ~]# uname -a
Linux centos 2.6.9-78.EL #1 Thu Jul 24
23:46:01 EDT 2008 i686 i686 i386 GNU/Linux
[root@centos ~]# perl -v
This is perl, v5.8.5 built for
i386-linux-thread-multi
Most Linux distributions comes with perl,If
you don’t have it and your OS doesn’t provide official packages,
visit http://www.perl.com.
2.
Database Engine
Bugzilla supports MySQL, PostgreSQL and
Oracle as database servers.
I choose Oracle database Release
10.2.0.1.0.
And you can refer to Oracle installation on
http://www.oracle.com
3.
Web Server
If you already have apache installed, make
sure you are able to access it by using http://{your-ip-address}.
OR
[root@centos ~]# apachectl -v
Server version: Apache/2.0.52
Server built: Jul 25 2008 03:17:15
If you don’t have Apache and your OS
doesn’t provide official packages, visit http://httpd.apache.org/.
4.
Install Bugzilla
Download the release from
http://bugzilla.org/download,or you can from ftp site:
http://ftp.mozilla.org/pub/mozilla.org/webtools/
# cd /var/www/html
# ls
bugzilla-3.2.5.tar.gz
# tar xvfz bugzilla-3.2.5.tar.gz
Once all the files are in a web accessible
directory, make that directory writable by your web server’s user.
This is a temporary step until you run the
checksetup.pl script, which locks down your installation.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/12472709/viewspace-1036193/ ,如需转载,请注明出处,否则将追究法律责任。