Bugzilla:Win32Install: Difference between revisions

no edit summary
No edit summary
 
No edit summary
Line 43: Line 43:


<pre>
<pre>
C:\&gt;<span class="in">set CVSROOT=:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot</span>
C:\&gt;<b>set CVSROOT=:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot</b>


C:\&gt;<span class="in">cvs login</span>
C:\&gt;<b>cvs login</b>


Logging in to :pserver:anonymous@cvs-mirror.mozilla.org:2401:/cvsroot
Logging in to :pserver:anonymous@cvs-mirror.mozilla.org:2401:/cvsroot
CVS password: <span class="in">anonymous</span>
CVS password: <b>anonymous</b>


C:\&gt;<span class="in">cvs checkout -d Bugzilla -rBUGZILLA-2_20-STABLE Bugzilla</span>
C:\&gt;<b>cvs checkout -d Bugzilla -rBUGZILLA-2_20-STABLE Bugzilla</b>
cvs checkout: cwd=C:\ ,current=C:\
cvs checkout: cwd=C:\ ,current=C:\
cvs checkout: Updating Bugzilla
cvs checkout: Updating Bugzilla
Line 78: Line 78:


<pre>
<pre>
C:\Bugzilla&gt;<span class="in">cvs update -R -d -rBUGZILLA-2_20-STABLE</span>
C:\Bugzilla&gt;<b>cvs update -R -d -rBUGZILLA-2_20-STABLE</b>
cvs update: Updating .
cvs update: Updating .
P editusers.cgi
P editusers.cgi
Line 161: Line 161:


<pre>
<pre>
C:\mysql\bin&gt;<span class="in">mysql --user=root -p mysql</span>
C:\mysql\bin&gt;<b>mysql --user=root -p mysql</b>


Enter password: <span class="in">********</span>
Enter password: <b>********</b>
Welcome to the MySQL monitor.  Commands end with ; or \g.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 15 to server version: 4.0.20a-debug
Your MySQL connection id is 15 to server version: 4.0.20a-debug
Line 169: Line 169:
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.


mysql&gt; <span class="in">create database bugs;</span>
mysql&gt; <b>create database bugs;</b>


Query OK, 1 row affected (0.11 sec)
Query OK, 1 row affected (0.11 sec)


mysql&gt; <span class="in">grant all privileges on bugs.* to 'bugs'@'localhost' identified by 'sockmonkey';</span>
mysql&gt; <b>grant all privileges on bugs.* to 'bugs'@'localhost' identified by 'sockmonkey';</b>
Query OK, 0 rows affected (0.03 sec)
Query OK, 0 rows affected (0.03 sec)


mysql&gt; <span class="in">flush privileges;</span>
mysql&gt; <b>flush privileges;</b>
Query OK, 0 rows affected (0.00 sec)
Query OK, 0 rows affected (0.00 sec)


mysql&gt; <span class="in">quit</span>
mysql&gt; <b>quit</b>


Bye
Bye
Line 194: Line 194:


<pre>
<pre>
C:\mysql\bin&gt;<span class="in">mysql --user=root -p mysql</span>
C:\mysql\bin&gt;<b>mysql --user=root -p mysql</b>
Enter password: <span class="in">********</span>
Enter password: <b>********</b>


Welcome to the MySQL monitor.  Commands end with ; or \g.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Line 202: Line 202:
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.


mysql&gt; <span class="in">set password for 'bugs'@'localhost' = OLD_PASSWORD('sockmonkey');</span>
mysql&gt; <b>set password for 'bugs'@'localhost' = OLD_PASSWORD('sockmonkey');</b>
Query OK, 0 rows affected (0.00 sec)
Query OK, 0 rows affected (0.00 sec)


mysql&gt; <span class="in">quit</span>
mysql&gt; <b>quit</b>


Bye
Bye
Line 297: Line 297:


<pre>
<pre>
C:\&gt;<span class="in">ppm</span>
C:\&gt;<b>ppm</b>


PPM - Programmer's Package Manager version 3.1.
PPM - Programmer's Package Manager version 3.1.
Line 307: Line 307:
Type 'help' to get started.
Type 'help' to get started.


