免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1688 | 回复: 1
打印 上一主题 下一主题

ubuntu下安装和配置bugzilla [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-12-05 01:08 |只看该作者 |倒序浏览
    我们需要建一个自己的bug管理系统,我就自己动手自己安装bugzilla了,在安装之前我在网上google了一下,看了一个网友的安装心得,不过基本上没有在ubuntu/debian上安装的。我就自己试着开始了。
不多说了:
sudo apt-get install mysql-server注意:需要设置mysql的root 用户的密码,注意要和以后的bugzilla的管理员密码一致
sudo apt-get install bugzilla按照需要输入管理员帐号,密码
ubuntu把需要的apache,sendmail,还有那些依赖的perl模块都一起安装了.
开始配置bugzilla
配置apache2
vi /etc/apache2/httpd.conf 添加
ServerNmae localhost:80
sudo /etc/init.d/apache2 restart
配置bugzilla
vi /etc/bugzilla/localconfig
修改相应的配置:
$webservergroup = "www-data";
#
# How to access the SQL database:
#
$db_host = "localhost"; # where is the database?
$db_port = 3306; # which port to use
$db_name = "bugs"; # name of the MySQL database
$db_user = "bugs"; # user to attach to the MySQL database
#
# Some people actually use passwords with their MySQL database ...
#
$db_pass = "1234";
#
# Should checksetup.pl try to check if your MySQL setup is correct?
# (with some combinations of MySQL/Msql-mysql/Perl/moonphase this doesn't work)
#
$db_check = 1;
$index_html = 1;
配置数据库:
mysql -u root -p1234
Create database bugs;
GRANT
SELECT, INSERT, UPDATE, DELETE, INDEX, ALTER, CREATE, LOCK
TABLES,CREATE TEMPORARY TABLES, DROP, REFERENCES ON bugs.* TO
bugs@localhost IDENTIFIED BY '1234';
Flush privileges;
quit;
退出数据库;
重新生成bugzilla数据库;
cd /usr/share/bugzilla/lib/
sudo perl checksetup.pl
根据提示输入
注意:在ubuntu上安装的bugzilla的主登录窗口有点bug,需要从页面地下的login按钮进入就可以了。

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/104357/showart_2111626.html

论坛徽章:
0
2 [报告]
发表于 2013-01-16 11:59 |只看该作者
学习啦  多谢楼主分享
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP