/[cvs]/joko/doc/SampleTasks/joko_2003-03.twingle
ViewVC logotype

Diff of /joko/doc/SampleTasks/joko_2003-03.twingle

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.36 by joko, Tue Mar 11 02:55:54 2003 UTC revision 1.69 by joko, Wed Mar 12 21:26:07 2003 UTC
# Line 12  Line 12 
12  @cvs-info  @cvs-info
13    $Id$    $Id$
14    $Log$    $Log$
15      Revision 1.69  2003/03/12 21:26:07  joko
16      + AUTOCOMMIT: updated/added content
17    
18      Revision 1.68  2003/03/12 20:55:52  joko
19      + AUTOCOMMIT: updated/added content
20    
21      Revision 1.67  2003/03/12 20:25:52  joko
22      + AUTOCOMMIT: updated/added content
23    
24      Revision 1.66  2003/03/12 19:56:04  joko
25      + AUTOCOMMIT: updated/added content
26    
27      Revision 1.65  2003/03/12 19:25:53  joko
28      + AUTOCOMMIT: updated/added content
29    
30      Revision 1.64  2003/03/12 18:56:14  joko
31      + AUTOCOMMIT: updated/added content
32    
33      Revision 1.63  2003/03/12 18:25:53  joko
34      + AUTOCOMMIT: updated/added content
35    
36      Revision 1.62  2003/03/12 17:55:49  joko
37      + AUTOCOMMIT: updated/added content
38    
39      Revision 1.61  2003/03/12 17:25:49  joko
40      + AUTOCOMMIT: updated/added content
41    
42      Revision 1.60  2003/03/12 15:55:57  joko
43      + AUTOCOMMIT: updated/added content
44    
45      Revision 1.59  2003/03/12 05:56:09  joko
46      + AUTOCOMMIT: updated/added content
47    
48      Revision 1.58  2003/03/12 05:26:22  joko
49      + AUTOCOMMIT: updated/added content
50    
51      Revision 1.57  2003/03/12 04:55:52  joko
52      + AUTOCOMMIT: updated/added content
53    
54      Revision 1.56  2003/03/12 04:26:09  joko
55      + AUTOCOMMIT: updated/added content
56    
57      Revision 1.55  2003/03/12 02:55:54  joko
58      + AUTOCOMMIT: updated/added content
59    
60      Revision 1.54  2003/03/12 01:55:58  joko
61      + AUTOCOMMIT: updated/added content
62    
63      Revision 1.53  2003/03/12 01:25:57  joko
64      + AUTOCOMMIT: updated/added content
65    
66      Revision 1.52  2003/03/11 23:55:58  joko
67      + AUTOCOMMIT: updated/added content
68    
69      Revision 1.51  2003/03/11 23:25:49  joko
70      + AUTOCOMMIT: updated/added content
71    
72      Revision 1.50  2003/03/11 22:56:12  joko
73      + AUTOCOMMIT: updated/added content
74    
75      Revision 1.48  2003/03/11 22:03:23  joko
76      + AUTOCOMMIT: updated/added content
77    
78      Revision 1.47  2003/03/11 21:05:22  joko
79      + AUTOCOMMIT: updated/added content
80    
81      Revision 1.45  2003/03/11 18:55:52  joko
82      + AUTOCOMMIT: updated/added content
83    
84      Revision 1.43  2003/03/11 17:56:02  joko
85      + AUTOCOMMIT: updated/added content
86    
87      Revision 1.42  2003/03/11 15:26:01  joko
88      + AUTOCOMMIT: updated/added content
89    
90      Revision 1.41  2003/03/11 14:56:02  joko
91      + AUTOCOMMIT: updated/added content
92    
93      Revision 1.40  2003/03/11 06:25:59  joko
94      + AUTOCOMMIT: updated/added content
95    
96      Revision 1.39  2003/03/11 05:56:44  joko
97      + AUTOCOMMIT: updated/added content
98    
99      Revision 1.38  2003/03/11 05:26:23  joko
100      + AUTOCOMMIT: updated/added content
101    
102      Revision 1.37  2003/03/11 04:25:58  joko
103      + AUTOCOMMIT: updated/added content
104    
105    Revision 1.36  2003/03/11 02:55:54  joko    Revision 1.36  2003/03/11 02:55:54  joko
106    + AUTOCOMMIT: updated/added content    + AUTOCOMMIT: updated/added content
107    
# Line 457  o Twingle! Line 547  o Twingle!
547    o twingle -> dispatchmail (Twingle::Mail)    o twingle -> dispatchmail (Twingle::Mail)
548    o twingle -> twingledoc (Twingle::Doc)    o twingle -> twingledoc (Twingle::Doc)
549    
550  o refactor to "twingled/":  o update www.netfrag.org
551    o http://netfrag.org/~joko/computing/overview/topics/topics/    o refactor to "twingled/":
552    o http://netfrag.org/~joko/computing/overview/topics/SampleTasks/      o http://netfrag.org/~joko/computing/overview/topics/topics/
553  o update http://netfrag.org/~joko/computing/overview/topics/topics.html      o http://netfrag.org/~joko/computing/overview/topics/SampleTasks/
554      o update http://netfrag.org/~joko/computing/overview/topics/topics.html
555    
556  x re-enable Yakka  x re-enable Yakka
557    
# Line 619  x setup org.droogs--Autodia: location ht Line 710  x setup org.droogs--Autodia: location ht
710            
711  o quick (javascript) search for netfrag.org and packages.debian.org (xul?)  o quick (javascript) search for netfrag.org and packages.debian.org (xul?)
712    
713  o phpDirectoryIndex: include Joshua Eichhorns 'auth' [[http://cvs.joshuaeichorn.com/cvsweb.cgi/auth/]]  o phpDirectoryIndex:
714      o integrate Joshua Eichhorns 'auth' [[http://cvs.joshuaeichorn.com/cvsweb.cgi/auth/]]
715      o hide more entries: e.g. 'CVS' (declare as "cvs-repository-metadata" - "hidden by default")
716    
717  @lookat http://cvs.joshuaeichorn.com/cvsweb.cgi/phpXmlTransform/  @lookat http://cvs.joshuaeichorn.com/cvsweb.cgi/phpXmlTransform/
718    
# Line 683  o clean up disks!!! Line 776  o clean up disks!!!
776    o h1.service.netfrag.org    o h1.service.netfrag.org
777    o quepasa.netfrag.org    o quepasa.netfrag.org
778    
779    o natraj/sorceress: server-consolidation?
780    
781    o monitor regularly: http://netfrag.org/docs/code/api/org.netfrag/errors.html
782    
783    o DataSource::Generic <-> ObjectList!!!
784    
785    o Yakka: (javascript-control):
786      o let CTRL + ENTER make a new para
787      o let CTRL + CTRL (double-hit) make a new page from WikiWord left of the cursor (splash into a new DHTML page!)
788    
789    x root@quepasa:/data# apt-get install pdumpfs
790    
791    o final solution for the libxml-problem?
792      root@quepasa:/home/service/backup# apt-get --fix-broken --show-upgraded --simulate dist-upgrade
793        Reading Package Lists... Done
794        Building Dependency Tree... Done
795        Correcting dependencies... Done
796        Calculating Upgrade... Done
797        The following packages will be REMOVED:
798          libxslt1 php4-domxml
799        0 packages upgraded, 0 newly installed, 2 to remove and 0  not upgraded.
800        Remv libxslt1 (1.0.27-1 ) [php4-domxml ]
801        Remv php4-domxml (4:4.2.3-11 )
802      root@quepasa:/tmp# apt-get install pdumpfs
803        Reading Package Lists... Done
804        Building Dependency Tree... Done
805        You might want to run `apt-get -f install' to correct these:
806        Sorry, but the following packages have unmet dependencies:
807          libxslt1: Depends: libxml2 (>= 2.5.0-1) but 2.4.19-4 is to be installed
808          php4-domxml: Depends: libxml2 (>= 2.5.0-1) but 2.4.19-4 is to be installed
809        E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
810      x dpkg --force-depends -r libxml2
811      o dpkg-liftpackage libxml2_2.4.19-4_i386.deb 2.5.0-1
812        x dpkg-deb -x libxml2_2.4.19-4_i386.deb fakepkg
813        x dpkg-deb -e libxml2_2.4.19-4_i386.deb
814        x mv DEBIAN fakepkg/
815        x dpkg-deb --build fakepkg libxml2_2.4.19-4_i386_fake_2.5.0-1.deb
816        x dpkg -i libxml2_2.4.19-4_i386_fake_2.5.0-1.deb
817    
818    o update www.netfrag.org
819    o announce on www.netfrag.org
820      o api-doc
821      o packages.netfrag.org (libxml2!)
822      o autogenerate:
823        o api-doc & diags
824        o twingle
825    
826    o ->search.netfrag.org/ruby
827    
828    o install and use 'monit' to monitor uml's!
829    
830    o refactor Yakka::YakkaSetup
831    
832    o quepasa - Error: AMaViS
833    
834       <screen>
835        Starting AMaViS Daemons: amavis-milter amavisd
836        Can't locate Razor/Client.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.0 /usr/share/perl/5.8.0 /usr/local/lib/site_perl) at /usr/sbin/amavisd line 54.
837        BEGIN failed--compilation aborted at /usr/sbin/amavisd line 54.
838       </screen>
839    
840      - probably because of perl-5.8.0?
841    
842      x apt-get install razor   #)§$&(
843      solution:
844        x dpkg --force-depends -r razor
845        x wget http://ftp.de.debian.org/debian/pool/main/r/razor/razor_1.20-1_all.deb
846        x dpkg -i razor_1.20-1_all.deb
847         => depends on 'libtime-hires-perl', so:
848          x wget http://ftp.de.debian.org/debian/pool/main/libt/libtime-hires-perl/libtime-hires-perl_1.20-4_i386.deb
849          x dpkg -i libtime-hires-perl_1.20-4_i386.deb
850            dpkg: dependency problems prevent configuration of libtime-hires-perl:
851             libtime-hires-perl depends on perlapi-5.6.0; however:
852              Package perlapi-5.6.0 is not installed.
853              ;-( /)(%(/$%%&$
854        => removing dependencies about everything from razor1-package
855          x dpkg -x razor_1.20-1_all.deb razor
856          x dpkg -r razor_1.20-1_all.deb
857          x mv DEBIAN/ razor/
858          x do: remove line 'Depends:' from DEBIAN/control
859          [x chmod -R 0755 razor/DEBIAN/] maybe!  (if: dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and <=0775))
860          x dpkg -b razor razor_1.20-1_all_nodeps.deb
861          x cp razor_1.20-1_all_nodeps.deb /data/Packages/dists/stable/contrib/binary-i386/
862        =>
863          x dpkg -i /data/Packages/dists/stable/contrib/binary-i386/razor_1.20-1_all_nodeps.deb
864        => [test]
865          x /etc/init.d/amavis-milter start
866           <screen>
867            Can't load '/usr/lib/perl5/auto/Time/HiRes/HiRes.so' for module Time::HiRes: /usr/lib/perl5/auto/Time/HiRes/HiRes.so: undefined symbol: PL_stack_max at /usr/lib/perl/5.8.0/DynaLoader.pm line 225.
868             at /usr/sbin/amavisd line 46
869            Compilation failed in require at /usr/sbin/amavisd line 46.
870            BEGIN failed--compilation aborted at /usr/sbin/amavisd line 46.      
871           </screen>
872        => [CPAN-install]
873          x perl -MCPAN -e "install Time::HiRes"
874           <screen>
875              [...]
876              compile -- compile -- compile
877              [...]
878              Running make install
879              Installing /usr/lib/perl/5.8.0/auto/Time/HiRes/HiRes.so
880              Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
881              Installing /usr/lib/perl/5.8.0/Time/HiRes.pm
882              Installing /usr/share/man/man3/Time::HiRes.3pm
883              Writing /usr/lib/perl/5.8.0/auto/Time/HiRes/.packlist
884              Appending installation info to /usr/lib/perl/5.8.0/perllocal.pod
885                /usr/bin/make install  -- OK
886           </screen>
887    
888      x probably because of perl-5.8.0? yes!  --  is it fixed now? let's try...  (again)
889          x /etc/init.d/amavis-milter restart
890            no! same error as above!
891          the problem is:
892          watch the output of 'perl -V' - at the bottom:
893          <screen>
894            Characteristics of this binary (from libperl):
895              Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
896              Built under linux
897              Compiled at Feb 17 2003 12:38:57
898              @INC:
899                /etc/perl
900                /usr/local/lib/perl/5.8.0
901                /usr/local/share/perl/5.8.0
902                /usr/lib/perl5
903                /usr/share/perl5
904                /usr/lib/perl/5.8.0
905                /usr/share/perl/5.8.0
906                /usr/local/lib/site_perl
907                .
908          </screen>
909    
910          The bad one is the "old" shared object coming with Time::HiRes for perl-5.6.1 living at
911          /usr/lib/perl5/auto/Time/HiRes/HiRes.so.
912          
913          We have these options:
914            1. delete this stuff
915            2. put a better version at '.'
916            3. place line '/usr/lib/perl/5.8.0' above of '/usr/lib/perl5'
917            4. copy stuff from '/usr/lib/perl/5.8.0' to '/usr/lib/perl5'
918          
919          Hmmm.....
920            I think i'll choose option 1.:
921            x rm -rf /usr/lib/perl5/auto/Time/HiRes
922            (or if you don't wanna be as brute-force)
923            x cd /usr/lib/perl5/auto/Time
924            x mv HiRes HiRes.old
925            
926        => let's try again:      
927          x /etc/init.d/amavis-milter restart
928            Time::HiRes object version 1.42 does not match bootstrap parameter 01.20 at /usr/lib/perl/5.8.0/DynaLoader.pm line 245.
929    
930        => ahhh...  (also testable via 'perl -MTime::HiRes')
931          x dpkg --force-depends -r libtime-hires-perl
932          => my fault! ;-)
933    
934      => so, everything works fine now....
935          x /etc/init.d/amavis-milter restart
936        
937    o BER.pm:  BER (Basic Encoding Rules) encoding and decoding.
938    
939    o use a common [[http://razor.sourceforge.net/artistic.html|"Artistic License"]]?
940    
941    o use pdumpfs!
942    
943    o what we build seems similar to Torque <-> Maven  (Tangram|XyZ+Data::Storage <-> nfo-libs|rap)
944    
945    o write meta-documentation about why it's required to lift version-numbers of debian-packages
946      -> Why dpkg-liftversion?
947      1. yakka: libxml2!!!
948      2. amavis-milter: razor-1-branch-required
949    
950    o installing pdumpfs as system-wide backup-system:
951      x mkdir -p /home/service/virtual/pdumpfs/var/data
952      x mkdir -p /home/service/virtual/pdumpfs/var/log
953      x cd /usr/local/bin
954      x ln -s /home/service/virtual/pdumpfs/backup .
955    
956    o feature: BrowsableBackup:
957      o missing: authentication via LDAP....
958    
959    o make up toolpack from shortcuts/*, dispatchmail, backup (->pdumpfs), etc...
960      ->packages.service.netfrag.org
961      -->/usr/local/bin
962      
963    o one account - three services:
964      o wiki
965      o news
966      o backup
967      (o ssh) (not-a-must)
968    
969    o dpkg-modcontrol!!!
970    
971    o robinson - purge package dependencies from .deb- or .rpm-packages
972      can alien do that?
973    
974    o rsync working: view from the server-side:
975     3968 ?        R      0:40 rsync --server --sender -vulogDtprz . /home/service/backup/
976    
977    x finally: we have a backup-system!
978      - built on top of pdumpfs (ruby!), gets triggered by cron through shortcut-script 'backup'
979      - backs up:
980        x /home/*   (except /home/service)
981        x /data/bin  (approx. 9.2M)
982        x /data/libs  (approx. 1.7M)
983        x /data/opt  (approx. 27M)
984        o /data/var  (approx. 104M)
985          o mysql-db
986          o news-spool
987        o /data/www  (approx. 126M)
988          x /data/www/virtual/lashlarue  (approx. 28M)
989          x /data/www/virtual/netfrag  (approx. 68M)
990          x /data/www/virtual/wac  (approx. 4M)
991      o productive backup should go to /var/pdumpfs (similar to /var/backup) instead of /home/service/virtual/pdumpfs!!!
992      o prevent recursive backups (what happens if the backup directory itself would be specified to backup???)
993      => #> crontab -e
994            adding line: 03 03 * * * bash /home/service/virtual/agent/backup_all
995      o limit size of files that are backuped without user-request!?! (2MB, 10MB, 100MB, 1G)
996    
997    o establish logfile-rotation with logrotate!!!
998      #> cd /data/www/virtual/lashlarue/log
999      #> gzip access_log
1000      #> gzip error_log
1001    
1002    o more todos:
1003      x clean more diskspace
1004        - How to find files larger than, hmm, let's say: 512MB?
1005          use 'dus'! [Disk Usage Sorter]
1006          http://marginalhacks.com/bin/dus
1007        - now disk-usage-stats are prepared to be generated at service.netfrag.org (dus/fbf)
1008    
1009        - h1.service.netfrag.org
1010          /dev/hda7             38570848  33162404   5408444  86% /
1011    
1012    
1013        o /home/uml/skels aufräumen!
1014      o draw more diagrams
1015      o let 'monit' monitor our umls
1016        - together with heartbeat!
1017      o make more backups
1018        databases: code (repository) and rdbms-sql (mysql)
1019    
1020    o look in /var/log/syslog after crash! (other logfiles?)
1021    
1022    o h1.service.netfrag.org:
1023      rjoko@h1:/home/uml/helo # monit
1024      monit: error while loading shared libraries: libssl.so.2: cannot open shared object file: No such file or directory
1025      rjoko@h1:/home/uml/helo # deleeeeete backup!!! is it reeaaady?
1026    
1027    x h1.service.netfrag.org - ssh-upgrade [security] (2.9p2 -> 2.9.9p2)
1028      rjoko@h1:~ # ssh -V
1029      OpenSSH_2.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f  
1030      rjoko@h1:~ # rpm -U ftp://ftp.suse.com/pub/suse/i386/update/7.3/sec1/openssh.rpm
1031      rjoko@h1:~ # ssh -V
1032      OpenSSH_2.9.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
1033    
1034    o what about legolas?
1035    
1036    o search-shortcut to rpmfind.net
1037    
1038    o request to hetzner:
1039      please delete handle "CNO: MM458-ABC"...
1040    
1041    o update www.netfrag.org
1042      o prevent errors like seen on http://netfrag.org/cgi-bin/viewcvs.cgi/joko/virtual/joko_mail/
1043    
1044    o update www.netfrag.org
1045      x HomePage (phpWiki::Index): remove yakka's "to be repaired" - line
1046      o Overview: add link to DocumentIndex at section 'Documentation'
1047      x update links (jonen's docs/software, etc.)
1048      o rename http://netfrag.org/docs/build/ to http://netfrag.org/docs/.build/ or http://netfrag.org/docs/@build/
1049      o rename http://netfrag.org/docs/topics/caesar/ to http://netfrag.org/docs/topics/sysadmin/ ???
1050      x add new items to sections
1051      x update/enhance news-section (Overview, Details)
1052    
1053    o run broken-link-finder on www.netfrag.org
1054      -> find nice project!
1055    
1056    o infra for www.netfrag.org
1057      o make this shortcut possible: http://netfrag.org/Overview
1058    
1059    o account for jonen@www.netfrag.org--phpWiki::*
1060    
1061    o twingle:
1062      render 'o' and/or 'x' symbols as checkboxes other users can use to enable/prioritize tasks
1063    
1064    o backup eagle.netfrag.org!!!
1065    
1066    o enhance backup-system
1067      LookAt::http://www.netfrag.org/webnews/article.php?id=320&group=nfo.links.computing
1068    
1069    o LookAt = MIME-compliant multi-glass
1070    
1071    o at note/attachment to documents shown via browser to inform user about backups made
1072      (link to backup-locations/-urls)
1073    
1074    o search::admintools before actually starting a ToolHierarchy|ToolTree
1075    
1076    o http://www.netfrag.org/~joko/computing/overview/topics/SampleTasks/joko_2003-01.html
1077      Torus::Publish::ReWeb <-> Torus::Publish::ResearchWeb ???
1078    
1079    o search::IMAPFilter
1080    
1081    o QoS for apt-get!!!  (http or ftp to x.debian.org or uni-erlangen.de (parse /etc/apt/sources.list!!!))
1082    
1083    x jonen makes the words: integraded! yeah!
1084    
1085    o Develop a metadata-model (preferably stored inside an LDAP-daemon),
1086      which can hold information about Host <-> vHost <-> Service(s).
1087      This would enhance the Host <-> [posix]Account model currently in development.
1088      o Also associate the [posix]Accounts with an AddressBook! (AddressBook <-> ProprietaryAddressBook)
1089      o Also associate MailRouting with that [posix]Accounts
1090      => this has to be implemented:
1091        0. already in development: Host <-> posixAccount, Host <-> MailRouting
1092        1. tbd: Host <-> vHost <-> Service(s)
1093        2. tbd: posixAccount <-> AddressBook
1094        3. tbd: posixAccount <-> MailRouting
1095    
1096    o use [rss2email|http://www.w3.org/2002/09/rss2email/]
1097      -> that's it: news//rss -> rss2email
1098      -> choose a web-based rss-reader from http://blogspace.com/rss/readers
1099      o LookAt::[ModIndexRSS|http://software.tangent.org/projects.pl?view=mod_index_rss]
1100        also look at "mod_repository for Apache" there!!!
1101    
1102    o close down almost everything on h1.service.netfrag.org
1103      o ntop
1104      o apache
1105      o mysql
1106      o vsd
1107      o write (success-)story!!!
1108    
1109    o note about workflow: what about old root-emails on the main-host?
1110      x purged old mboxes
1111        -> just purge them? (admin-action: approve purge!)
1112        #> cd /var/spool/mail
1113        #> >root      (updated recently)
1114        #> >service      (updated recently)
1115        #> rm netsaint      (last entry: Date/Time: Thu Jan 23 14:32:48 CET 2003)
1116      o How to check if a mbox contains mud-only? try 'formail'!
1117        #> formail
1118    
1119    o convert diffs of this file to rss-chunks to be able to feed them to a RecentChanged Page or arbitrary rss-aggregators
1120    
1121    o make up an "edit"-mode of this document:
1122      o WorkFlow: "Make a personal WishList from items of another users TaskList."
1123      o ToImplement: KISS, Click & Go
1124    
1125    o x.netfrag.org - a server made up of WebServices
1126    
1127    x glossary::KISS - Keep It Simple, Stupid
1128      LookAt::http://whatis.techtarget.com/definition/0,,sid9_gci521694,00.html
1129      <paste>
1130        <title>KISS Principle</title>
1131        The KISS (Keep It Simple, Stupid) Principle is self-descriptive and recognizes two things:
1132        1. People (including product and service users) generally want things that are simple,
1133            meaning easy to learn and use.
1134        2. A company that makes products or furnishes services may find simplicity an advantage
1135            for the company as well, since it tends to shorten time and reduce cost.
1136            (Where the company is trying to use the principle on behalf of users, however,
1137            design time may take longer and cost more, but the net effect will be beneficial since
1138            easy-to-learn-and-use products and services tend to be cheaper to produce and service in the long run.)
1139        The New Hacker's Dictionary, edited by Eric Raymond, says the the KISS Principle
1140        is sometimes cited on a development project to fend off "creeping featurism."
1141      </paste>
1142      SeeAlso::[Ockham's razor|http://whatis.techtarget.com/definition/0,,sid9_gci212684,00.html]
1143    

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.69

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed