[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r20531: {projects} Describe Suexec changes for gitweb. (projects/misc-sysadmin)



Author: mikeperry
Date: 2009-09-11 20:51:37 -0400 (Fri, 11 Sep 2009)
New Revision: 20531

Modified:
   projects/misc-sysadmin/00_CAPTAINS.LOG
Log:

Describe Suexec changes for gitweb.



Modified: projects/misc-sysadmin/00_CAPTAINS.LOG
===================================================================
--- projects/misc-sysadmin/00_CAPTAINS.LOG	2009-09-11 21:30:10 UTC (rev 20530)
+++ projects/misc-sysadmin/00_CAPTAINS.LOG	2009-09-12 00:51:37 UTC (rev 20531)
@@ -8,17 +8,23 @@
    Candidates are CentosPlus, Extras, and EPEL
 
 Common:
+ - Enabled yum-cron package for nightly yum upgrades:
+   yum install yum-cron
+   /sbin/chkconfig --level 3 yum-cron on
  - Installed EPEL repository via:
    http://download.fedora.redhat.com/pub/epel/5Server/x86_64/epel-release-5-3.noarch.rpm
 
-38.229.70.9
+38.229.70.5
+ - Installed httpd
+
+38.229.70.9 (gitweb)
  - Allowed portforwarding in /etc/ssh/sshd_config
  - Installed httpd
  - Installed gitweb
  - Configured httpd
  - Added user gitweb to own repositories and poll
  - Created /srv/gitweb/ as a container for repositories and website
- - Created /srv/gitweb/www as the place where the gitweb script lives
+ - Created /var/www/git/ as the place where the gitweb script lives
  - Created /srv/gitweb/repositories as the place where all repositories go.
    Add your own repository, make it group-readable, and it will show up.
    Make sure you clone it as a bare repository. Also, you can edit the
@@ -27,6 +33,10 @@
  - Creater /srv/gitweb/cronstuff to hold the cronjob and related files to
    periodically poll all repositories
  - Added cronjob for user gitweb
+ - enabled suexec to execute the gitweb.cgi script as user gitweb
+ - Placed gitweb_config.perl in /var/www/git/
+ - Edited /etc/cron.daily/yum.cron to chown gitweb:gitweb /var/www/git
+   This ensures rpm updates happen but the end result has permissions
+   compatible with suexec.
 
-38.229.70.5
- - Installed httpd
+