The new project has just been launched. Although there are only a few people with seven or eight guns, it also needs to be installed as a regular army. Version Control and Bug management must be used. In the past, the project used a domestic open-source Bug tool Bugfree. to replace it with a powerful Bugzilla, first install it on the Ubuntu of the virtual machine, and record the installation process and precautions. The version installed with apt-getinstallbugzilla is bugzilla2.22.1debian. The installation process is simple, but the version is outdated,
The new project has just been launched. Although there are only a few people with seven or eight guns, it also needs to be installed as a regular army. Version Control and Bug management must be used. In the past, the project used a domestic open-source Bug tool Bugfree. to replace it with a powerful Bugzilla, first install it on the Ubuntu of the virtual machine, and record the installation process and precautions.
The version installed with apt-get install bugzilla is bugzilla 2.22.1 debian. The installation process is simple, but the version is outdated and cannot be upgraded to bugzilla 3. I learned from the bugzilla forum that 2.22.1 debian is maintained by ubuntu. It is actually a branch of bugzilla and cannot be upgraded to bugzilla 3. This reminds my friends who use bugzilla In ubuntu that it took me a long time to find out why I was unable to upgrade debian version 2.22 to bugzilla 3.
One important reason why I discard the 2.22.1 debian version is that it does not support sending Smtp authentication emails. I used to use the bugfree function. Through this function, I can use the 163 smtp server to send emails, the team members can learn about bugs through emails in a timely manner. However, the smtp provided by bugzilla does not require authentication. We need to assume that the email server is a bit depressing.
Bugzilla 3.2.2 has provided support for smtp authentication. The installation of 3.2.2 cannot use the apt-get install command. You can refer to Quickstart in the source file package.
The following is my Method
Bash $ cd/var/www
Bash $ wget http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-3.2.2.tar.gz
(Output omitted Output is ignored)
Bash $ tar xzvf bugzilla-3.2.2.tar.gz
Bugzilla-3.2.2/
Bugzilla-3.2.2/. cvsignore
(Output truncated Output truncation)
Bash $ cd/var/www/bugzilla-3.2.2/
Bash $ sudo./checksetup. pl
To check whether the installation meets the requirements, perform the following operations: You can execute this command multiple times. Here, only the required module is installed, this also caused a series of problems when I used Smtp to send emails. You can also choose to install them all, but it seems to be slow and I did not succeed.
The installation prerequisites are met. This allows you to edit the localconfig file in the folder according to Quickstart, mainly involving the file access permission group $ webservergroup and the user name and password for accessing mysql.
Example:
$ Webservergroup = 'www-data ';
# The DNS name of the host that the database server runs on.
$ Db_host = 'localhost ';
# The name of the database
$ Db_name = 'buckets ';
# Who we connect to the database.
# The DNS name of the host that the database server runs on.
$ Db_host = 'localhost ';
# The name of the database
$ Db_name = 'buckets ';
# Who we connect to the database.
$ Db_user = 'buckets ';
$ Db_pass = 'admin ';