Next: Scripts, Up: Conceptual model [Contents][Index]
The TOOLS activity gather external GNU system tools MEDIATEX is using. This activity is divided into 6 process:
• Syslog: | Syslog | |
• Apache: | Apache | |
• Exim: | Sendmail | |
• Ssh: | Ssh | |
• Git: | Git | |
• Cron: | Cron |
Flood diagram:
log_message()
from CLIENT (see Client), SERVER (see Server) and SCRIPTS (see Scripts) to Syslog (see Syslog): log MEDIATEX operations.
<http-get-query>
<http-post-query>
<http-get-file>
from USER (see Who) to Apache (see Apache): USER’s queries generated by its internet browser.
# /etc/init.d/apache2 reload
# /etc/init.d/apache2 restart
from init-remove-purge (see init-remove-purge) to Apache (see Apache): re-configure APACHE.
$ mail
from deliver (see deliver), audit (see audit) or Cron (see Cron) to Sendmail (see Exim): mail notifications.
$ scp
from misc (see misc) to Ssh (see Ssh): copy file from one remote server’s cache.
$ git init --bare
$ git config
from init-remove-purge (see init-remove-purge) or new-free-clean (see new-free-clean) to Git (see Git): initialise a GIT repository.
$ git clone
from new-free-clean (see new-free-clean) to Git (see Git): checkout a GIT collection module.
$ git config
$ git commit
$ git pull
$ git push
from upgrade-commit-pull-push (see upgrade-commit-pull-push) to Git (see Git): synchronise a GIT module.
(date)
see How
<cgiClt-get-query>
<cgiClt-post-query>
from Apache (see Apache) to cgiClient (see cgiClient): forward the USER’s HTTP query.
<html-form>
(if archive is not available) ...
<html-redirect>
(if archive is available)
from Apache (see Apache) to USER
(mail to USER)
from Sendmail (see Exim) to USER: archive availability notification.
(mail to PUBLISHER)
from Sendmail (see Exim) to PUBLISHER: audit availability notification.
(mail to ADMIN)
from Sendmail (see Exim) to ADMIN: scheduled task error notification.
# bash -i /usr/share/mediatex/scripts/cron_hourly.sh
# bash -i /usr/share/mediatex/scripts/cron_daily.sh
# bash -i /usr/share/mediatex/scripts/cron_monthly.sh
from Cron (see Cron) to conrHourly-cronDaily (see cronHourly-cronDaily): scheduled tasks.
$ mediatex upload[+] [file file [as target]]* [catalog file] [rules file] to coll coll
from Syslog (see Syslog) to uploadClient (see uploadClient): upload collection’s APACHE access logs to the cache so as to backup them.
Next: Scripts, Up: Conceptual model [Contents][Index]