Difference between revisions of "DeveloperWiki:Gudrun (web)"

From ArchWiki
Jump to: navigation, search
(andrea was going to do planet....stupid me, set myself as maintainer of projects and repos instead)
(Services)
(14 intermediate revisions by 4 users not shown)
Line 6: Line 6:
 
**/etc/php
 
**/etc/php
 
* Don't forget to commit your changes ;-)
 
* Don't forget to commit your changes ;-)
 +
 +
==Users==
 +
{| class="wikitable" border="1"
 +
|-
 +
! UID
 +
! User
 +
! Primary Purpose
 +
! Cronjobs
 +
! Owned/Primary Directories
 +
|-
 +
| 33
 +
| http
 +
| Apache process owner
 +
| no
 +
| /srv/http
 +
|-
 +
| 130
 +
| svnserve
 +
| process owner for svnserve, spawned by xinetd
 +
| no
 +
|
 +
|-
 +
| 131
 +
| git-daemon
 +
| process owner for git-daemon, spawned by xinetd
 +
| no
 +
|
 +
|-
 +
| 5000
 +
| bbs
 +
| PHP/FastCGI process owner for the BBS
 +
| no
 +
| /srv/http/bbs
 +
|-
 +
| 5001
 +
| wiki
 +
| PHP/FastCGI process owner for the Wiki
 +
| no
 +
| /srv/http/wiki
 +
|-
 +
| 5002
 +
| archweb
 +
| Python/FastCGI process owner for the main site
 +
| no
 +
| /srv/http/archweb_pub
 +
|-
 +
| 5003
 +
| archwebdev
 +
| Python/FastCGI process owner for the dev site
 +
| no
 +
| /srv/http/archweb_dev
 +
|-
 +
| 5004
 +
| viewvc
 +
| CGI user for ViewVC (repos.archlinux.org)
 +
| no
 +
| /srv/http/viewvc
 +
|-
 +
| 5005
 +
| projects
 +
| CGI user for gitweb
 +
| no
 +
| /srv/http/projects
 +
|-
 +
| 5006
 +
| planet
 +
| endpoint user for rsyncing planet contents from gerolde
 +
| no
 +
| /home/planet, /srv/http/planet
 +
|-
 +
| 5007
 +
| bugs
 +
| PHP/FastCGI process owner for Flyspray
 +
| no
 +
| /srv/http/flyspray
 +
|}
 +
 +
==Services==
 +
* Apache
 +
* MySQL
 +
* memcached
 +
* mailman
 +
* svnserve
 +
* git-daemon
 +
* (please add more)
  
 
==Vhost setup==
 
==Vhost setup==
* For each vhost the DocumentRoot points to /srv/http/vhosts/<vhost.archlinux.org>/htdocs
+
* For each vhost the DocumentRoot points to /srv/http/vhosts/<vhost.archlinux.org>/
* Keep those files which should not delivered to the user above the htdocs dir (e.g. caches, htpasswd files etc.)
+
* Every vhost dir should be tracked by a git repo
* Every vhost/htdocs dir should be tracked by a git repo
+
 
* If this is a public repo (prefered) make sure there are no config files with passwords; use .gitignore)
 
* If this is a public repo (prefered) make sure there are no config files with passwords; use .gitignore)
 
* Put the public git repo on [[DeveloperWiki:Gerolde (dev)|Gerolde]] under /srv/projects/git/<vhost.archlinux.org>.git
 
* Put the public git repo on [[DeveloperWiki:Gerolde (dev)|Gerolde]] under /srv/projects/git/<vhost.archlinux.org>.git
Line 18: Line 102:
 
==Maintainer==
 
==Maintainer==
 
* System (sudo): Aaron, Jan, Dan, Pierre, Thomas
 
* System (sudo): Aaron, Jan, Dan, Pierre, Thomas
 +
 
===www.archlinux.org===
 
