User Tools

Site Tools


balug:webmaster

This is an old revision of the document!


Bay Area Linux Users Group (BALUG) webmaster

webmaster care and feeding - editing of BALUG web pages - production and non-production, etc.

the short version :-)

One will want to also carefully read the information/documentation further below, but
high-level reminder/synopsis points:

  • production:
    • access (e.g. via sudo - shouldn't log into it directly) id balugwm1 on webmaster.balug.org (e.g.:
      $ ssh -atx -l your_login webmaster.balug.org. 'umask 077 && cd / && exec sudo su - balugwm1'
      )
    • key production areas:
      • /var/www/www.balug.org/ (main production area, see also production synchronization further below, serves at least:
      • /var/www/www.archive.balug.org/ (archival/historical content - generally also "too big" (at least in total) to replicate across all www.balug.org server(s))
      • /var/www/www.new.balug.org/ (production staging/preview area - does not automagically replicate to production, but very handy for previewing content (e.g. at http://www.new.balug.org/) before promoting to production
    • production synchronization (rsync)
      • content from /var/www/www.balug.org/ may or may not be automagically replicated to http://www.balug.org/ server(s)!
      • to update/refresh http://www.balug.org/ content from /var/www/www.balug.org/:
        • as user id balugwm1 on webmaster.balug.org, run the command:
          $ www.balug.org_rsync
        • note that:
          • the command referenced above may, or may not, be scheduled to automagically run periodically via crontab (see balugwm1's crontab)
          • content placed in /var/www/www.balug.org/ may or may not be visible or immediately visible at http://www.balug.org/, but is not guaranteed to be visible at http://www.balug.org/ until the noted www.balug.org_rsync command has been successful executed.
          • contents under /var/www/www.balug.org/ must be readable by id balugxfr (e.g. world readable) to successfully replicate and be visible across http://www.balug.org/ site(s).
  • non-production:
    • rather analogous to production, id balugwm2 has rather to quite full access to certain non-production web areas on webmaster.balug.org. Note also that group balugwm2 may also share much of that access, and other id(s) may also have some or much access to certain non-production areas.
    • access (e.g. via sudo - shouldn't log into it directly) id balugwm2 on webmaster.balug.org (e.g.:
      $ ssh -atx -l your_login webmaster.balug.org. 'umask 077 && cd / && exec sudo su - balugwm2'
      )
    • key non-production areas:

CAUTION - THIS IS A WORK-IN-PROGRESS EDIT - MUCH MORE INFORMATION STILL NEEDS TO BE ADDED TO THE ABOVE AND BELOW


production (www.balug.org, etc.)

The normal way production is edited/updated, one should
have sudo access to the id balugwm1 (access to the group balugwm1 likely also provides much, but probably not all of the needed access)
on host balug-sf-lug-v2.balug.org (a.k.a. webmaster.balug.org, a.k.a. new.balug.org).
On that host, the various Name-based Virtual Host DocumentRoots
are located at/under:
/var/www/
most notably:
/var/www/www.balug.org/ contains master production for http://www.balug.org/
Note that for various reasons (mostly historical and attempts to preserve/retrieve various historical content),
balugwm1 doesn't have absolute full reign over all content under
/var/www/www.balug.org/
but does have full reign over most content in/under that location.

balug/webmaster.1266993066.txt.bz2 · Last modified: 2010-02-24T06:31:06+0000 by michael_paoli