在ubuntu server上安装bugzillaubuntu下安装配置bugzilla我们需要建一个自己的bug管理系统,我就自己动手自己安装bugzilla了,在安装之前我在网上google了一下,看了一个网友的安装心得,不过基本上没有在ubuntu/debian上安装的。我就自己试着开始了。不多说了:
开始配置bugzilla
修改相应的配置: $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; 退出数据库; cd /usr/share/bugzilla/lib/ sudo perl checksetup.pl 根据提示输入 注意:在ubuntu上安装的bugzilla的主登录窗口有点bug,需要从页面地下的login按钮进入就可以了 |
|
来自: ala咪s > 《issue_trace》