Ubuntu Build Bugzilla:
Apt-get Install apache2apt-get install libapache2-mod-perl2a2enmod cgiapt-get install Gccapt-get install Mysql-server ( Middle will let set MySQL root password) mysql-u root-p ' xxxxx '
Create DATABASE bugzilla default character set UTF8;
Grant all on bugzilla.* to [email protected] ' localhost ' identified by ' xxxxxx ';
Flush privileges;
Exit
wget HTTP://FTP.MOZILLA.ORG/PUB/MOZILLA.ORG/WEBTOOLS/BUGZILLA-4.5.6.TAR.GZMV bugzilla-5.1.2.tar.gz/var/www/html/ Cd/var/www/htmltar ZXFV bugzilla-5.1.2.tar.gzmv bugzilla-5.1.2 BUGZILLACD bugzilla./checksetup.pl (there will be missing Perl module error) CPAN Dbicpan datetimecpan email::mimecpan email::sendercpan json::xscpan math::random::isaaccpan Templatecpan Test:: Taintcpan Dbd::sqlitevi./localconfig
$db _host = ' localhost ';
$db _name = ' bugzilla ';
$db _user = ' bugzilla ';
$db _pass = ' xxxxx ';
: Wq
./checksetup.pl
Enter the admin mailbox
Enter the Administrator account login name
Enter the real name of the Administrator account
Enter password
Enter your password again
CD/ETC/APACHE2/SITES-AVAIABLECP-RV 000-default.conf Bugzilla.confvi bugzilla.conf (added after DocumentRoot)
<Directory /var/www/html/bugzilla> AddHandler cgi-script .cgi Options +Indexes +ExecCGI DirectoryIndex index.cgi index.html AllowOverride All Order allow,deny Allow from all </Directory>
: Wq
Cd.. /sites-enabled/ln-s. /sites-available/bugzilla.conf. Service Apache2 restart/var/www/html/bugzilla/testserver.pl Http://localhost/bugzilla
Visit Http://ip/bugzilla
Ubuntu Build Bugzilla