[or-cvs] r20549: {projects} Update gitweb stuff to mention new layout. (projects/misc-sysadmin)
mikeperry at seul.org
mikeperry at seul.org
Sun Sep 13 20:46:02 UTC 2009
Author: mikeperry
Date: 2009-09-13 16:46:02 -0400 (Sun, 13 Sep 2009)
New Revision: 20549
Modified:
projects/misc-sysadmin/00_CAPTAINS.LOG
Log:
Update gitweb stuff to mention new layout.
Modified: projects/misc-sysadmin/00_CAPTAINS.LOG
===================================================================
--- projects/misc-sysadmin/00_CAPTAINS.LOG 2009-09-13 19:53:55 UTC (rev 20548)
+++ projects/misc-sysadmin/00_CAPTAINS.LOG 2009-09-13 20:46:02 UTC (rev 20549)
@@ -52,8 +52,9 @@
- Installed gitweb
- Configured httpd
- Added user gitweb to own repositories and poll
- - Created /srv/gitweb/ as a container for repositories and website
- - Created /var/www/git/ as the place where the gitweb script lives
+ - Added user gitperl to run gitweb.cgi via suexec
+ - Created /srv/gitweb/ as a container for repositories
+ - chown -R gitperl:gitperl /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
@@ -62,11 +63,12 @@
- 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
+ - Enabled suexec to execute the gitweb.cgi script as user gitperl
- Placed gitweb_config.perl in /var/www/git/
- - Edited /etc/cron.daily/yum.cron to chown gitweb:gitweb /var/www/git
+ - Edited /etc/cron.daily/yum.cron to chown gitperl:gitperl /var/www/git
This ensures rpm updates happen but the end result has permissions
compatible with suexec.
+ - Made shell of both gitweb and gitperl /sbin/nologin and disabled passwords
38.229.70.15
- Installed Grsec+SELinux Kernel as per above sections
More information about the tor-commits
mailing list