Bugzilla

From wikinotes
Revision as of 20:02, 19 September 2021 by Will (talk | contribs) (→‎Install)

Notes

bugzilla install
bugzilla configuration

postfix

http://bugzilla.readthedocs.io/en/latest/installing/essential-post-install-config.html

We don't need a full postfix install, we only need the sendmail (SMTP) portion of it. For the most part, the default config just works:

See postfix.

#### /usr/local/etc/postfix/main.cf
recipient_delimiter = +;

####
service postfix start
echo "Email Body" | mail -s "Test Subject" willjpittman@gmail.com		## check in spam

Bugzilla


## Bugzilla needs an assortment of PERL modules in order
## to start.

sudo -i
cd /usr/local/www/bugzilla

perl   installmodule.pl   MIME::Parser
perl   installmodule.pl   LWP::UserAgent
perl   installmodule.pl   XML::Twig
perl   installmodule.pl   Net::LDAP                                                                                                                                                                                                 |  3 #!TODO: kind of a major oversight. Currently the way tha this is working
perl   installmodule.pl   Authen::Radius                                                                                                                                                                                            |  2 #!      it is going to strip all comments from the output file. This should
perl   installmodule.pl   SOAP::Lite                                                                                                                                                                                                |  1 #!      be fixed...
perl   installmodule.pl   XMLRPC::Lite                                                                                                                                                                                              |30
perl   installmodule.pl   JSON::RPC                                                                                                                                                                                                 |  1
perl   installmodule.pl   Test::Taint                                                                                                                                                                                               |  2 class ModifyKeyVals( object ):
perl   installmodule.pl   Email::Reply                                                                                                                                                                                              |  3 +-- 87 lines: #@ __init__                                                                            --------------------------------------------------------------------------------------------------------------------
perl   installmodule.pl   HTML::FormatText::WithLinks                                                                                                                                                                               |  4 +-- 10 lines: #@ main                                                                                --------------------------------------------------------------------------------------------------------------------
perl   installmodule.pl   TheSchwartz                                                                                                                                                                                               |  5 +-- 13 lines: #@ _validate_args                                                                      --------------------------------------------------------------------------------------------------------------------
perl   installmodule.pl   Daemon::Generic                                                                                                                                                                                           |  6
perl   installmodule.pl   Apache2::SizeLimit                                                                                                                                                                                        |  7 +-- 17 lines: #@ strip_comments                                                                      --------------------------------------------------------------------------------------------------------------------
perl   installmodule.pl   File::MimeInfo::Magic                                                                                                                                                                                     |  8 +--109 lines: #@ _strip_multiline_comments                                                           --------------------------------------------------------------------------------------------------------------------
perl   installmodule.pl   IO::Scalar                                                                                                                                                                                                |  9 +-- 21 lines: #@ _strip_line_comments                                                                --------------------------------------------------------------------------------------------------------------------
perl   installmodule.pl   Cache::Memcached                                                                                                                                                                                          | 10
perl   installmodule.pl   File::Copy::Recursive                                                                                                                                                                                     | 11 +-- 32 lines: #@ write_tempfile                                                                      --------------------------------------------------------------------------------------------------------------------
perl   installmodule.pl   File::Which                                                                                                                                                                                               | 12 +-- 39 lines: #@ replace_keyvals                                                                     --------------------------------------------------------------------------------------------------------------------
perl   installmodule.pl   DBD::mysql                                                                                                                                                                                                | 13 +-- 17 lines: #@ write_to_config                                                                     --------------------------------------------------------------------------------------------------------------------
## Run Bugzilla Installer
sudo -i
cd    /usr/local/www/bugzilla
perl  checksetup.pl


Usage

Configuration

Administration > Bugzilla

	Required Settings:
		- urlbase

	Maintainer:
		- user@domain.com

	User Authentication:
		- remember login: yes

	Bug Fields:
		- Default Priority: normal
		- Default Severity: normal

	Email:
		- mail_delivery_method: sendmail
		- mailfrom:             bugzilla@domain.com		## domain doesn't exist
																		#  that is alright. must match hostname's fake domain.