ºìÁªLinuxÃÅ»§
Linux°ïÖú
µ±Ç°Î»ÖÃ: ºìÁªLinuxÃÅ»§ > Ubuntu

ubuntuϰ²×°ÅäÖÃbugzilla

·¢²¼Ê±¼ä:2008-03-07 00:50:36À´Ô´:ºìÁª×÷Õß:chaian
ÎÒÃÇÐèÒª½¨Ò»¸ö×Ô¼ºµÄ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°´Å¥½øÈë¾Í¿ÉÒÔÁË¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