===www.archlinux.org===
* Maintainer: Dusty
+
* Maintainer: Dan
 +
 
 
===mailman.archlinux.org===
 
===mailman.archlinux.org===
===dev.archlinux.org===
+
* Maintainer: ?
* Maintainer: Dusty
+
 
===bbs.archlinux.org===
+
===bugs.archlinux.org===
===wiki.archlinux.org===
+
* Maintainer: Roman
* Maintainer: Pierre
+
* Upstream: http://flyspray.org/
* Upstream: http://www.mediawiki.org/wiki/MediaWiki
+
 
* Dependencies: php, mysql
 
* Dependencies: php, mysql
* Public git repo: http://projects.archlinux.org/?p=wiki.archlinux.org.git;a=summary
+
* Public git repo: http://projects.archlinux.org/vhosts/bugs.archlinux.org.git/
 +
 
 
===projects.archlinux.org===
 
===projects.archlinux.org===
 
* Maintainer: Ronald
 
* Maintainer: Ronald
 +
 
===planet.archlinux.org===
 
===planet.archlinux.org===
 +
* Maintainer: Andrea
 +
 
===repos.archlinux.org===
 
===repos.archlinux.org===
* Maintainer: Ronald
+
* Maintainer: Ronald ?
 +
* Public git repo: http://projects.archlinux.org/vhosts/repos.archlinux.org.git/
  
 
==Emergency evacuation plan==
 
==Emergency evacuation plan==

Revision as of 16:17, 27 November 2011

General configuration guideline

  • Document non-trivial changes within the config files
  • Keep the others informed about changes you made (e.g. send a summary to arch-dev, prefix with [gudrun])
  • Use a local git repo for complex configuration files. The following are currently being tracked in git:
    • /etc/httpd/conf
    • /etc/php
  • Don't forget to commit your changes ;-)

Users

UID User Primary Purpose Cronjobs Owned/Primary Directories
33 http Apache process owner no /srv/http
130 svnserve process owner for svnserve, spawned by xinetd no
131 git-daemon process owner for git-daemon, spawned by xinetd no
5000 bbs PHP/FastCGI process owner for the BBS no /srv/http/bbs
5001 wiki PHP/FastCGI process owner for the Wiki no /srv/http/wiki
5002 archweb Python/FastCGI process owner for the main site no /srv/http/archweb_pub
5003 archwebdev Python/FastCGI process owner for the dev site no /srv/http/archweb_dev
5004 viewvc CGI user for ViewVC (repos.archlinux.org) no /srv/http/viewvc
5005 projects CGI user for gitweb no /srv/http/projects
5006 planet endpoint user for rsyncing planet contents from gerolde no /home/planet, /srv/http/planet
5007 bugs PHP/FastCGI process owner for Flyspray no /srv/http/flyspray

Services

  • Apache
  • MySQL
  • memcached
  • mailman
  • svnserve
  • git-daemon
  • (please add more)

Vhost setup

  • For each vhost the DocumentRoot points to /srv/http/vhosts/<vhost.archlinux.org>/
  • Every vhost dir should be tracked by a git repo
  • If this is a public repo (prefered) make sure there are no config files with passwords; use .gitignore)
  • Put the public git repo on Gerolde under /srv/projects/git/<vhost.archlinux.org>.git
  • You'll push to and pull from that bare repo
  • The repo can be accessed via /srv/git/<vhost.archlinux.org>.git from gudrun

Maintainer

  • System (sudo): Aaron, Jan, Dan, Pierre, Thomas

www.archlinux.org

  • Maintainer: Dan

mailman.archlinux.org

  • Maintainer: ?

bugs.archlinux.org

projects.archlinux.org

  • Maintainer: Ronald

planet.archlinux.org

  • Maintainer: Andrea

repos.archlinux.org

Emergency evacuation plan

  1. Don't Panic!
  2. Look for some cute cat at lolcats and place it on a maintenance page
  3. Blame Allan