Next revision | Previous revision |
balug:webmaster [2010-02-23T10:14:32+0000] – created (a work-in-progress - still lots more important stuff to add - but at least this starts to give a taste of the procedures and information) michael_paoli | balug:webmaster [2010-04-01T13:49:08+0000] (current) – slightly tweak/clarify a description michael_paoli |
---|
===== Bay Area Linux Users Group (BALUG) webmaster ===== | ===== Bay Area Linux Users Group (BALUG) webmaster ===== |
| |
==== webmaster care and feeding - editing of BALUG web pages - production and non-production, etc. ==== | ==== webmaster care and feeding - editing of BALUG web pages - production and non-production, etc. ==== |
| |
One //will// want to also //carefully read the information/documentation further below//, but\\ | One //will// want to also //carefully read the information/documentation further below//, but\\ |
high-level reminder/synopsis points: | high-level reminder/synopsis points: |
*production: | ***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'%%\\ ) | *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: | *key production areas: |
*/var/www/**www**.balug.org/ (**main production** area) | */var/www/**www**.balug.org/ (**main production** area, see also **production synchronization** further below, //serves at least//: |
| *[[http://www.balug.org/]] |
| *[[https://secure.balug.org/]] ([[http://secure.balug.org/]] "forces" (HTTP 301 redirects) to https)\\ ) |
*/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.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//** 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 | */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 |
*/var/www/**secure**.balug.org/ production - **https** "only" (forced to https) access - **should** be maintained to, for the most part, **have same content** as /var/www/**www**.balug.org/ | |
***production synchronization** (rsync) | ***production synchronization** (rsync) |
***content** from /var/www/**www**.balug.org/ **may or may not** be automagically replicated to http://www.balug.org/ server(s)! | ***content** from /var/www/**www**.balug.org/ **may or may not** be automagically replicated to http://www.balug.org/ server(s)! |
*note that: | *note that: |
*the command referenced above may, or may not, be scheduled to automagically run periodically via crontab (see balugwm1's crontab) | *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**. | ***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 accross all 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)**. | ***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 most or all //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: |
| */var/www/**www.beta**.balug.org/ - beta test area [[http://www.beta.balug.org/]] |
| */var/www/**www.test**.balug.org/ - (alpha / proof-of-concept) test area [[http://www.test.balug.org/]] |
| */var/www/**%%www.php.test%%**.balug.org/ PHP test area [[http://www.php.test.balug.org/]] |
| |
---- | ---- |
| |
===== CAUTION - THIS IS A WORK-IN-PROGRESS EDIT - MUCH MORE INFORMATION STILL NEEDS TO BE ADDED TO THE ABOVE AND BELOW ===== | ===== CAUTION - THIS IS A WORK-IN-PROGRESS EDIT - MUCH MORE INFORMATION STILL NEEDS TO BE ADDED TO THE ABOVE AND BELOW ===== |
---- | ---- |