Sysadmin papilusion bugzilla 17 01 2012 - Seizam/seizamcore GitHub Wiki

Session

  • user : root
  • host : papilusion.reverse.seizam.com
  • date : 17/01/12 11:33
  • curpath : /root

Commands

Files

[1]\* Edit /var/bugzilla/localconfig

--- old	2012-01-17 11:59:38.000000000 +0100
+++ new	2012-01-17 12:00:31.000000000 +0100
@@ -26,3 +26,3 @@
 # asroot, or as a user who is a member of the specified group.
-$webservergroup = 'apache';
+$webservergroup = 'www-data';
 
@@ -48,6 +48,6 @@
 # The name of the database
-$db_name = 'bugs';
+$db_name = 'bugzilladb';
 
 # Who we connect to the database as.
-$db_user = 'bugs';
+$db_user = 'bugzillauser';
 
@@ -58,3 +58,3 @@
 # (Far simpler just not to use those characters.)
-$db_pass = '';
+$db_pass = '????????????';
 

[2]\* Edit /etc/apache2/sites-available/localhost-admin-tools

--- old	2012-01-17 12:04:22.000000000 +0100
+++ new	2012-01-17 12:08:32.000000000 +0100
@@ -104,2 +104,20 @@
 
+	# BUGZILLA
+	# --------
+
+	Alias /bugzilla /var/bugzilla
+
+        <Directory /var/bugzilla>
+		Options +ExecCGI
+		AllowOverride Limit
+		DirectoryIndex index.cgi
+		AddHandler cgi-script .cgi
+
+                Order deny,allow
+                Deny from all
+                Allow from 127.0.0.1
+        </directory>
+
+
+
 </virtualhost>

[3]\* Edit /var/bugzilla/Bugzilla/Mailer.pm

--- old	2012-01-17 12:57:37.000000000 +0100
+++ new	2012-01-17 13:11:19.000000000 +0100
@@ -52,2 +52,5 @@
 
+use Email::Send::Gmail;  
+use Email::Simple::Creator;
+
 sub MessageToMTA {
@@ -161,3 +164,3 @@
 
-    if ($method eq "SMTP") {
+    if ($method eq "SMTP" || $method eq "Gmail") {
         push @args, Host  => Bugzilla->params->{"smtpserver"},
⚠️ **GitHub.com Fallback** ⚠️