Build bugzilla on Virtual Machine debian

Source: Internet
Author: User
Set up bugzilla on the Virtual Machine debian-Debian information for the Linux release. The following is a detailed description. Before installing bugzilla, make sure that mysql and apache are installed on debian, and set DocumentRoot of apache server to/etc/bugzilla.

1. apt-get install bugzilla

2. install and configure bugzilla in ubuntu:

Sudo apt-get install mysql-server Note: you need to set the password of the root user of mysql. Note that it must be consistent with the administrator password of the bugzilla in the future.
Sudo apt-get install bugzilla enter the Administrator account and password as needed

Ubuntu installs the required apache, sendmail, and perl modules together.

Start configuring bugzilla

Configure apache2
Add vi/etc/apache2/httpd. conf
ServerNmae localhost: 80
Sudo/etc/init. d/apache2 restart

Configure bugzilla
Vi/etc/bugzilla/localconfig

Modify the corresponding Configuration:
$ 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 ";

#
# Shocould 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;

Configure the database:
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 '20140901 ';

Flush privileges;

Quit;

Exit the database;


Regenerate the bugzilla database;

Cd/usr/share/bugzilla/lib/
Sudo perl checksetup. pl

Enter as prompted

Note: The main logon window of bugzilla installed on ubuntu has a bug. You need to go through the login button under the page.

### After the email is set up, you can register it by email if you cannot receive the email after registration. So consider whether you need to install a sendmail:

# Atitude install sendmail

(Apt-get may be associated. I don't know why)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.