ppm&gt; <span class="in">rep add Bugzilla http://landfill.bugzilla.org/ppm</span>
ppm&gt; <b>rep add Bugzilla http://landfill.bugzilla.org/ppm</b>


Repositories:
Repositories:
Line 313: Line 313:
[2] ActiveState Package Repository
[2] ActiveState Package Repository
[3] Bugzilla
[3] Bugzilla
ppm&gt; <span class="in">install AppConfig</span>
ppm&gt; <b>install AppConfig</b>
====================
====================
Install 'AppConfig' version 1.52 in ActivePerl 5.8.7.813.
Install 'AppConfig' version 1.52 in ActivePerl 5.8.7.813.
Line 320: Line 320:
...
...
Successfully installed AppConfig version 1.52 in ActivePerl 5.8.7.813.
Successfully installed AppConfig version 1.52 in ActivePerl 5.8.7.813.
ppm&gt; <span class="in">install TimeDate</span>
ppm&gt; <b>install TimeDate</b>
====================
====================
Install 'TimeDate' version 1.16 in ActivePerl 5.8.7.813.
Install 'TimeDate' version 1.16 in ActivePerl 5.8.7.813.
Line 327: Line 327:
...
...
Successfully installed TimeDate version 1.16 in ActivePerl 5.8.7.813.
Successfully installed TimeDate version 1.16 in ActivePerl 5.8.7.813.
ppm&gt; <span class="in">install DBI</span>
ppm&gt; <b>install DBI</b>
====================
====================
Install 'DBI' version 1.43 in ActivePerl 5.8.7.813.
Install 'DBI' version 1.43 in ActivePerl 5.8.7.813.
Line 334: Line 334:
...
...
Successfully installed DBI version 1.43 in ActivePerl 5.8.7.813.
Successfully installed DBI version 1.43 in ActivePerl 5.8.7.813.
ppm&gt; <span class="in">install DBD-mysql</span>
ppm&gt; <b>install DBD-mysql</b>


====================
====================
Line 342: Line 342:
...
...
Successfully installed DBD-mysql version 2.9002 in ActivePerl 5.8.7.813.
Successfully installed DBD-mysql version 2.9002 in ActivePerl 5.8.7.813.
ppm&gt; <span class="in">install Template-Toolkit</span>
ppm&gt; <b>install Template-Toolkit</b>
====================
====================
Install 'Template-Toolkit' version 2.13 in ActivePerl 5.8.7.813.
Install 'Template-Toolkit' version 2.13 in ActivePerl 5.8.7.813.
Line 349: Line 349:
...
...
Successfully installed Template-Toolkit version 2.13 in ActivePerl 5.8.7.813.
Successfully installed Template-Toolkit version 2.13 in ActivePerl 5.8.7.813.
ppm&gt; <span class="in">install MailTools</span>
ppm&gt; <b>install MailTools</b>
====================
====================
Install 'MailTools' version 1.67 in ActivePerl 5.8.7.813.
Install 'MailTools' version 1.67 in ActivePerl 5.8.7.813.
Line 356: Line 356:
...
...
Successfully installed MailTools version 1.67 in ActivePerl 5.8.7.813.
Successfully installed MailTools version 1.67 in ActivePerl 5.8.7.813.
ppm&gt; <span class="in">install GD</span>
ppm&gt; <b>install GD</b>
====================
====================
Install 'GD' version 2.07 in ActivePerl 5.8.7.813.
Install 'GD' version 2.07 in ActivePerl 5.8.7.813.
Line 363: Line 363:
...
...
Successfully installed GD version 2.07 in ActivePerl 5.8.7.813.
Successfully installed GD version 2.07 in ActivePerl 5.8.7.813.
ppm&gt; <span class="in">install Chart</span>
ppm&gt; <b>install Chart</b>
====================
====================
Install 'Chart' version 2.3 in ActivePerl 5.8.7.813.
Install 'Chart' version 2.3 in ActivePerl 5.8.7.813.
Line 370: Line 370:
...
...
Successfully installed Chart version 2.3 in ActivePerl 5.8.7.813.
Successfully installed Chart version 2.3 in ActivePerl 5.8.7.813.
ppm&gt; <span class="in">install GDGraph</span>
ppm&gt; <b>install GDGraph</b>


