[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-cvs] administration/docs/hacking_savannah hacking_sa...

From: Sylvain Beucler
Subject: [Savannah-cvs] administration/docs/hacking_savannah hacking_sa...
Date: Mon, 20 Sep 2004 16:35:34 -0400

CVSROOT:        /cvsroot/administration
Module name:    administration
Changes by:     Sylvain Beucler <address@hidden>        04/09/20 20:29:11

Modified files:
        docs/hacking_savannah: hacking_savannah.texi 

Log message:
        Various updates and fixes during my Nth test install (bis)


Index: administration/docs/hacking_savannah/hacking_savannah.texi
diff -u administration/docs/hacking_savannah/hacking_savannah.texi:1.40 
--- administration/docs/hacking_savannah/hacking_savannah.texi:1.40     Mon Sep 
20 16:35:00 2004
+++ administration/docs/hacking_savannah/hacking_savannah.texi  Mon Sep 20 
20:29:11 2004
@@ -1,5 +1,5 @@
 \input texinfo   @c -*-texinfo-*-
address@hidden $Id: hacking_savannah.texi,v 1.40 2004/09/20 16:35:00 Beuc Exp $
address@hidden $Id: hacking_savannah.texi,v 1.41 2004/09/20 20:29:11 Beuc Exp $
 @comment %**start of header
 @include version.texi
@@ -279,6 +279,9 @@
 * Apache::                      
 * MySQL::                       
 * Savane::                      
+* Tuning your local install::   
+* CVS::                         
+* Populating your test install::  
 * Remaining::                   
 @end menu
@@ -379,6 +382,11 @@
 $ mkdir /etc/apache/logs
 @end example
+The magic configure line in @file{httpd.conf} will be:
+SecChrootDir /savannah
address@hidden example
 [TODO: add how to get it from debian testing or unstable
@@ -453,14 +461,8 @@
 the MySQL socket. Document it and determine why it is necessary at unlike in my Debian stable]
-[Another way to create the database is to get the one from Savannah:
-$ mysqldump -C --add-locks -F -l savannah >out.sql
address@hidden example
-But you need to install Savane first, don't you?]
address@hidden Savane, Remaining, MySQL, Savannah configuration
address@hidden Savane, Tuning your local install, MySQL, Savannah configuration
 @section Savane
 Get Savane and install it without configuration:
@@ -567,6 +569,7 @@
 $ chmod 640 savannah.conf.php
 $ chgrp www-data savannah.conf.php
 @end example
+for both gnu-conf and nongnu-conf.
 Also update the skills list:
@@ -578,33 +581,125 @@
 $ cd /savannah
 $ mv /usr/src/savane/frontend .
 $ ln -s frontend/php www
+$ cd /usr/src/savane
+$ ln -s /savannah/frontend
 @end example
 The symbolic links are created this way so as to avoid following
 symlinks outside the WWW root.
-Now, you need to tune the Savannah configuration files to your installation.
-our $sys_default_domain="dott";
-Plus change apache's references to sv.[non]
+Currently, some files from the sysadmins requires a Setuid backport
+from Perl 5.8 to Perl 5.6.
+If you stuck to Debian stable, grab it from @file{/usr/src/Setuid} at Installing is easy and classical:
+$ cd /usr/src/Setuid
+$ make Makefile.PL
+$ make
+$ make install
address@hidden example
+Else, you should be able to simply update your Perl.
address@hidden Tuning your local install, CVS, Savane, Savannah configuration
address@hidden Tuning your local install
+To be able to test both gnu and nongnu, you can either:
address@hidden Buy 2 ethernet cards: 
+just change the IPs in @file{} and
address@hidden in @file{/etc/apache}
address@hidden Configure your local @command{named}:
+for example, I created a localdomain zone in @file{named.conf}:
+zone  "" @{
+       type master;
+       file  "";
+zone  "localdomain" @{
+       type master;
+       file  "";
address@hidden example
+and added a @file{} file:
+dr              IN      A
+savannah.gnu    IN      CNAME   dr
+savannah.nongnu IN      CNAME   dr
+audio-video.gnu IN     CNAME   dr
address@hidden example
+Since giving a lesson on named is not the goal of this document, I
+point you to @xref{named,,, *manpages*}.
+Then replace the IPs in and in
+/etc/apache by the domain name; also update @samp{ServerName}s.
+Also add this to @file{httpd.conf}:
+NameVirtualHost savannah.gnu:80
+NameVirtualHost savannah.gnu:443
address@hidden example
address@hidden itemize
+Now, you need to tune the Savannah configuration files to your
+installation, namely:
+our $sys_default_domain="savannah.gnu";
+our $sys_brother_domain="savannah.nongnu";
+our $sys_mail_domain="localhost";
address@hidden example
+Don't forget to replicate this to the .php configuration file, and
+apply similar changes in the nongnu configuration files.
 At this point, you should be able to see Savane's default homepage
 when pointing your browser at your test machine.
+[TODO: make that more explicit, and detail the conf for and, among others]
-Plus install the backport of Setuid fron Perl 5.8 to Perl 5.6 that
-sysadmins apparently used (/usr/src/Setuid), or update your Perl (I
address@hidden CVS, Populating your test install, Tuning your local install, 
Savannah configuration
address@hidden CVS
 Plus create /savannah/cvsroot.
+$ mkdir -m 755 /savannah/cvsroot
address@hidden example
 Plus copy /savannah/cvs-seed to your install.
address@hidden Populating your test install, Remaining, CVS, Savannah 
address@hidden Populating your test install
 Plus modify the source (/php/include/account.php) to permit group
-'www' creation, and create that group.
+'www' creation, and create that group. Or import the DB from a SQL dump.
+$ mysqldump -C --add-locks -F -l savannah > dump.sql
address@hidden example
+and then at your test install:
+# First empty the current database
+$ mysql -p savannah
+mysql> drop database savannah
+mysql> create database savannah
+# Then fill it again
+$ mysql -p savannah < dump.sql
address@hidden example
+Just be patient, the dump weighs as of 2004-09 some 155MB.
address@hidden Remaining,  , Savane, Savannah configuration
address@hidden Remaining,  , Populating your test install, Savannah 
 @section Remaining

reply via email to

[Prev in Thread] Current Thread [Next in Thread]