Ubuntu搭建bugzilla

前端之家收集整理的这篇文章主要介绍了Ubuntu搭建bugzilla前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Ubuntu搭建bugzilla:

@H_301_2@apt-get install apache2 @H_301_2@apt-get install libapache2-mod-perl2 @H_301_2@a2enmod cgi @H_301_2@apt-get install gcc @H_301_2@apt-get install MysqL-server (中间会让设置MysqL的root密码) @H_301_2@MysqL -u root -p'xxxxx'

create database bugzilla default character set utf8;

grant all on bugzilla.* to bugzilla@'localhost' identified by 'xxxxxx';

flush privileges;

exit

@H_301_2@wget http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-4.5.6.tar.gz @H_301_2@mv bugzilla-5.1.2.tar.gz /var/www/html/ @H_301_2@cd /var/www/html @H_301_2@tar zxfv bugzilla-5.1.2.tar.gz @H_301_2@mv bugzilla-5.1.2 bugzilla @H_301_2@cd bugzilla @H_301_2@./checksetup.pl (会有缺perl模块报错) @H_301_2@cpan DBI @H_301_2@cpan DateTime @H_301_2@cpan Email::MIME @H_301_2@cpan Email::Sender @H_301_2@cpan JSON::XS @H_301_2@cpan Math::Random::ISAAC @H_301_2@cpan Template @H_301_2@cpan Test::Taint @H_301_2@cpan DBD::sqlite @H_301_2@vi ./localconfig

$db_host = 'localhost';

$db_name = 'bugzilla';

$db_user = 'bugzilla';

$db_pass = 'xxxxx';

:wq

@H_301_2@./checksetup.pl

输入管理员邮箱
输入管理员账号登录
输入管理员账号真实名
输入密码
再次输入密码

@H_301_2@cd /etc/apache2/sites-avaiable @H_301_2@cp -rv 000-default.conf bugzilla.conf @H_301_2@vi bugzilla.conf (在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

@H_301_2@cd ../sites-enabled/ @H_301_2@ln -s ../sites-available/bugzilla.conf . @H_301_2@service apache2 restart @H_301_2@/var/www/html/bugzilla/testserver.pl http://localhost/bugzilla

访问http://ip/bugzilla

猜你在找的Ubuntu相关文章