====================
====================
Line 384: Line 384:
...
...
Successfully installed GDGraph version 1.43 in ActivePerl 5.8.7.813.
Successfully installed GDGraph version 1.43 in ActivePerl 5.8.7.813.
ppm&gt; <span class="in">install PatchReader</span>
ppm&gt; <b>install PatchReader</b>


====================
====================
Line 392: Line 392:
...
...
Successfully installed PatchReader version 0.9.4 in ActivePerl 5.8.7.813.
Successfully installed PatchReader version 0.9.4 in ActivePerl 5.8.7.813.
ppm&gt; <span class="in">install Net::LDAP</span>
ppm&gt; <b>install Net::LDAP</b>


====================
====================
Line 423: Line 423:


<pre>
<pre>
ppm&gt; <span class="in">uninstall PatchReader</span>
ppm&gt; <b>uninstall PatchReader</b>
====================
====================
Remove 'PatchReader' version 0.9.2 from ActivePerl 5.8.7.813.
Remove 'PatchReader' version 0.9.2 from ActivePerl 5.8.7.813.
Line 429: Line 429:
...
...
Successfully removed PatchReader version 0.9.2 from ActivePerl 5.8.7.813.
Successfully removed PatchReader version 0.9.2 from ActivePerl 5.8.7.813.
ppm&gt; <span class="in">install http://landfill.bugzilla.org/ppm/PatchReader.ppd</span>
ppm&gt; <b>install http://landfill.bugzilla.org/ppm/PatchReader.ppd</b>


====================
====================
Line 525: Line 525:
#
#
#Listen 12.34.56.78:80
#Listen 12.34.56.78:80
<span class="diff">Listen 80</span>
<i>Listen 80</i>


</pre>
</pre>
Line 541: Line 541:
#
#


<span class="diff">DocumentRoot "C:/Bugzilla"</span>
<i>DocumentRoot "C:/Bugzilla"</i>


#
#
Line 566: Line 566:
# This should be changed to whatever you set DocumentRoot to.
# This should be changed to whatever you set DocumentRoot to.
#
#
<span class="diff">&lt;Directory "C:/Bugzilla"&gt;</span>
<i>&lt;Directory "C:/Bugzilla"&gt;</i>
</pre>
</pre>


Line 585: Line 585:
# (You will also need to add "ExecCGI" to the "Options" directive.)
# (You will also need to add "ExecCGI" to the "Options" directive.)
#
#
<span class="diff">AddHandler cgi-script .cgi</span>
<i>AddHandler cgi-script .cgi</i>
</pre>
</pre>


Line 617: Line 617:
# for more information.
# for more information.
#
#
<span class="diff">    Options Indexes FollowSymLinks ExecCGI</span>
<i>    Options Indexes FollowSymLinks ExecCGI</i>


#
#
Line 624: Line 624:
#  Options FileInfo AuthConfig Limit
#  Options FileInfo AuthConfig Limit
#
#
<span class="diff">    AllowOverride All</span>
<i>    AllowOverride All</i>


#
#
Line 632: Line 632:
     Allow from all
     Allow from all


<span class="diff">#
<i>#
# Tell Apache to use Perl to execute .cgi
# Tell Apache to use Perl to execute .cgi
#
#
     ScriptInterpreterSource Registry-Strict</span>
     ScriptInterpreterSource Registry-Strict</i>


&lt;/Directory&gt;
&lt;/Directory&gt;
Line 655: Line 655:
# same purpose, but it is much slower.
# same purpose, but it is much slower.
#
#
<span class="diff">DirectoryIndex index.html index.html.var index.cgi</span>
<i>DirectoryIndex index.html index.html.var index.cgi</i>
</pre>
</pre>


Line 670: Line 670:


<p>
<p>
<!--
<a href="../img/regedit.png"><img src="../img/t_regedit.png" width="100" height="60" alt="regedit screenshot"></a>
<a href="../img/regedit.png"><img src="../img/t_regedit.png" width="100" height="60" alt="regedit screenshot"></a>
-->
</p>
</p>


Line 689: Line 691:
# logged therein and *not* in this file.
# logged therein and *not* in this file.
#
#
<span class="diff">#CustomLog logs/access.log common</span>
<i>#CustomLog logs/access.log common</i>
</pre>
</pre>


