--- joko/doc/SampleTasks/joko_2003-03.twingle 2003/03/11 19:56:13 1.46 +++ joko/doc/SampleTasks/joko_2003-03.twingle 2003/03/12 17:25:49 1.61 @@ -10,9 +10,48 @@ @sequence meta @document-history @cvs-info - $Id: joko_2003-03.twingle,v 1.46 2003/03/11 19:56:13 joko Exp $ + $Id: joko_2003-03.twingle,v 1.61 2003/03/12 17:25:49 joko Exp $ $Log: joko_2003-03.twingle,v $ - Revision 1.46 2003/03/11 19:56:13 joko + Revision 1.61 2003/03/12 17:25:49 joko + + AUTOCOMMIT: updated/added content + + Revision 1.60 2003/03/12 15:55:57 joko + + AUTOCOMMIT: updated/added content + + Revision 1.59 2003/03/12 05:56:09 joko + + AUTOCOMMIT: updated/added content + + Revision 1.58 2003/03/12 05:26:22 joko + + AUTOCOMMIT: updated/added content + + Revision 1.57 2003/03/12 04:55:52 joko + + AUTOCOMMIT: updated/added content + + Revision 1.56 2003/03/12 04:26:09 joko + + AUTOCOMMIT: updated/added content + + Revision 1.55 2003/03/12 02:55:54 joko + + AUTOCOMMIT: updated/added content + + Revision 1.54 2003/03/12 01:55:58 joko + + AUTOCOMMIT: updated/added content + + Revision 1.53 2003/03/12 01:25:57 joko + + AUTOCOMMIT: updated/added content + + Revision 1.52 2003/03/11 23:55:58 joko + + AUTOCOMMIT: updated/added content + + Revision 1.51 2003/03/11 23:25:49 joko + + AUTOCOMMIT: updated/added content + + Revision 1.50 2003/03/11 22:56:12 joko + + AUTOCOMMIT: updated/added content + + Revision 1.48 2003/03/11 22:03:23 joko + + AUTOCOMMIT: updated/added content + + Revision 1.47 2003/03/11 21:05:22 joko + AUTOCOMMIT: updated/added content Revision 1.45 2003/03/11 18:55:52 joko @@ -646,7 +685,9 @@ o quick (javascript) search for netfrag.org and packages.debian.org (xul?) -o phpDirectoryIndex: include Joshua Eichhorns 'auth' [[http://cvs.joshuaeichorn.com/cvsweb.cgi/auth/]] +o phpDirectoryIndex: + o integrate Joshua Eichhorns 'auth' [[http://cvs.joshuaeichorn.com/cvsweb.cgi/auth/]] + o hide more entries: e.g. 'CVS' (declare as "cvs-repository-metadata" - "hidden by default") @lookat http://cvs.joshuaeichorn.com/cvsweb.cgi/phpXmlTransform/ @@ -865,6 +906,7 @@ => my fault! ;-) => so, everything works fine now.... + x /etc/init.d/amavis-milter restart o BER.pm: BER (Basic Encoding Rules) encoding and decoding. @@ -874,3 +916,105 @@ o what we build seems similar to Torque <-> Maven (Tangram|XyZ+Data::Storage <-> nfo-libs|rap) +o write meta-documentation about why it's required to lift version-numbers of debian-packages + -> Why dpkg-liftversion? + 1. yakka: libxml2!!! + 2. amavis-milter: razor-1-branch-required + +o installing pdumpfs as system-wide backup-system: + x mkdir -p /home/service/virtual/pdumpfs/var/data + x mkdir -p /home/service/virtual/pdumpfs/var/log + x cd /usr/local/bin + x ln -s /home/service/virtual/pdumpfs/backup . + +o feature: BrowsableBackup: + o missing: authentication via LDAP.... + +o make up toolpack from shortcuts/*, dispatchmail, backup (->pdumpfs), etc... + ->packages.service.netfrag.org + -->/usr/local/bin + +o one account - three services: + o wiki + o news + o backup + (o ssh) (not-a-must) + +o dpkg-modcontrol!!! + +o robinson - purge package dependencies from .deb- or .rpm-packages + can alien do that? + +o rsync working: view from the server-side: + 3968 ? R 0:40 rsync --server --sender -vulogDtprz . /home/service/backup/ + +x finally: we have a backup-system! + - built on top of pdumpfs (ruby!), gets triggered by cron through shortcut-script 'backup' + - backs up: + x /home/* (except /home/service) + x /data/bin (approx. 9.2M) + x /data/libs (approx. 1.7M) + x /data/opt (approx. 27M) + o /data/var (approx. 104M) + o mysql-db + o news-spool + o /data/www (approx. 126M) + x /data/www/virtual/lashlarue (approx. 28M) + x /data/www/virtual/netfrag (approx. 68M) + x /data/www/virtual/wac (approx. 4M) + o productive backup should go to /var/pdumpfs (similar to /var/backup) instead of /home/service/virtual/pdumpfs!!! + o prevent recursive backups (what happens if the backup directory itself would be specified to backup???) + => #> crontab -e + adding line: 03 03 * * * bash /home/service/virtual/agent/backup_all + o limit size of files that are backuped without user-request!?! (2MB, 10MB, 100MB, 1G) + +o establish logfile-rotation with logrotate!!! + #> cd /data/www/virtual/lashlarue/log + #> gzip access_log + #> gzip error_log + +o more todos: + x clean more diskspace + - How to find files larger than, hmm, let's say: 512MB? + use 'dus'! [Disk Usage Sorter] + http://marginalhacks.com/bin/dus + - now disk-usage-stats are prepared to be generated at service.netfrag.org (dus/fbf) + + - h1.service.netfrag.org + /dev/hda7 38570848 33162404 5408444 86% / + + + o /home/uml/skels aufräumen! + o draw more diagrams + o let 'monit' monitor our umls + - together with heartbeat! + o make more backups + databases: code (repository) and rdbms-sql (mysql) + +o look in /var/log/syslog after crash! (other logfiles?) + +o h1.service.netfrag.org: + rjoko@h1:/home/uml/helo # monit + monit: error while loading shared libraries: libssl.so.2: cannot open shared object file: No such file or directory + rjoko@h1:/home/uml/helo # deleeeeete backup!!! is it reeaaady? + +x h1.service.netfrag.org - ssh-upgrade [security] + + rjoko@h1:~ # ssh -V + OpenSSH_2.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f + + #> cd /home/public/archive/security + fetch recent versions from (e.g.) ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/rpm/RH73/ + + rjoko@h1:~ # ssh -V + OpenSSH_2.9.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f + +o what about legolas? + +o search-shortcut to rpmfind.net + +o request to hetzner: + please delete handle "CNO: MM458-ABC"... + +o prevent errors like seen on http://netfrag.org/cgi-bin/viewcvs.cgi/joko/virtual/joko_mail/ +