Line 700: Line 702:


<pre>
<pre>
C:\&gt;<span class="in">net stop apache2</span>
C:\&gt;<b>net stop apache2</b>
The Apache2 service is stopping..
The Apache2 service is stopping..
The Apache2 service was stopped successfully.
The Apache2 service was stopped successfully.


C:\&gt;<span class="in">net start apache2</span>
C:\&gt;<b>net start apache2</b>
The Apache2 service is starting.
The Apache2 service is starting.
The Apache2 service was started successfully.
The Apache2 service was started successfully.
Line 719: Line 721:


<p>
<p>
If you require SMTP authentiation (including POP before SMTP), you can use <a href="http://www.glob.com.au/sendmail/">Glob's
If you require SMTP authentiation (including POP before SMTP), you can use [http://www.glob.com.au/sendmail/ Glob's
sendmail wrapper</a>.  Download and install as per the instructions on that site.
sendmail wrapper].  Download and install as per the instructions on that site.
</p>
</p>


Line 736: Line 738:


<pre>
<pre>
C:\&gt;<span class="in">cd bugzilla</span>
C:\&gt;<b>cd bugzilla</b>


C:\bugzilla&gt;<span class="in">perl checksetup.pl</span>
C:\bugzilla&gt;<b>perl checksetup.pl</b>


Checking perl modules ...
Checking perl modules ...
Line 806: Line 808:
# need to escape it by preceding it with a \ character. (\') or (\\)
# need to escape it by preceding it with a \ character. (\') or (\\)
#
#
<span class="diff">$db_pass = 'sockmonkey';</span>
<i>$db_pass = 'sockmonkey';</i>
</pre>
</pre>


Line 908: Line 910:
first time using Bugzilla, or your administrator's privileges might have
first time using Bugzilla, or your administrator's privileges might have
accidently been deleted.
accidently been deleted.
Enter the e-mail address of the administrator: <span class="in">byron@example.com</span>
Enter the e-mail address of the administrator: <b>byron@example.com</b>
You entered 'byron@example.com'.  Is this correct? [Y/n] <span class="in">y</span>
You entered 'byron@example.com'.  Is this correct? [Y/n] <b>y</b>
Enter the real name of the administrator: <span class="in">Byron Jones</span>
Enter the real name of the administrator: <b>Byron Jones</b>


Enter a password for the administrator account: <span class="in">beef</span>
Enter a password for the administrator account: <b>beef</b>


Please retype the password to verify: <span class="in">beef</span>
Please retype the password to verify: <b>beef</b>


'byron@example.com' is now set up as an administrator account.
'byron@example.com' is now set up as an administrator account.
Line 926: Line 928:


You should now be able to log into to Bugzilla using the account <b>checksetup.pl</b> just created.
You should now be able to log into to Bugzilla using the account <b>checksetup.pl</b> just created.
Point your web browser to <a href="http://localhost/">http://localhost/</a>, choose
Point your web browser to >http://localhost/, choose


<b>Log in to an existing account</b>, and login.
<b>Log in to an existing account</b>, and login.
Line 959: Line 961:


<p>
<p>
Download and install WebDot from <a href="http://www.graphviz.org/Download_windows.php">http://www.graphviz.org/Download_windows.php</a>.
Download and install WebDot from http://www.graphviz.org/Download_windows.php.
Put the complete path to dot.exe in <b>webdotbase</b>.
Put the complete path to dot.exe in <b>webdotbase</b>.


Line 1,035: Line 1,037:


<p>
<p>
Schedule the <b>mysqldump</b> utility to create the dump, and add the resulting file to your backup media.  You'll find MySql's <b>mysqldump</b> documentation at <a href="http://dev.mysql.com/doc/mysql/en/mysqldump.html">http://dev.mysql.com/doc/mysql/en/mysqldump.html</a>.
Schedule the <b>mysqldump</b> utility to create the dump, and add the resulting file to your backup media.  You'll find MySql's <b>mysqldump</b> documentation at http://dev.mysql.com/doc/mysql/en/mysqldump.html.
 
 
</p>
</p>


Confirmed users
1,201

edits